/* ============================================
   TREATS TO REMEMBER — Cinematic Animated CSS
   ============================================ */

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

:root {
  --cream: #f5ece3;
  --cream-light: #faf6f1;
  --cream-dark: #ede2d4;
  --gold: #c5a55a;
  --gold-light: #d4bc7c;
  --gold-dark: #a8893e;
  --brown: #5c4a3a;
  --brown-dark: #3d2e22;
  --brown-light: #7a6655;
  --rose: #c4756e;
  --rose-light: #d4918b;
  --text: #4a3c30;
  --text-light: #8a7b6b;
  --white: #ffffff;
  --black: #1a1410;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', 'Helvetica Neue', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* --- Page Loader --- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--cream-dark);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 16px;
}

.loader-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--rose));
  border-radius: 2px;
  animation: loaderFill 2s var(--ease-out-expo) forwards;
}

.loader-text {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0;
  animation: fadeIn 0.5s ease 0.3s forwards;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes loaderFill {
  0% { width: 0; }
  100% { width: 100%; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  transition: all 0.5s var(--ease-out-expo);
}

.navbar.scrolled {
  background: rgba(245, 236, 227, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 40px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.1);
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 28px;
  border: 1.5px solid var(--brown);
  color: var(--brown);
  transition: all 0.4s var(--ease-out-expo);
}

.nav-cta:hover {
  background: var(--brown);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(92, 74, 58, 0.2);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brown);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

.nav-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(245, 236, 227, 0.98);
  backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu li {
  margin: 24px 0;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.active li {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active li:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active li:nth-child(5) { transition-delay: 0.5s; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brown);
}

.mobile-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 36px;
  border: 1.5px solid var(--brown);
  font-family: var(--font-sans) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 50%, #e8d5c4 100%);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(197, 165, 90, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(196, 117, 110, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(197, 165, 90, 0.05) 0%, transparent 40%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.6; transform: translateY(-30px) scale(1); }
  80% { opacity: 0.3; transform: translateY(-120px) scale(0.5); }
  100% { opacity: 0; transform: translateY(-160px) scale(0); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.hero-badge {
  width: 300px;
  height: 300px;
  margin: 0 auto 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  box-shadow:
    0 0 0 4px var(--gold-light),
    0 0 0 8px rgba(197, 165, 90, 0.25),
    0 0 30px rgba(197, 165, 90, 0.15),
    0 24px 60px rgba(0, 0, 0, 0.18);
  animation: badgeFloat 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.hero-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.85);
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--brown);
  margin-bottom: 8px;
}

.hero-title em {
  color: var(--brown-light);
}

.hero-title-accent {
  display: block;
}

.hero-title-accent em {
  font-style: italic;
  background: linear-gradient(135deg, var(--brown), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px auto;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--brown);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--brown-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(92, 74, 58, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--brown);
  border: 1.5px solid var(--brown);
}

.btn-outline:hover {
  background: var(--brown);
  color: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(92, 74, 58, 0.2);
}

.btn-white {
  background: var(--white);
  color: var(--brown);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero-scroll-indicator span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 8px;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gold);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cream);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* --- Section Shared Styles --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--brown);
  line-height: 1.2;
}

.section-title em {
  font-style: italic;
  color: var(--brown-light);
}

.section-divider {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto 0;
}

/* --- Gallery Section --- */
.gallery {
  padding: 120px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item-wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-out-expo);
}

/* Gradient placeholder when images aren't loaded */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-dark), #d4c4b0, var(--cream-dark));
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--brown-light);
  font-style: italic;
}

/* Hide placeholder when background image is set */
.gallery-image[style*="url"] .gallery-placeholder,
.about-image[style*="url"] .gallery-placeholder {
  display: none !important;
}

/* Show placeholder only when no background image */
.gallery-image:not([style*="url"]) .gallery-placeholder,
.about-image:not([style*="url"]) .gallery-placeholder {
  display: flex;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 20, 16, 0.8) 0%, rgba(26, 20, 16, 0.2) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

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

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

