/* CSS Variables */
:root {
  --color-primary: #b12234;
  --color-primary-dark: #8a1a28;
  --color-accent: #a4a08f;
  --color-dark: #1a1a1a;
  --color-light: #f8f7f5;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

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

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

.btn-outline:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-white);
  transition: var(--transition);
}

.header.scrolled .logo {
  color: var(--color-dark);
}

.nav {
  display: flex;
  gap: 40px;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-white);
  position: relative;
}

.header.scrolled .nav a {
  color: var(--color-dark);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: var(--transition);
}

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

.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 24px;
  background-color: var(--color-primary);
  color: var(--color-white);
}

.nav-cta:hover {
  background-color: var(--color-primary-dark);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
  background-color: var(--color-dark);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-dark);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-white);
}

.mobile-cta {
  margin-top: 20px;
  padding: 14px 32px;
  background-color: var(--color-primary);
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
              var(--color-accent);
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: 120px 24px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.hero-tagline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-family: var(--font-heading);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* About Section */
.about {
  padding: 120px 0;
  background-color: var(--color-white);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 24px;
  color: var(--color-dark);
}

.about-content .lead {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about-image {
  position: relative;
}

.image-placeholder {
  aspect-ratio: 3/4;
  background-color: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 0.9rem;
  border: 2px dashed var(--color-accent);
}

/* Services Section */
.services {
  padding: 120px 0;
  background-color: var(--color-light);
  text-align: center;
}

.services h2 {
  margin-bottom: 10px;
  color: var(--color-dark);
}

.section-subtitle {
  color: var(--color-text-light);
  margin-bottom: 60px;
}

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

.service-card {
  background-color: var(--color-white);
  padding: 50px 30px;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-primary);
}

.service-card h3 {
  margin-bottom: 16px;
  color: var(--color-dark);
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
  padding: 120px 0;
  background-color: var(--color-white);
  text-align: center;
}

.gallery h2 {
  margin-bottom: 10px;
  color: var(--color-dark);
}

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

.gallery-item {
  overflow: hidden;
}

.gallery-item .image-placeholder {
  aspect-ratio: 1;
  transition: var(--transition);
}

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

/* Book Section */
.book {
  padding: 120px 0;
  background-color: var(--color-dark);
  text-align: center;
  color: var(--color-white);
}

.book h2 {
  margin-bottom: 10px;
}

.book .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.booking-placeholder {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-placeholder p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background-color: var(--color-light);
  text-align: center;
}

.contact h2 {
  margin-bottom: 10px;
  color: var(--color-dark);
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 40px;
}

.contact-item h3 {
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.contact-item a,
.contact-item p {
  color: var(--color-text);
  font-size: 1.1rem;
}

.contact-item a:hover {
  color: var(--color-primary);
}

/* Footer */
.footer {
  padding: 60px 0;
  background-color: var(--color-dark);
  text-align: center;
  color: var(--color-white);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav,
  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .contact-info {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 20px;
  }

  .about,
  .services,
  .gallery,
  .book,
  .contact {
    padding: 80px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  .booking-placeholder {
    padding: 40px 24px;
  }
}

/* ==========================================
   PROFESSIONAL ANIMATIONS & EFFECTS
   ========================================== */

/* Make sections position relative */
.hero,
.about,
.services,
.gallery,
.book,
.contact {
  position: relative;
  overflow: hidden;
}

/* ==========================================
   ABSTRACT GRADIENT BLOBS
   ========================================== */

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--color-primary) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(225deg, var(--color-accent) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -10s;
  animation-duration: 25s;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 70%);
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  animation-delay: -5s;
}

@keyframes blobFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(20px, 10px) scale(1.02);
  }
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Hero specific - fade up on load */
.animate-fade-up {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   ENHANCED HOVER EFFECTS
   ========================================== */

/* Service cards - lift and glow */
.service-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* Buttons - smooth scale */
.btn {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(177, 34, 52, 0.3);
}

/* Image placeholder hover */
.about-image .image-placeholder {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image:hover .image-placeholder {
  transform: scale(1.02);
}

/* Social links */
.social-links a {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              border-color 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.1);
}

/* Contact items */
.contact-item a {
  position: relative;
}

.contact-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.contact-item a:hover::after {
  width: 100%;
}

/* ==========================================
   SMOOTH SECTION TRANSITIONS
   ========================================== */

section {
  transition: background-color 0.3s ease;
}

/* ==========================================
   INSTAGRAM FEED SECTION
   ========================================== */

.instagram-feed {
  max-width: 900px;
  margin: 0 auto;
}

.instagram-placeholder {
  padding: 60px 40px;
  background-color: var(--color-light);
  border-radius: 4px;
}

.instagram-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
}

.instagram-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-primary);
}

.instagram-placeholder p {
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.instagram-placeholder .btn {
  margin-bottom: 30px;
}

.instagram-note {
  margin-top: 20px;
  margin-bottom: 0 !important;
}

.instagram-note small {
  font-size: 0.8rem;
  color: var(--color-accent);
}

.instagram-note a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* When SnapWidget is embedded */
.instagram-feed iframe {
  max-width: 100%;
  border: none;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .blob {
    animation: none !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .animate-fade-up {
    animation: none;
    opacity: 1;
  }
}

/* Hide blobs on smaller screens for performance */
@media (max-width: 768px) {
  .blob {
    display: none;
  }
}
