/* ============================================
   Santafé Peluquería — Stylesheet
   Palette: Deep Navy (#1B2A4A) + Warm Gold (#C9A962)
   Fonts: Cormorant Garamond + Lato
   ============================================ */

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

:root {
    --navy: #1B2A4A;
    --navy-light: #243656;
    --navy-dark: #131f36;
    --gold: #C9A962;
    --gold-light: #D4BA7A;
    --gold-dark: #B8944F;
    --cream: #FAF7F2;
    --cream-dark: #F3EDE4;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Lato', 'Segoe UI', sans-serif;
    --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.08);
    --shadow-md: 0 4px 20px rgba(27, 42, 74, 0.12);
    --shadow-lg: 0 8px 40px rgba(27, 42, 74, 0.16);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

em {
    font-style: italic;
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--navy);
    margin-bottom: 20px;
}

.section-title em {
    color: var(--gold);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 0;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

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

.navbar.scrolled {
    background: rgba(27, 42, 74, 0.97);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

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

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
    position: relative;
}

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

.nav-link:hover {
    color: var(--gold);
}

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

.nav-link-cta {
    background: var(--gold);
    color: var(--navy-dark) !important;
    padding: 10px 20px;
    border-radius: 0;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: var(--gold-light);
    color: var(--navy-dark) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: 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(
        180deg,
        rgba(19, 31, 54, 0.7) 0%,
        rgba(27, 42, 74, 0.6) 50%,
        rgba(19, 31, 54, 0.8) 100%
    );
    z-index: 1;
}

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

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title em {
    color: var(--gold);
    font-weight: 400;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

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

.about-image-main {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-wrap:hover .about-image-main img {
    transform: scale(1.03);
}

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border: 6px solid var(--cream);
}

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

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--navy);
    color: var(--white);
    padding: 24px;
    text-align: center;
    z-index: 2;
}

.about-badge .badge-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold);
    line-height: 1;
}

.about-badge .badge-text {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
}

.feature-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.services-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(201, 169, 98, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 169, 98, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.services .section-label {
    color: var(--gold);
}

.services .section-title {
    color: var(--white);
}

.services .section-title em {
    color: var(--gold);
}

.services .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 169, 98, 0.15);
    padding: 40px 32px;
    transition: all var(--transition);
}

.service-card:hover {
    background: rgba(201, 169, 98, 0.08);
    border-color: rgba(201, 169, 98, 0.4);
    transform: translateY(-4px);
}

.service-icon {
    color: var(--gold);
    margin-bottom: 24px;
}

.service-name {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

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

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 42, 74, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-overlay span {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
}

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

/* ============================================
   CTA
   ============================================ */
.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 31, 54, 0.85);
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 20px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
}

.detail-text strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 4px;
}

.detail-text p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.detail-text a {
    color: var(--text-medium);
}

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

/* Form */
.contact-form-wrap {
    background: var(--cream);
    padding: 48px;
}

.form-title {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 32px;
}

.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.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid #E0D8CC;
    outline: none;
    transition: border-color var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

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

.form-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    margin: 0 auto 20px;
}

.form-success h4 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ============================================
   MAP
   ============================================ */
.map-section {
    background: var(--navy-dark);
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 350px;
    filter: grayscale(60%) contrast(1.1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--gold);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

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

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

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.35);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image-accent {
        right: 0;
        bottom: -20px;
    }
    
    .about-badge {
        left: 0;
        top: -10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--wide,
    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 1;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrap {
        padding: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .about,
    .services,
    .gallery,
    .contact {
        padding: 80px 0;
    }
    
    .contact-form-wrap {
        padding: 24px;
    }
}
