/* HENNISH Premium Classic CSS - Mehndi Green Theme */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

:root {
    /* Color Palette */
    --color-white: #ffffff;
    --color-off-white: #faf9f6;
    --color-black: #1a1a1a;
    --color-dark-gray: #4a4a4a;
    
    /* Soft Mehndi Colors */
    --color-mehndi-green: #40513B;
    --color-mehndi-dark: #2A3626;
    --color-beige: #F5F1E7;
    --color-muted-gold: #D4AF37;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing & Utilities */
    --section-padding: 80px 0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-black);
}

p {
    color: var(--color-dark-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem; /* Better mobile padding */
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--color-off-white);
}

.bg-accent {
    background-color: var(--color-beige);
}

.bg-dark {
    background-color: var(--color-mehndi-dark);
    color: var(--color-white);
}

.bg-dark p, .bg-dark h2, .bg-dark h3 {
    color: var(--color-white);
}

.center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-mehndi-dark);
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    margin: 12px auto 0;
    background-color: #c8a45d;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
}

.light-text {
    color: var(--color-white) !important;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden; /* Avoid wide children expanding it */
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-mehndi-dark);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary, .btn-submit {
    padding: 0.8rem 2rem;
    background-color: var(--color-mehndi-green);
    color: var(--color-white) !important;
    border: 1px solid var(--color-mehndi-green);
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-submit { 
    width: 100%;
    margin-top: 1rem;
}

.btn-primary:hover, .btn-submit:hover {
    background-color: var(--color-mehndi-dark);
    border-color: var(--color-mehndi-dark);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    color: var(--color-mehndi-dark);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch; /* Stretch links for easier tapping */
    padding: 6rem 2rem 2rem;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
}

.mobile-nav.open {
    right: 0;
    box-shadow: -100vw 0 0 100vw rgba(0,0,0,0.5); /* Massive shadow backdrop */
}

.mobile-nav a {
    font-size: 1.1rem;
    padding: 1.2rem 0;
    color: var(--color-mehndi-dark);
    font-family: var(--font-body); /* Body font for cleaner drawer look */
    border-bottom: 1px solid var(--color-beige);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav a:last-of-type {
    border-bottom: none;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    color: var(--color-mehndi-dark);
}

/* Hero Section (Restored Canvas) */
.hero {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    width: 100%;
    max-width: 100vw;
    position: relative;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.canvas-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#hero-canvas {
    width: 100%;
    height: 100%;
}

@media (max-width: 480px) {
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-line {
        height: 25px;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-black);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background-color: rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--color-mehndi-green);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* About Grid */
.about-grid {
    display: flex;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px) {
    .about-grid {
        max-width: 100%;
    }
    
    .about-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .about-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1rem;
    color: var(--color-dark-gray);
    line-height: 1.8;
}

/* Filter Buttons */
.design-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    margin-top: 1.5rem;
}

.filter-row {
    display: contents; /* Wrappers don't affect desktop flex flow */
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-mehndi-green);
    color: var(--color-mehndi-green);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--color-mehndi-green);
    color: var(--color-white);
}

/* Grids */
.design-grid, .collection-grid, .packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Services Clean Text List */
.services-list-container {
    max-width: 600px;
    margin: 2rem auto 0;
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--color-beige);
}

@media (max-width: 768px) {
    .services-list-container {
        padding: 1.5rem;
    }
    
    .services-text-list li {
        font-size: 0.95rem;
        padding: 0.8rem 0;
    }
}

.services-text-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-text-list li {
    font-size: 1.1rem;
    color: var(--color-black);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-beige);
    display: flex;
    align-items: center;
}

.services-text-list li::before {
    content: '•';
    color: var(--color-muted-gold);
    font-size: 1.5rem;
    margin-right: 12px;
}

.services-text-list li:last-child {
    border-bottom: none;
}

/* Pricing Clean List (Editable map) */
.packages-list-container {
    max-width: 700px;
    margin: 2rem auto 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-beige);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.price-item:hover {
    border-color: var(--color-muted-gold);
    transform: translateY(-2px);
}

.price-name {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--color-mehndi-dark);
}

.price-name i {
    color: var(--color-muted-gold);
    margin-right: 8px;
    vertical-align: middle;
}

.price-val {
    font-weight: 600;
    color: var(--color-black);
}

/* Cards */
.card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: 1px solid var(--color-beige);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

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

.card:hover .card-img-wrapper img {
    transform: scale(1.03);
}

.card-content {
    padding: 1.25rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-muted-gold);
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--color-mehndi-dark);
}

.card-price {
    font-weight: 600;
    color: var(--color-black);
    font-size: 1.05rem;
}

/* Contact Specific */
.artist-card {
    max-width: 500px;
    margin: 2rem auto 0;
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    color: var(--color-black);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .artist-card {
        padding: 2rem 1.2rem;
    }
    
    .artist-card h3 {
        font-size: 1.6rem !important;
    }
}

.artist-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-mehndi-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.whatsapp-color {
    color: #25D366 !important;
}

.instagram-color {
    color: #E4405F !important;
}

.contact-card-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
    align-items: flex-start;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.link-row {
    color: var(--color-mehndi-dark);
    font-weight: 500;
}

