/* ==========================================================================
   italianartdecor - Luxury Italian Decor Styling
   Responsive, High-Contrast, Zero-Dependency CSS
   Typography: Cormorant Garamond (Primary - Medium 500 / SemiBold 600 / Bold 700)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --font-serif: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --font-sans: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --font-primary: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --font-secondary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Luxury Dark / Espresso Palette */
  --bg-dark: #0c0a09;
  --bg-dark-card: #171513;
  --bg-dark-surface: #211d1a;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-hover: rgba(212, 175, 55, 0.4);

  /* Warm Cream / Light Sections */
  --bg-light: #faf8f5;
  --bg-light-card: #ffffff;
  --border-light: rgba(12, 10, 9, 0.08);

  /* Gold & Warm Accent Colors */
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa8214;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #aa8214 100%);
  --terracotta: #c85a32;
  --terracotta-hover: #b04924;

  /* Text Colors */
  --text-primary-dark: #faf8f5;
  --text-secondary-dark: #d1cdc7;
  --text-muted-dark: #9c958c;
  --text-primary-light: #1c1917;
  --text-secondary-light: #44403c;
  --text-muted-light: #78716c;

  /* Spacing & Layout */
  --container-max: 1280px;
  --header-height: 106px;
  --header-height-mobile: 68px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.2);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--font-primary);
  font-weight: 500; /* Cormorant Garamond Medium */
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.012em;
  scroll-behavior: smooth;
  color: var(--text-primary-dark);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-weight: 500;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  touch-action: manipulation;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600; /* Cormorant Garamond SemiBold */
  letter-spacing: -0.01em;
}

p {
  font-weight: 500;
}

strong, b {
  font-weight: 600; /* SemiBold */
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input, select, textarea {
  font-family: var(--font-primary);
  font-weight: 500;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Typography Utilities */
.font-serif {
  font-family: var(--font-serif);
}

.text-gold {
  color: var(--gold);
}

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

.text-muted {
  color: var(--text-muted-dark);
}

/* Buttons (Touch-First Min 48px standard per Fitts' Law) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: 48px;
  min-width: 48px;
  border-radius: 9999px;
  font-family: var(--font-primary);
  font-weight: 600; /* Cormorant Garamond SemiBold */
  font-size: 1.08rem;
  letter-spacing: 0.035em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0c0a09;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
  color: #000;
}

.btn-outline-gold {
  border-color: var(--gold);
  color: var(--gold-light);
  background: transparent;
}

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

.btn-terracotta {
  background-color: var(--terracotta);
  color: #ffffff;
}

.btn-terracotta:hover {
  background-color: var(--terracotta-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  min-height: 44px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  min-height: 52px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Navigation Bar (Ultra High-Contrast Luxury Header)
   Resolves: "üst menü okunaklı değil arka plandan ötürü" & "logoyu büyütür müsün"
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  transition: var(--transition);
}

/* Top Tier: Utility Left, Centered Brand Typography on Top, Actions Right */
.header-top-tier {
  height: 62px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.header-tier-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1 1 0;
  justify-content: flex-start;
}

.header-brand-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
}

.header-tier-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 0;
  justify-content: flex-end;
}

/* Single-Row Brand Typography Centered on Top */
.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-typography-img {
  height: 25px;
  width: auto;
  max-width: 390px;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.logo-link:hover .logo-typography-img {
  opacity: 0.82;
  transform: translateY(-1px);
}

/* Bottom Tier: Desktop Navigation Centered Below Logo */
.header-nav-tier {
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1080px) {
  .header-nav-tier {
    display: flex;
  }
}

.centered-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 2.5vw, 2.8rem);
  width: 100%;
}

.centered-desktop-nav .nav-link {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 600; /* Cormorant Garamond SemiBold */
  letter-spacing: 0.05em;
  color: #18181b;
  padding: 0.4rem 0.25rem;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.centered-desktop-nav .nav-link:hover,
.centered-desktop-nav .nav-link.active {
  color: var(--gold-dark);
}

.centered-desktop-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Legacy text wrap kept for drawer / fallback */
.brand-text-wrap {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.35vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #18181b;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

/* Quick Phone Buttons */
.phone-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #18181b;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.phone-quick-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  color: var(--gold-dark);
}

.desktop-phone-link {
  display: none;
}

@media (min-width: 1240px) {
  .desktop-phone-link {
    display: inline-flex;
  }
}

.mobile-phone-btn {
  display: inline-flex;
  padding: 0.55rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  justify-content: center;
}

@media (min-width: 1080px) {
  .mobile-phone-btn {
    display: none;
  }
}

/* Instagram Header Quick Button */
.instagram-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #18181b;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.instagram-quick-btn:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.35);
}

