/* ============================================
   COCO NAILS — Custom Styles
   Burgundy + Blush | Clean Minimalist
   ============================================ */

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

:root {
  --burgundy: #7B2431;
  --burgundy-dark: #5C1A26;
  --burgundy-light: #9E3A4A;
  --blush: #F5E6E0;
  --blush-light: #FBF4F1;
  --blush-dark: #E8CFC4;
  --cream: #FDF8F5;
  --white: #FFFFFF;
  --text-dark: #2A1A1E;
  --text-medium: #5C4046;
  --text-light: #8A6B72;
  --text-muted: #B09A9F;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
  --nav-height: 72px;
  --section-padding: clamp(64px, 10vw, 120px);
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--burgundy-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* --- Typography --- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(253, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 36, 49, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(253, 248, 245, 0.97);
  box-shadow: 0 1px 20px rgba(123, 36, 49, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--burgundy);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--burgundy);
  border-radius: 50%;
  position: relative;
}

.nav-logo-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--blush-light);
  border-radius: 50%;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-medium);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--burgundy);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--burgundy);
}

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

.nav-cta {
  background: var(--burgundy) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  transition: background 0.3s ease, transform 0.2s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--burgundy-dark) !important;
  transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.mobile-menu-link:hover {
  color: var(--burgundy);
}

.mobile-menu-cta {
  margin-top: 16px;
  background: var(--burgundy);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 26, 30, 0.72) 0%,
    rgba(123, 36, 49, 0.55) 50%,
    rgba(42, 26, 30, 0.68) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
  padding-top: var(--nav-height);
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-accent {
  font-style: italic;
  font-weight: 300;
  color: var(--blush);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 44px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123, 36, 49, 0.25);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- Divider --- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.divider-diamond {
  width: 6px;
  height: 6px;
  background: var(--burgundy);
  transform: rotate(45deg);
  opacity: 0.4;
}

/* --- Services --- */
.services {
  padding: var(--section-padding) 0;
  background: var(--cream);
}

.services .container {
  text-align: center;
}

.services .section-title {
  margin-bottom: 56px;
}

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

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(123, 36, 49, 0.06);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(123, 36, 49, 0.1);
}

.service-card-img {
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.service-card-body {
  padding: 28px 24px;
  text-align: left;
}

.service-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
}

/* --- About --- */
.about {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-img-main {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -20px;
  right: -10px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 16px 40px rgba(123, 36, 49, 0.15);
  border: 4px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  padding: clamp(20px, 3vw, 40px) 0;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.85;
  margin-bottom: 20px;
  font-weight: 300;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(123, 36, 49, 0.1);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--burgundy);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(123, 36, 49, 0.15);
}

/* --- Gallery --- */
.gallery {
  padding: var(--section-padding) 0;
  background: var(--cream);
  text-align: center;
}

.gallery .container {
  max-width: 1200px;
}

.gallery .section-title {
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 56px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(123, 36, 49, 0);
  transition: background 0.4s ease;
}

.gallery-item:hover::after {
  background: rgba(123, 36, 49, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

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

.gallery-item--wide {
  grid-column: span 6;
  aspect-ratio: 8/5;
}

.gallery-item:not(.gallery-item--wide) {
  grid-column: span 3;
  aspect-ratio: 1;
}

.gallery-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.gallery-cta p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-medium);
  font-style: italic;
}

/* --- Testimonial --- */
.testimonial {
  padding: var(--section-padding) 0;
  background: var(--burgundy);
  text-align: center;
}

.testimonial-content {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.testimonial-quote {
  width: 48px;
  height: 48px;
  color: rgba(245, 230, 224, 0.3);
  margin-bottom: 32px;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--blush-light);
  margin-bottom: 28px;
}

.testimonial-author {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 230, 224, 0.55);
}

/* --- Contact --- */
.contact {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.contact .container {
  text-align: center;
}

.contact .section-title {
  margin-bottom: 56px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  text-align: left;
  align-items: start;
}

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

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
}

.contact-item a {
  color: var(--text-light);
}

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

/* Form */
.contact-form-wrap {
  background: var(--blush-light);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(123, 36, 49, 0.06);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 28px;
  font-weight: 300;
}

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

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

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(123, 36, 49, 0.15);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(123, 36, 49, 0.08);
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(123, 36, 49, 0.06);
  border-radius: 8px;
  color: var(--burgundy);
  font-size: 0.88rem;
  font-weight: 400;
}

.form-success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- Map --- */
.map-section {
  border-top: 1px solid rgba(123, 36, 49, 0.08);
}

.map-section iframe {
  filter: saturate(0.6) brightness(1.05);
}

/* --- Footer --- */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: clamp(56px, 8vw, 80px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 6vw, 60px);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blush);
  letter-spacing: 0.04em;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  font-weight: 300;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--blush);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--blush);
}

.footer-contact p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 4px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
  color: var(--blush);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--wide {
    grid-column: span 6;
  }

  .gallery-item:not(.gallery-item--wide) {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

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

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

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

  .about-images {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-img-secondary {
    right: 0;
    bottom: -16px;
  }

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

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item:not(.gallery-item--wide) {
    grid-column: span 1;
  }

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

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

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

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

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--wide,
  .gallery-item:not(.gallery-item--wide) {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .about-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }
}