.gallery-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 4px;
  transform: translateY(10px);
  transition: transform 0.5s var(--ease-out-expo) 0.1s;
}

.gallery-overlay p {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  transform: translateY(10px);
  transition: transform 0.5s var(--ease-out-expo) 0.2s;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
  transform: translateY(0);
}

/* --- Parallax Divider --- */
.parallax-divider {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brown-dark), var(--brown), var(--brown-dark));
  overflow: hidden;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(197, 165, 90, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(196, 117, 110, 0.1) 0%, transparent 50%);
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.parallax-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.05em;
}

/* --- About Section --- */
.about {
  padding: 120px 40px;
  overflow: hidden;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.about-image .gallery-placeholder {
  border-radius: 16px;
}

.about-image-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--brown);
  color: var(--cream);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.badge-text {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
}

.about-text-col {
  padding: 20px 0;
}

.about-text-col .section-label {
  text-align: left;
}

.about-text-col .section-title {
  text-align: left;
}

.about-text-col .section-divider {
  margin: 20px 0 0;
}

.about-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-top: 24px;
}

.about-text-col .btn {
  margin-top: 32px;
}

/* --- Specialties Section --- */
.specialties {
  padding: 120px 40px;
  background: var(--cream-light);
}

.specialties-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.specialty-card {
  background: var(--white);
  padding: 48px 36px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--rose), var(--gold));
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out-expo);
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.specialty-card:hover::before {
  transform: scaleX(1);
}

.specialty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--gold);
  transition: transform 0.5s var(--ease-out-expo);
}

.specialty-card:hover .specialty-icon {
  transform: scale(1.1) rotate(-3deg);
}

.specialty-icon svg {
  width: 100%;
  height: 100%;
}

.specialty-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 12px;
}

.specialty-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.specialty-line {
  width: 40px;
  height: 1.5px;
  background: var(--gold-light);
  margin: 24px auto 0;
  transition: width 0.5s var(--ease-out-expo);
}

.specialty-card:hover .specialty-line {
  width: 60px;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 120px 40px;
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 50%, #5a4535 100%);
  overflow: hidden;
  text-align: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(197, 165, 90, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(196, 117, 110, 0.08) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-title em {
  font-style: italic;
  color: var(--gold-light);
}

.cta-desc {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: rgba(245, 236, 227, 0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* --- Contact Section --- */
.contact {
  padding: 120px 40px;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-details {
  margin-top: 32px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(197, 165, 90, 0.15);
}

.contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-dark);
  border-radius: 10px;
  color: var(--gold-dark);
  transition: all 0.3s ease;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item:hover .contact-icon {
  background: var(--brown);
  color: var(--cream);
  transform: scale(1.05);
}

.contact-item h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-item p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--brown);
}

/* Form */
.form-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.form-tab {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1.5px solid var(--cream-dark);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-tab:hover {
  border-color: var(--gold-light);
  color: var(--brown);
}

.form-tab.active {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}

.contact-form.hidden {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  background: var(--cream-light);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.1);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a7b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 16px;
}

/* --- Footer --- */
.footer {
  background: var(--brown-dark);
  color: var(--cream);
  padding: 80px 40px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245, 236, 227, 0.1);
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245, 236, 227, 0.6);
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--gold-light);
}

.footer-links a {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(245, 236, 227, 0.6);
  padding: 6px 0;
  transition: all 0.3s ease;
}

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

.footer-social p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(245, 236, 227, 0.6);
  padding: 6px 0;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(245, 236, 227, 0.4);
  letter-spacing: 0.05em;
}

/* --- Enhanced Cinematic Animations --- */