/* Instagram Follow Buttons */
.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
  font-weight: 600;
}

.btn-instagram:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
  color: #ffffff;
}

/* Mobile / Drawer Hamburger Button (48x48px min touch target per Fitts' Law) */
.mobile-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  cursor: pointer;
  color: #18181b;
  flex-shrink: 0;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: var(--gold);
}

.mobile-menu-btn:active {
  transform: scale(0.94);
}

.mobile-menu-btn .bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #18181b;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Header Responsiveness */
@media (max-width: 1079px) {
  .header-top-tier {
    height: 68px;
    border-bottom: none;
  }
  .logo-typography-img {
    height: 18px;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .header-top-inner {
    gap: 0.4rem;
  }
  .logo-typography-img {
    height: 15px;
    max-width: 210px;
  }
}

@media (max-width: 360px) {
  .logo-typography-img {
    height: 13px;
    max-width: 170px;
  }
}

/* Mobile Drawer (Touch-Optimized Slide-Over) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background-color: #12100e;
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-dark);
}

.drawer-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.drawer-close-btn:active {
  transform: scale(0.92);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 0;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0.85rem 1.15rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #faf8f5;
  border-radius: 10px;
  background-color: transparent;
  border: 1px solid transparent;
  transition: var(--transition);
}

.drawer-nav-item:hover,
.drawer-nav-item.active {
  background-color: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.25);
  color: var(--gold);
}

.drawer-nav-item:active {
  transform: scale(0.98);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.drawer-action-btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ==========================================================================
   Page Content Wrapper
   ========================================================================== */
.site-main {
  flex: 1;
  padding-top: var(--header-height);
}

@media (max-width: 1079px) {
  .site-main {
    padding-top: var(--header-height-mobile);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 10, 9, 0.95) 0%,
    rgba(12, 10, 9, 0.85) 50%,
    rgba(12, 10, 9, 0.6) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 9999px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 600; /* Cormorant Garamond SemiBold */
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 500; /* Cormorant Garamond Medium */
  color: var(--text-secondary-dark);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 760px;
}

.hero-desc-para {
  margin-bottom: 0.95rem;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  font-weight: 500; /* Medium */
  color: rgba(255, 255, 255, 0.92);
}

.hero-desc-para:last-child {
  margin-bottom: 0;
}

.hero-slogan-highlight {
  color: var(--gold-light);
  font-weight: 600; /* SemiBold */
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  margin-top: 1.25rem;
  letter-spacing: 0.015em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 640px) {
  .hero-section {
    padding: clamp(5.5rem, 15vh, 7.5rem) 0 3rem 0;
    min-height: auto;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* Feature Grid / Cards */
.section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

.section-dark {
  background-color: var(--bg-dark);
}

.section-surface {
  background-color: var(--bg-dark-card);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 2.25rem;
  }
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600; /* Cormorant Garamond SemiBold */
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--text-secondary-dark);
  font-size: 1.12rem;
  font-weight: 500; /* Cormorant Garamond Medium */
  line-height: 1.7;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-dark-hover);
  box-shadow: var(--shadow-lg);
}

