/* ==========================================================================
   KIRMIZI RESTORASYON MİMARLIK - ULTRA-OPTIMIZED RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cormorant+Garamond:ital,wght@0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Rich Harmonious Color Tokens */
  --primary-red: #940700;
  --primary-crimson: #B81D13;
  --primary-dark-red: #5C0400;
  
  --gold-primary: #C5A059;
  --gold-light: #F5D796;
  --gold-dark: #8C6A21;
  
  --gold-gradient: linear-gradient(135deg, #F5D796 0%, #C5A059 50%, #967431 100%);
  --red-gradient: linear-gradient(135deg, #B81D13 0%, #940700 50%, #5C0400 100%);

  --dark-bg: #0A0B0D;
  --dark-surface: #121519;
  --dark-surface-elevated: #1A1E24;
  
  --light-bg: #FAF8F5;
  --light-surface: #FFFFFF;
  --light-surface-alt: #F3EFE6;
  --light-border: #E5DFD3;
  --light-text: #171A1F;
  --light-text-muted: #525B68;

  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 24px 60px rgba(148, 7, 0, 0.12);
  --shadow-gold: 0 12px 32px rgba(197, 160, 89, 0.2);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Mobile Core Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--light-text);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography Hierarchy with Fluid Clamping */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--light-text);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.section-subtitle::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gold-gradient);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.section-desc {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--light-text-muted);
  max-width: 720px;
  line-height: 1.8;
  font-weight: 400;
}

/* Clean Top Contact Bar */
.top-bar {
  background: #08090C;
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.top-bar-item i {
  color: var(--gold-primary);
}

.top-bar-item a:hover {
  color: var(--gold-light);
}

/* Clean Main Header Navigation */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--light-border);
  padding: 0.65rem 0;
  transition: all var(--transition-normal);
}

.main-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: rgba(250, 248, 245, 0.98);
  padding: 0.4rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-img {
  height: clamp(65px, 10vw, 110px);
  width: auto;
  object-fit: contain;
  transition: all var(--transition-normal);
}

.main-header.scrolled .logo-img {
  height: clamp(55px, 8vw, 85px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-text);
  padding: 0.75rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--red-gradient);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-red);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--light-text);
  cursor: pointer;
  padding: 0.5rem;
  touch-action: manipulation;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--red-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0F1115;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid var(--gold-primary);
}

.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: #0F1115;
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-gold {
  background: rgba(197, 160, 89, 0.15);
  color: #8C6A21;
  border: 1px solid rgba(197, 160, 89, 0.35);
}

.badge-red {
  background: rgba(148, 7, 0, 0.12);
  color: var(--primary-red);
  border: 1px solid rgba(148, 7, 0, 0.25);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: #0A0B0D;
  color: #FFFFFF;
  padding: 5rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(148, 7, 0, 0.25) 0%, transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(197, 160, 89, 0.15) 0%, transparent 55%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  margin-bottom: 1.75rem;
}

.hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #94A3B8;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Architectural Card Showcase */
.hero-arch-showcase {
  position: relative;
}