/* Gold shimmer on section titles */
.section-title {
  background: linear-gradient(
    90deg,
    var(--brown) 0%,
    var(--brown) 40%,
    var(--gold) 50%,
    var(--brown) 60%,
    var(--brown) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

.section-title em {
  -webkit-text-fill-color: var(--brown-light);
}

@keyframes shimmer {
  0%, 100% { background-position: 200% center; }
  50% { background-position: -200% center; }
}

/* Smooth image reveal with clip-path */
.gallery-item .gallery-image {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.gallery-item:hover .gallery-image {
  clip-path: inset(-8px -8px -8px -8px);
}

/* Pulsing glow on primary buttons */
.btn-primary {
  position: relative;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 20px rgba(92, 74, 58, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary:hover::after {
  animation: btnGlow 1.5s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* Floating animation for contact icons */
.contact-icon {
  animation: iconFloat 3s ease-in-out infinite;
}

.contact-item:nth-child(2) .contact-icon { animation-delay: 0.3s; }
.contact-item:nth-child(3) .contact-icon { animation-delay: 0.6s; }
.contact-item:nth-child(4) .contact-icon { animation-delay: 0.9s; }
.contact-item:nth-child(5) .contact-icon { animation-delay: 1.2s; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.contact-item:hover .contact-icon {
  animation: none;
}

/* Staggered gallery entrance */
.gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-item:nth-child(2) { transition-delay: 0.1s; }
.gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery-item:nth-child(4) { transition-delay: 0.3s; }
.gallery-item:nth-child(5) { transition-delay: 0.4s; }
.gallery-item:nth-child(6) { transition-delay: 0.5s; }

/* Specialty card shine effect */
.specialty-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 40%,
    rgba(197, 165, 90, 0.06) 45%,
    rgba(197, 165, 90, 0.12) 50%,
    rgba(197, 165, 90, 0.06) 55%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-100%) translateY(-100%);
  transition: none;
  pointer-events: none;
}

.specialty-card:hover::after {
  animation: cardShine 0.8s ease forwards;
}

@keyframes cardShine {
  to { transform: translateX(50%) translateY(50%); }
}

/* Smooth text underline animation on nav active */
.nav-links a.active::after {
  width: 100%;
}

/* CTA section floating elements */
.cta-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(197, 165, 90, 0.1);
  border-radius: 50%;
  animation: ctaOrbit 12s linear infinite;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 8%;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(196, 117, 110, 0.08);
  border-radius: 50%;
  animation: ctaOrbit 8s linear infinite reverse;
  pointer-events: none;
}

@keyframes ctaOrbit {
  from { transform: rotate(0deg) translateX(30px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(30px) rotate(-360deg); }
}

/* Hero title letter spacing animation */
.hero-subtitle {
  animation: subtitleReveal 1.5s var(--ease-out-expo) 0.5s both;
}

@keyframes subtitleReveal {
  from { letter-spacing: 0.6em; opacity: 0; }
  to { letter-spacing: 0.25em; opacity: 1; }
}

/* Smooth form focus glow */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.1), 0 4px 12px rgba(197, 165, 90, 0.08);
  transform: translateY(-1px);
}

/* Footer link hover slide */
.footer-links a {
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

.footer-links a:hover {
  padding-left: 16px;
}

.footer-links a:hover::before {
  width: 10px;
}

/* --- Scroll Reveal Animations --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-inner {
    gap: 50px;
  }
  .contact-inner {
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .navbar { padding: 16px 24px; }
  .navbar.scrolled { padding: 12px 24px; }

  .hero { min-height: 100svh; }
  .hero-badge { width: 200px; height: 200px; margin-bottom: 32px; }

  .gallery { padding: 80px 20px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery-item-wide { grid-column: span 2; }

  .about { padding: 80px 20px; }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-image-badge { right: 16px; bottom: -16px; padding: 16px; }
  .about-text-col .section-label,
  .about-text-col .section-title { text-align: center; }
  .about-text-col .section-divider { margin: 20px auto 0; }

  .specialties { padding: 80px 20px; }
  .specialties-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .cta-section { padding: 80px 20px; }

  .contact { padding: 80px 20px; }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer { padding: 60px 20px 0; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-wide { grid-column: span 1; }
  .gallery-item { aspect-ratio: 4/3; }
  .hero-title { font-size: 2.5rem; }
  .form-tabs { flex-direction: column; }
}
