/* ====================================================
   DAZZLER HOME PAGE - STRICT DESIGN REPLICATION
   Mobile-First Premium Salon App Style
   ==================================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #F5EFE7;
    color: #1A1A1A;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ====================================================
   1) TOP NAVBAR - 8-10% viewport height
   ==================================================== */
.navbar {
    position: sticky;
    top: 0;
    height: 9vh;
    background-color: #F5EFE7;
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    max-width: 100%;
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 120px);
}

.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #1A1A1A;
}

@media (min-width: 768px) {
    .nav-container {
        padding: 0 40px;
    }
    
    .logo {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 60px;
    }
    
    .logo {
        font-size: 2.5rem;
    }
}

.menu-icon {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.menu-icon span {
    width: 24px;
    height: 2px;
    background-color: #1A1A1A;
    transition: all 0.3s ease;
}

/* ====================================================
   2) HERO SECTION - 55-60% viewport height
   ==================================================== */
.hero {
    position: relative;
    height: 58vh;
    min-height: 400px;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-width: 100%;
    transform: scale(1.02);
}

@media (min-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 450px;
    }
}

@media (min-width: 1024px) {
    .hero {
        height: 55vh;
        min-height: 500px;
    }
    
    .hero-image img {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.hero-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.25rem, 8vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.cta-button {
    background-color: #8B4513;
    color: #FFFFFF;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    width: 65%;
    max-width: 280px;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
}

.cta-button:active {
    transform: scale(0.97);
}

/* ====================================================
   3) SERVICE TITLE SECTION - 6-8% viewport height
   ==================================================== */
.service-title {
    height: 7vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.service-title h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1A1A1A;
    text-align: center;
}

/* ====================================================
   4) THREE IMAGES SECTION - Horizontal Layout
   ==================================================== */
.three-images-section {
    height: 25vh;
    padding: 12px 20px;
    display: flex;
    align-items: center;
}

.three-images-container {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.image-item {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(26, 26, 26, 0.02);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ====================================================
   5) HORIZONTAL IMAGE SECTION - 18-22% viewport height
   ==================================================== */
.horizontal-image {
    height: 20vh;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.image-container {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ====================================================
   6) SUPPORTING CONTENT SECTION - 8-10% viewport height
   ==================================================== */
.supporting-content {
    height: 9vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.supporting-content p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 600;
    font-style: normal;
    color: #1A1A1A;
    text-align: center;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ====================================================
   7) THE DAZZLER EXPERIENCE SECTION
   ==================================================== */
.experience-section {
    padding: 40px 20px;
    text-align: center;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    gap: 8px;
}

.divider-line {
    width: 60px;
    height: 1px;
    background-color: #8B4513;
}

.divider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #8B4513;
}

.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1A1A1A;
    margin-bottom: 20px;
}

.section-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
    line-height: 1.8;
    color: #4A4A4A;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* ====================================================
   8) THE DAZZLER CREW SECTION
   ==================================================== */
.crew-section {
    padding: 40px 20px;
    text-align: center;
}

/* ====================================================
   9) STYLE IMAGES SECTION - Horizontal Layout
   ==================================================== */
.style-images-section {
    height: 25vh;
    padding: 12px 20px;
    display: flex;
    align-items: center;
}

.style-images-container {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.style-item {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(26, 26, 26, 0.02);
}

.style-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ====================================================
   10) TRUST LINE SECTION - 4-6% viewport height
   ==================================================== */
.trust-line {
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    margin-bottom: 20px;
}

.trust-line p {
    font-size: 0.875rem;
    color: #6E6E6E;
    text-align: center;
    font-weight: 400;
}

/* ====================================================
   SMALL MOBILE OPTIMIZATION (max 375px)
   ==================================================== */
@media (max-width: 375px) {
    .three-images-section {
        height: 22vh;
        padding: 10px 16px;
    }
    
    .three-images-container {
        gap: 8px;
    }
    
    .image-item {
        border-radius: 10px;
    }
    
    .style-images-section {
        height: 22vh;
        padding: 10px 16px;
    }
    
    .style-images-container {
        gap: 8px;
    }
    
    .style-item {
        border-radius: 10px;
    }
}

/* ====================================================
   TABLET RESPONSIVENESS (768px and up)
   ==================================================== */
@media (min-width: 768px) {
    .navbar {
        height: 8vh;
    }
    
    .logo {
        font-size: 1.75rem;
    }
    
    .hero {
        height: 50vh;
    }
    
    .hero-overlay {
        padding: 32px 40px 40px;
    }
    
    .hero-text {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
        margin-bottom: 28px;
    }
    
    .cta-button {
        width: 50%;
        max-width: 320px;
        padding: 18px 40px;
        font-size: 0.9375rem;
    }
    
    .service-title {
        height: 8vh;
        padding: 0 40px;
    }
    
    .service-title h2 {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
    }
    
    .three-images-section {
        height: 26vh;
        padding: 16px 40px;
    }
    
    .three-images-container {
        gap: 16px;
    }
    
    .image-item {
        border-radius: 16px;
    }
    
    .style-images-section {
        height: 26vh;
        padding: 16px 40px;
    }
    
    .style-images-container {
        gap: 16px;
    }
    
    .style-item {
        border-radius: 16px;
    }
    
    .horizontal-image {
        height: 22vh;
        padding: 0 40px;
    }
    
    .image-container {
        border-radius: 20px;
    }
    
    .supporting-content {
        height: 10vh;
        padding: 0 40px;
    }
    
    .supporting-content p {
        font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    }
    
    .experience-section,
    .crew-section {
        padding: 50px 40px;
    }
    
    .section-heading {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
        margin-bottom: 24px;
    }
    
    .section-description {
        font-size: clamp(1rem, 2.5vw, 1.125rem);
        max-width: 800px;
    }
    
    .divider-line {
        width: 80px;
    }
    
    .divider-dot {
        width: 7px;
        height: 7px;
    }
    
    .trust-line {
        height: 6vh;
        padding: 0 40px;
    }
    
    .trust-line p {
        font-size: 0.9375rem;
    }
}

/* ====================================================
   DESKTOP RESPONSIVENESS (1024px and up)
   ==================================================== */
@media (min-width: 1024px) {
    body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .navbar,
    .hero,
    .service-title,
    .horizontal-image,
    .supporting-content,
    .trust-line {
        max-width: 1200px;
        width: 100%;
    }
    
    .navbar {
        height: 10vh;
    }
    
    .nav-container {
        padding: 0 60px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .hero {
        height: 55vh;
        border-radius: 0;
    }
    
    .hero-overlay {
        padding: 40px 60px 48px;
    }
    
    .hero-text {
        font-size: 3.5rem;
        max-width: 600px;
    }
    
    .cta-button {
        width: auto;
        min-width: 280px;
        padding: 20px 48px;
        font-size: 1rem;
    }
    
    .cta-button:hover {
        background-color: #A0522D;
        box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    }
    
    .service-title {
        height: 10vh;
        padding: 0 60px;
    }
    
    .service-title h2 {
        font-size: 2.5rem;
    }
    
    .three-images-section {
        height: 28vh;
        padding: 20px 60px;
    }
    
    .three-images-container {
        gap: 20px;
    }
    
    .image-item {
        border-radius: 20px;
    }
    
    .style-images-section {
        height: 28vh;
        padding: 20px 60px;
    }
    
    .style-images-container {
        gap: 20px;
    }
    
    .style-item {
        border-radius: 20px;
    }
    
    .horizontal-image {
        height: 24vh;
        padding: 0 60px;
    }
    
    .image-container {
        border-radius: 24px;
    }
    
    .supporting-content {
        height: 12vh;
        padding: 0 60px;
    }
    
    .supporting-content p {
        font-size: 1.5rem;
    }
    
    .experience-section,
    .crew-section {
        padding: 60px 60px;
    }
    
    .section-heading {
        font-size: 2.5rem;
        margin-bottom: 28px;
    }
    
    .section-description {
        font-size: 1.125rem;
        max-width: 900px;
        line-height: 2;
    }
    
    .divider-line {
        width: 100px;
    }
    
    .divider-dot {
        width: 8px;
        height: 8px;
    }
    
    .trust-line {
        height: 8vh;
        padding: 0 60px;
    }
    
    .trust-line p {
        font-size: 1rem;
    }
}

/* ====================================================
   LARGE DESKTOP (1440px and up)
   ==================================================== */
@media (min-width: 1440px) {
    .navbar,
    .hero,
    .service-title,
    .horizontal-image,
    .supporting-content,
    .trust-line {
        max-width: 1400px;
    }
    
    .hero-text {
        font-size: 4rem;
    }
}

/* ====================================================
   ACCESSIBILITY & TOUCH OPTIMIZATION
   ==================================================== */
@media (hover: none) and (pointer: coarse) {
    .cta-button {
        min-height: 52px;
        padding: 18px 36px;
    }
    
    .menu-icon {
        padding: 12px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .navbar {
        border-bottom: 2px solid #1A1A1A;
    }
    
    .cta-button {
        border: 2px solid #FFFFFF;
    }
}

/* Print styles */
@media print {
    .navbar,
    .menu-icon,
    .cta-button {
        display: none;
    }
    
    body {
        background-color: white;
    }
}
