/* =============================================
   Hairstyling By Ida — Custom Styles
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* --- Utility --- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sr-only:focus { position: absolute; width: auto; height: auto; padding: 0.75rem 1rem; margin: 0; clip: auto; white-space: normal; background: #065f46; color: #fff; z-index: 100; }

/* --- Container --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Section --- */
.section { padding: 6rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #059669; background: #d1fae5; padding: 0.35rem 0.85rem; border-radius: 100px; margin-bottom: 1rem; }
.section-tag--light { color: #6ee7b7; background: rgba(110,231,183,0.15); }
.section-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: #064e3b; line-height: 1.2; margin: 0 0 1rem; }
.section-desc { font-size: 1.05rem; color: #3d3630; opacity: 0.75; line-height: 1.7; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.6rem; border-radius: 8px; font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: all 0.25s ease; border: none; cursor: pointer; }
.btn-primary { background: #059669; color: #fff; box-shadow: 0 4px 14px rgba(5,150,105,0.35); }
.btn-primary:hover { background: #047857; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(5,150,105,0.4); }
.btn-outline { background: transparent; color: #065f46; border: 1.5px solid #065f46; }
.btn-outline:hover { background: #065f46; color: #fff; }
.btn-white { background: #fff; color: #065f46; box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.btn-white:hover { background: #fefdf8; transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.22); }
.btn-full { width: 100%; justify-content: center; }

/* --- Navbar --- */
.nav-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.3s ease, box-shadow 0.3s ease; }
.nav-fixed.scrolled { background: rgba(254,253,248,0.97); box-shadow: 0 1px 0 rgba(6,78,59,0.08); backdrop-filter: blur(8px); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: #064e3b; }
.nav-logo-mark { width: 36px; height: 36px; background: #059669; color: #fff; font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; }
.nav-logo-text { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: #3d3630; text-decoration: none; transition: color 0.2s; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: #059669; transition: width 0.25s; }
.nav-link:hover { color: #059669; }
.nav-link:hover::after { width: 100%; }
.nav-cta { display: inline-flex; align-items: center; gap: 0.4rem; background: #059669; color: #fff; font-size: 0.85rem; font-weight: 600; padding: 0.55rem 1.1rem; border-radius: 8px; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: #047857; }
.nav-toggle { display: none; background: none; border: none; padding: 0.5rem; color: #064e3b; margin-left: auto; }

/* --- Hero --- */
.hero { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; background: #064e3b; position: relative; overflow: hidden; padding: 6rem 0 4rem; }
.hero-pattern { position: absolute; inset: 0; opacity: 0.06; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 32px 32px; pointer-events: none; }
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: center; width: 100%; }
.hero-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 2.75rem; backdrop-filter: blur(12px); }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(110,231,183,0.15); color: #6ee7b7; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.4rem 0.9rem; border-radius: 100px; margin-bottom: 1.5rem; border: 1px solid rgba(110,231,183,0.2); }
.hero-badge-dot { width: 7px; height: 7px; background: #34d399; border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-headline { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.85rem, 3.5vw, 2.65rem); font-weight: 700; color: #fff; line-height: 1.25; margin: 0 0 1.25rem; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.78); line-height: 1.75; margin: 0 0 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-white { background: #fff; color: #064e3b; box-shadow: 0 4px 14px rgba(0,0,0,0.2); }
.btn-white:hover { background: #fefdf8; transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,0.1); color: #fff; border: 1.5px solid rgba(255,255,255,0.25); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); }

/* Hero Stats */
.hero-stats { display: flex; flex-direction: column; gap: 1rem; }
.stat-card { display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 1.2rem 1.4rem; backdrop-filter: blur(10px); transition: transform 0.25s, background 0.25s; }
.stat-card:hover { transform: translateY(-3px); background: rgba(255,255,255,0.12); }
.stat-icon { width: 48px; height: 48px; background: rgba(110,231,183,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #6ee7b7; flex-shrink: 0; }
.stat-value { font-weight: 700; color: #fff; font-size: 0.95rem; line-height: 1.3; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 2px; }
.stat-card--1 { animation: float-slow 6s ease-in-out infinite; }
.stat-card--2 { animation: float-slow 6s ease-in-out 1s infinite; }
.stat-card--3 { animation: float-slow 6s ease-in-out 2s infinite; }
@keyframes float-slow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* --- Services --- */
.services { background: #fefdf8; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.service-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(6,78,59,0.06); border: 1px solid rgba(6,78,59,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(6,78,59,0.12); }
.service-card-img { height: 180px; background-size: cover; background-position: center; position: relative; }
.service-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,78,59,0.4), transparent); }
.service-card-body { padding: 1.5rem; }
.service-card-icon { width: 48px; height: 48px; background: #ecfdf5; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #059669; margin-bottom: 1rem; }
.service-card-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: #064e3b; margin: 0 0 0.5rem; }
.service-card-desc { font-size: 0.9rem; color: #3d3630; opacity: 0.75; line-height: 1.65; margin: 0; }

/* --- About --- */
.about { background: #f0fdf4; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-main { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(6,78,59,0.15); }
.about-image-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-image-accent { position: absolute; bottom: -30px; right: -30px; width: 55%; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(6,78,59,0.15); border: 4px solid #d1fae5; }
.about-image-accent img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-experience-badge { position: absolute; top: -20px; left: -20px; background: #059669; color: #fff; padding: 1rem 1.25rem; border-radius: 14px; text-align: center; box-shadow: 0 8px 24px rgba(5,150,105,0.4); z-index: 2; }
.about-exp-number { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.about-exp-text { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.about-content { padding-top: 2rem; }
.about-text { font-size: 1rem; color: #3d3630; line-height: 1.8; margin: 0 0 1.25rem; }
.about-values { margin: 2rem 0; display: flex; flex-direction: column; gap: 1.25rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon { width: 40px; height: 40px; background: #d1fae5; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #059669; flex-shrink: 0; }
.value-item strong { display: block; color: #064e3b; font-size: 0.95rem; margin-bottom: 2px; }
.value-item span { font-size: 0.88rem; color: #3d3630; opacity: 0.75; line-height: 1.55; }
.mt-8 { margin-top: 2rem; }

/* --- Gallery --- */
.gallery { background: #fefdf8; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, 240px); gap: 1.25rem; }
.gallery-item { border-radius: 16px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; background: linear-gradient(to top, rgba(6,78,59,0.8), transparent); color: #fff; font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; transform: translateY(100%); transition: transform 0.35s ease; }
.gallery-item:hover .gallery-item-overlay { transform: translateY(0); }
.gallery-item--1 { grid-column: span 5; }
.gallery-item--2 { grid-column: span 4; }
.gallery-item--3 { grid-column: span 3; }
.gallery-item--4 { grid-column: span 4; }
.gallery-item--5 { grid-column: span 5; }

/* --- Testimonials --- */
.testimonials { background: #064e3b; }
.testimonials .section-tag { background: rgba(110,231,183,0.15); color: #6ee7b7; }
.testimonials .section-title { color: #fff; }
.testimonials .section-desc { color: rgba(255,255,255,0.7); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.testimonial-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 2rem; backdrop-filter: blur(8px); transition: transform 0.3s, background 0.3s; }
.testimonial-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.1); }
.testimonial-quote-mark { font-family: 'Playfair Display', serif; font-size: 4rem; color: #34d399; line-height: 1; margin: 0 0 -0.5rem; }
.testimonial-text { font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.8; margin: 0 0 1.5rem; font-style: italic; }
.testimonial-footer { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; }
.testimonial-author { font-size: 0.85rem; font-weight: 600; color: #6ee7b7; }

/* --- CTA Section --- */
.cta-section { background: #059669; padding: 5rem 0; }
.cta-card { position: relative; background: rgba(0,0,0,0.15); border-radius: 24px; padding: 4rem; text-align: center; overflow: hidden; }
.cta-pattern { position: absolute; inset: 0; opacity: 0.05; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 24px 24px; pointer-events: none; }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-family: 'Playfair Display', serif; font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; color: #fff; line-height: 1.25; margin: 0 0 1rem; }
.cta-desc { font-size: 1.05rem; color: rgba(255,255,255,0.8); line-height: 1.75; max-width: 560px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Contact --- */
.contact { background: #fefdf8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-details { margin: 2rem 0; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail-icon { width: 44px; height: 44px; background: #d1fae5; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #059669; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: 0.85rem; font-weight: 700; color: #064e3b; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.contact-detail span, .contact-detail a { font-size: 0.95rem; color: #3d3630; line-height: 1.65; text-decoration: none; }
.contact-detail a:hover { color: #059669; text-decoration: underline; }
.contact-form-wrap { background: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: 0 4px 20px rgba(6,78,59,0.08); border: 1px solid rgba(6,78,59,0.06); }
.contact-form-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: #064e3b; margin: 0 0 0.5rem; }
.contact-form-sub { font-size: 0.9rem; color: #3d3630; opacity: 0.7; margin: 0 0 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: #064e3b; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #d1fae5; border-radius: 10px; font-size: 0.95rem; font-family: inherit; color: #064e3b; background: #fefdf8; transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #059669; box-shadow: 0 0 0 3px rgba(5,150,105,0.12); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #3d3630; opacity: 0.4; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%23059669'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 18px; padding-right: 2.5rem; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success { text-align: center; padding: 2rem 1rem; }
.form-success-icon { color: #059669; margin-bottom: 1rem; }
.form-success-title { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: #064e3b; margin: 0 0 0.5rem; }
.form-success-text { font-size: 0.9rem; color: #3d3630; opacity: 0.75; }
.hidden { display: none !important; }

/* --- Footer --- */
.footer { background: #064e3b; color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: #fff; margin-bottom: 1rem; }
.footer-logo-mark { width: 36px; height: 36px; background: #059669; color: #fff; font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; }
.footer-tagline { font-size: 0.9rem; line-height: 1.75; max-width: 320px; }
.footer-nav strong, .footer-contact strong { display: block; color: #fff; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-nav ul, .footer-contact ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a, .footer-contact a, .footer-bottom a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-nav a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: #6ee7b7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; font-size: 0.82rem; }

/* --- Scroll Reveal --- */
.reveal { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal[data-reveal] { opacity: 0; transform: translateY(24px); }
.reveal.revealed { opacity: 1; transform: none; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; margin-top: 2rem; }
  .stat-card { flex: 1; min-width: 160px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
  .about-grid { gap: 2.5rem; }
  .about-image-accent { right: -15px; bottom: -20px; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .nav-links { position: fixed; top: 72px; left: 0; right: 0; background: rgba(254,253,248,0.98); backdrop-filter: blur(12px); flex-direction: column; padding: 2rem; gap: 1.25rem; border-bottom: 1px solid rgba(6,78,59,0.08); transform: translateY(-120%); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; pointer-events: none; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-toggle { display: block; }
  .nav-cta { justify-content: center; }
  .hero { min-height: auto; padding: 7rem 0 3rem; }
  .hero-card { padding: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { order: -1; max-width: 480px; margin: 0 auto; }
  .about-image-accent { width: 50%; right: -10px; bottom: -15px; }
  .about-experience-badge { top: -15px; left: -10px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item--1, .gallery-item--2, .gallery-item--3, .gallery-item--4, .gallery-item--5 { grid-column: span 1; }
  .gallery-item { min-height: 200px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 1; max-width: 100%; }
  .cta-card { padding: 2.5rem 1.5rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-card { padding: 1.5rem; }
  .hero-stats { flex-direction: column; }
  .stat-card { flex: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { min-height: 220px; }
}