.service-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.48rem;
  font-weight: 600; /* Cormorant Garamond SemiBold */
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card-text {
  color: var(--text-secondary-dark);
  font-size: 1.05rem;
  font-weight: 500; /* Cormorant Garamond Medium */
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-card-link:hover {
  color: var(--gold-light);
  gap: 0.75rem;
}

/* 4-Step Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.process-number {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.35);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-title {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process-desc {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  color: var(--text-secondary-dark);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
}

.filter-tab:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: #ffffff;
}

.filter-tab:active {
  transform: scale(0.96);
}

.filter-tab.active {
  background: var(--gold-gradient);
  color: #0c0a09;
  border-color: transparent;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

@media (max-width: 768px) {
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.25rem 0.5rem 0.85rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    gap: 0.5rem;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-tab {
    scroll-snap-align: center;
  }
}
}

/* Projects Gallery Grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-dark-hover);
  box-shadow: var(--shadow-lg);
}

.project-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #1a1715;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(12, 10, 9, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.project-card-body {
  padding: 1.5rem;
}

.project-card-title {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 600; /* Cormorant Garamond SemiBold */
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.project-card-desc {
  color: var(--text-secondary-dark);
  font-size: 1.02rem;
  font-weight: 500; /* Cormorant Garamond Medium */
  line-height: 1.6;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 1rem;
  color: #e4e4e7;
  font-size: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* Accordion (FAQ) */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.accordion-item.active {
  border-color: rgba(212, 175, 55, 0.4);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 600; /* Cormorant Garamond SemiBold */
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}

.accordion-header:hover {
  color: var(--gold-light);
}

.accordion-icon {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary-dark);
  font-size: 1.05rem;
  font-weight: 500; /* Cormorant Garamond Medium */
  line-height: 1.7;
}

.accordion-item.active .accordion-content {
  padding-bottom: 1.5rem;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-label {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 600; /* Cormorant Garamond SemiBold */
  letter-spacing: 0.02em;
  color: #e4e4e7;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 500; /* Cormorant Garamond Medium */
  font-size: 1.05rem; /* Minimum 16px prevents iOS Safari auto-zoom bug */
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input,
.form-select {
  min-height: 48px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

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

/* Honeypot hidden field */
.hp-field {
  display: none !important;
  visibility: hidden !important;
}

/* Floating WhatsApp Button (Desktop & Tablet) */
.whatsapp-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #25d366;
  color: #ffffff;
  padding: 0.85rem 1.35rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
  user-select: none;
}

.whatsapp-floating:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.whatsapp-floating:active {
  transform: scale(0.96);
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Mobile Sticky Action Bar (Thumb-Zone Optimized for Conversion) */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  /* When bottom bar is active on mobile, hide the floating whatsapp button to prevent overlap */
  .whatsapp-floating {
    display: none !important;
  }

  .header-cta-desktop {
    display: none !important;
  }

  .mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background-color: rgba(12, 10, 9, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.75);
  }

  .mobile-bar-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-secondary-dark);
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    min-height: 48px;
    padding: 0.4rem 0.25rem;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s, transform 0.15s;
    user-select: none;
    -webkit-user-select: none;
  }

  .mobile-bar-btn:active {
    background-color: rgba(255, 255, 255, 0.08);
    transform: scale(0.96);
  }

  .mobile-bar-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .mobile-bar-btn.mobile-bar-whatsapp {
    color: #25d366;
  }

  .mobile-bar-btn.mobile-bar-cta {
    background: var(--gold-gradient);
    color: #0c0a09;
    font-weight: 700;
    border-radius: 8px;
    margin: 4px 6px;
    height: 44px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
  }

  .mobile-bar-btn.mobile-bar-cta:active {
    transform: scale(0.96);
    background: var(--gold);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #080706;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 4.5rem 0 2rem 0;
  color: var(--text-secondary-dark);
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand-desc {
  color: var(--text-muted-dark);
  font-size: 1.02rem;
  font-weight: 500; /* Cormorant Garamond Medium */
  line-height: 1.7;
  margin: 1.25rem 0;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600; /* Cormorant Garamond SemiBold */
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 1.02rem;
  font-weight: 500; /* Cormorant Garamond Medium */
  color: var(--text-secondary-dark);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ==========================================================================
   Alerts & Notifications
   ========================================================================== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background-color: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* ==========================================================================
   Multi-Image Gallery Styles (Projects & Services)
   ========================================================================== */
.gallery-count-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 13, 11, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  z-index: 3;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
}

.project-thumbnails {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background-color: #171412;
  border-bottom: 1px solid var(--border-dark);
  overflow-x: auto;
  scrollbar-width: thin;
}

.project-thumb-item {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.project-thumb-item:hover,
.project-thumb-item.active {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.project-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-gallery-strip {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 5;
  background: rgba(15, 13, 11, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  overflow-x: auto;
  scrollbar-width: thin;
}

.service-gallery-thumb {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.65;
  transition: all 0.2s ease;
}

.service-gallery-thumb:hover,
.service-gallery-thumb.active {
  opacity: 1;
  border-color: var(--gold);
  transform: scale(1.05);
}

.service-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