.link-row:hover {
    color: var(--color-muted-gold);
    transform: translateX(4px);
}

.icon-contact {
    width: 18px;
    height: 18px;
    color: var(--color-muted-gold);
    flex-shrink: 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe56;
    color: white;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
}

/* Image Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 3000; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(64, 81, 59, 0.95); /* Deep mehndi overlay */
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    animation: zoom 0.3s;
}

#modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--color-white);
    padding: 15px 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform:scale(0.95); opacity:0} 
    to {transform:scale(1); opacity:1}
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--color-white);
    font-size: 40px;
    cursor: pointer;
    transition: 0.2s;
}

.modal-close:hover {
    color: var(--color-muted-gold);
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
    }
    
    #modal-caption {
        font-size: 0.9rem;
    }
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--color-mehndi-dark);
    color: var(--color-white);
}

/* Responsive Overrides (Ensuring perfect parity across views) */
@media (max-width: 991px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.1rem;
    }
    
    .logo {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .section-padding {
        padding: 35px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
        padding: 0; /* Clear padding for max image room */
    }

    .mobile-patterns {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 1;
        opacity: 0.12; /* Low opacity as requested */
    }

    .pattern-corner {
        position: absolute;
        width: 120px;
        height: 120px;
        background-image: url('mehndi_pattern_corner_1777349714061.png');
        background-size: contain;
        background-repeat: no-repeat;
    }

    .top-left { top: 60px; left: 0; }
    .top-right { top: 60px; right: 0; transform: rotate(90deg); }
    .bottom-left { bottom: 60px; left: 0; transform: rotate(-90deg); }
    .bottom-right { bottom: 60px; right: 0; transform: rotate(180deg); }

    .scroll-indicator {
        bottom: 8px;
        z-index: 5;
    }

    .about-content {
        padding: 0 0.5rem;
    }

    .about-content h2 {
        font-size: 1.5rem !important;
    }

    .about-content p {
        font-size: 0.8rem;
    }

    .services-text-list li {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }

    .design-filters {
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }

    .filter-row {
        display: flex;
        justify-content: center;
        gap: 0.4rem;
        width: 100%;
    }

    .filter-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.65rem;
        white-space: nowrap; /* No wrapping as requested */
        flex-shrink: 0;
    }

    .design-grid, .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .card {
        max-width: 100%;
        margin: 0;
        border-radius: 8px;
    }

    .card-img-wrapper {
        aspect-ratio: 4/5; /* Fixed aspect ratio to keep all image frames exactly the same height */
        height: auto;
    }

    .card-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Cover behavior to eliminate white gaps */
        object-position: center; /* Center alignment */
    }

    .card-content {
        padding: 0.5rem;
    }

    .card-title {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    .card-category {
        font-size: 0.55rem;
        margin-bottom: 0.2rem;
    }

    .price-item {
        padding: 0.7rem 1rem;
        margin-bottom: 0.5rem;
    }

    .price-name {
        font-size: 0.85rem;
    }

    .price-val {
        font-size: 0.8rem;
    }

    .artist-card {
        width: 90%;
        max-width: none;
        padding: 1.5rem 1rem;
        margin: 1.5rem auto;
        border-radius: 12px;
    }
    
    .artist-card h3.artist-name {
        font-size: 1.3rem !important;
        margin-bottom: 0.25rem !important;
    }

    .artist-location {
        font-size: 0.85rem !important;
        margin-bottom: 1.25rem !important;
        gap: 6px !important;
    }

    .icon-location {
        width: 16px !important;
        height: 16px !important;
    }

    .contact-card-list {
        gap: 0.75rem !important;
        margin-top: 1rem !important;
        padding: 0 0.5rem;
    }

    .contact-row {
        font-size: 0.9rem !important;
        gap: 10px !important;
    }

    .icon-contact {
        width: 18px !important;
        height: 18px !important;
    }

    .artist-card p {
        font-size: 0.8rem;
    }
}

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.4rem;
    }

    .about-content p {
        font-size: 0.75rem;
    }

    .services-list-container {
        padding: 1rem;
        margin-top: 0.8rem;
    }

    .services-text-list li {
        font-size: 0.8rem;
    }

    .filter-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.55rem;
    }

    .why-item {
        padding: 1.2rem 0.8rem;
    }

    .why-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 0.8rem;
    }

    .why-icon i {
        width: 18px;
        height: 18px;
    }

    .why-item h3 {
        font-size: 1rem;
    }
    
    .why-item p {
        font-size: 0.75rem;
    }

    .scroll-text {
        font-size: 0.55rem;
    }
}

/* Why Choose Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--color-beige);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.why-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-muted-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--color-beige);
    color: var(--color-mehndi-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.why-item:hover .why-icon {
    background: var(--color-mehndi-green);
    color: var(--color-white);
}

.why-icon i {
    width: 28px;
    height: 28px;
}

.why-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--color-mehndi-dark);
}

.why-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns as requested */
        gap: 0.8rem;
        align-items: stretch; /* All boxes equal size as requested */
    }
    
    .why-item {
        padding: 1.2rem 1rem;
    }
}