.arch-card {
  background: rgba(18, 21, 25, 0.88);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(148, 7, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.arch-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.arch-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 8px #22C55E;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.arch-icon-gold {
  width: 44px;
  height: 44px;
  background: var(--red-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
}

.arch-card-title {
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  color: #FFFFFF;
  margin-bottom: 0.6rem;
}

.arch-card-desc {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.arch-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.arch-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
}

.arch-feature-icon {
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.arch-feature-item h5 {
  color: #FFFFFF;
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.arch-feature-item small {
  color: #94A3B8;
  font-size: 0.78rem;
}

/* Stat Banner */
.stat-banner {
  background: #0E1014;
  border-y: 1px solid rgba(197, 160, 89, 0.15);
  padding: 3.5rem 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #94A3B8;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Generous Section Padding */
.section-padding {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  justify-content: center;
}

.section-header.center .section-subtitle::before {
  display: none;
}

.section-header.center .section-desc {
  margin: 0 auto;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(148, 7, 0, 0.25);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(148, 7, 0, 0.08);
  color: var(--primary-red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.75rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--light-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Projects Showcase Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: var(--light-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--dark-bg);
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-badge-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--light-text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

.project-meta i {
  color: var(--gold-dark);
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--light-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--light-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-institution {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-red);
}

/* Filter Controls Bar */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  background: var(--light-surface);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
}

.filter-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  background: var(--light-surface-alt);
  color: var(--light-text-muted);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  touch-action: manipulation;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.search-box input {
  width: 100%;
  padding: 0.8rem 1.25rem 0.8rem 2.8rem;
  font-family: var(--font-body);
  font-size: 16px; /* Prevents auto-zoom on iOS Mobile */
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  outline: none;
  transition: all var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(148, 7, 0, 0.1);
}

.search-box i {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-text-muted);
}

/* Custom Table View */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  background: var(--light-surface);
}

.custom-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background: #0A0B0D;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid var(--gold-primary);
}

.custom-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--light-border);
  font-size: 0.9rem;
  color: var(--light-text);
  vertical-align: middle;
}

.custom-table tbody tr:hover {
  background: var(--light-surface-alt);
}

/* High Performance Responsive Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  background: var(--dark-bg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: 280px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(148, 7, 0, 0.9) 0%, rgba(10, 11, 13, 0.4) 60%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: #FFFFFF;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.gallery-folder {
  font-size: 0.8rem;
  color: var(--gold-light);
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, #0A0B0D 0%, #1A0504 60%, #0A0B0D 100%);
  color: #FFFFFF;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.page-banner-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94A3B8;
}

.breadcrumb a {
  color: var(--gold-light);
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: #0E1014;
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 3.5rem 2.5rem;
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--red-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.contact-details h4 {
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.contact-details p,
.contact-details a {
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-form-wrapper {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 0.6rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 16px; /* Prevents auto zoom on iOS Safari */
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  background: var(--light-surface-alt);
  color: var(--light-text);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-red);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(148, 7, 0, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-md);
  height: 420px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.main-footer {
  background: #08090C;
  color: #94A3B8;
  padding-top: 5.5rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer-logo img {
  height: clamp(65px, 10vw, 110px);
  width: auto;
  object-fit: contain;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-about p {
  line-height: 1.8;
  font-size: 0.9rem;
  margin-top: 1.25rem;
}

.footer-title {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-bottom {
  background: #040506;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE BREAKPOINTS (320px to 992px)
   ========================================================================== */

@media (min-width: 769px) {
  .mobile-toggle,
  .mobile-nav,
  .mobile-nav-header,
  .nav-backdrop {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }
}

@media (max-width: 992px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 0.5rem 0;
  }

  .top-bar-content {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
  }

  .top-bar-info {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  .top-bar-item {
    font-size: 0.78rem;
    line-height: 1.35;
    justify-content: center;
  }

  .nav-menu,
  .header-cta {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  /* Full Screen Touch Drawer Navigation */
  .mobile-nav {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    background: #0A0B0D;
    z-index: 2000;
    padding: 1.75rem 1.5rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    will-change: transform;
    visibility: hidden;
    pointer-events: none;
    opacity: 1 !important;
  }

  .mobile-nav.active {
    transform: translateX(0);
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mobile-nav-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding-bottom: 1rem;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .mobile-nav-header img {
    height: 65px;
    width: auto;
  }

  .mobile-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.5rem;
    touch-action: manipulation;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-link {
    color: #E2E8F0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mobile-link:hover,
  .mobile-link.active {
    color: var(--gold-light);
  }

  .nav-backdrop {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .nav-backdrop.active {
    opacity: 1;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .logo-img { 
    height: clamp(55px, 12vw, 75px);
  }

  .arch-card {
    padding: 1.75rem 1.25rem;
  }

  .arch-card-title {
    font-size: 1.4rem;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
  }

  .filter-group {
    justify-content: center;
  }

  .filter-btn {
    flex: 1 1 calc(50% - 0.5rem);
    text-align: center;
    padding: 0.65rem 0.5rem;
    font-size: 0.75rem;
  }

  .search-box {
    max-width: 100%;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .gallery-item {
    height: 180px;
    contain-intrinsic-size: 180px;
  }

  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(148, 7, 0, 0.95) 0%, rgba(10, 11, 13, 0.2) 80%, transparent 100%);
    padding: 1rem;
  }

  .gallery-title {
    font-size: 0.95rem;
  }

  .gallery-folder {
    font-size: 0.72rem;
  }

  .contact-info-card,
  .contact-form-wrapper {
    padding: 2.25rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .section-padding {
    padding: 4.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .filter-btn {
    flex: 1 1 100%;
  }
}
