:root {
    --primary-color: #D4A373; /* Warm Sand/Caramel */
    --primary-dark: #B58453;
    --secondary-color: #FAEDCD; /* Light Beige */
    --bg-color: #FFFDF8; /* Off-white warm */
    --bg-light: #FEFAE0; /* Slightly more colorful background */
    --text-color: #4A3B32; /* Soft Dark Brown */
    --text-light: #7A695E;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    /* Highly detailed seamless Mehndi pattern */
    background-image: linear-gradient(rgba(255, 253, 248, 0.93), rgba(255, 253, 248, 0.93)), url('../images/mehndi_pattern.jpg');
    background-size: 600px 600px;
    background-repeat: repeat;
    line-height: 1.5;
    font-size: 15px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

main, section, header, footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, span, a, li, button, input, textarea {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

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

.container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Compact section spacing */
.section {
    padding: 48px 0;
}

.bg-light {
    background-color: var(--bg-light);
    background-image: linear-gradient(rgba(254, 250, 224, 0.93), rgba(254, 250, 224, 0.93)), url('../images/mehndi_pattern.jpg');
    background-size: 600px 600px;
    background-repeat: repeat;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
    margin-bottom: 2rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.text-center.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 16px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 163, 115, 0.4);
}

.btn-outline {
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary-dark);
}

.w-100 {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 253, 248, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    padding: 12px 0;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--primary-dark);
    white-space: nowrap;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav a {
    font-size: 0.92rem;
    font-weight: 500;
}

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

.header-contact a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
    white-space: nowrap;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
    padding: 5px 8px;
    border-radius: 6px;
    background: transparent;
    border: none;
    line-height: 1;
    z-index: 1001;
}

/* Hero Section (Compact & Filled) */
.hero {
    min-height: 480px;
    padding: 105px 0 45px;
    background: url('../images/photo_2026-08-31_16-16-09.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(74, 59, 50, 0.85), rgba(74, 59, 50, 0.48));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 680px;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.15;
}

.hero p {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    margin-bottom: 22px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    margin-top: 22px;
    font-size: 0.88rem;
    opacity: 0.92;
}

.hero-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-features i {
    color: var(--primary-color);
}

/* Specializations / Badges (Optimized Size & Toggle Fix) */
.specializations {
    background-color: var(--primary-color);
    padding: 12px 0;
    overflow: hidden;
    width: 100%;
}

.spec-scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 6px;
    width: 100%;
}

.badge {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 5px 13px;
    border-radius: 16px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: normal;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
    border: 1.5px solid transparent;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Desktop Hover only - prevents sticky hover on mobile tap */
@media (hover: hover) and (pointer: fine) {
    .badge:not(.selected):hover {
        background-color: rgba(255, 255, 255, 0.32);
        color: #fff;
        transform: translateY(-2px);
    }
}

/* Selected state (White background with dark text) */
.badge.selected {
    background-color: #fff !important;
    color: var(--primary-dark) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #fff;
    font-weight: 700;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.stylized-photo {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(212, 163, 115, 0.25);
    filter: sepia(0.3) contrast(1.1) brightness(1.05);
    transition: transform 0.4s ease, filter 0.4s ease;
    display: block;
}

.stylized-photo:hover {
    transform: translateY(-3px);
    filter: sepia(0.1) contrast(1.1) brightness(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -12px;
    right: -12px;
    background-color: var(--primary-dark);
    color: #fff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    border: 4px solid var(--bg-color);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.experience-badge .number {
    font-size: 2.1rem;
    font-family: var(--font-heading);
    font-weight: bold;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.72rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-text .text-content p {
    margin-bottom: 0.85rem;
    color: var(--text-light);
    font-size: 0.96rem;
}

/* Services */
.price-list {
    max-width: 780px;
    margin: 0 auto;
    width: 100%;
}

.price-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
    font-size: 1rem;
    transition: var(--transition);
    padding: 6px 10px;
    border-radius: 8px;
    width: 100%;
}

.price-item:hover {
    transform: translateX(5px);
    background-color: rgba(255,255,255,0.6);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.price-name {
    font-weight: 500;
}

.price-dots {
    flex-grow: 1;
    border-bottom: 1px dotted var(--primary-color);
    margin: 0 12px;
    opacity: 0.5;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    white-space: nowrap;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.gallery-item img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
}

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
}

.contact-card {
    background-color: #fff;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    width: 100%;
}

.contact-card h3, .feedback-form-container h3 {
    margin-bottom: 14px;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.contact-card p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.contact-card i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 22px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    width: 100%;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition);
    width: 100%;
}

.social-icon:hover {
    transform: translateX(4px);
    color: #fff;
}

.whatsapp { background-color: #25D366; }
.telegram { background-color: #0088cc; }
.max-messenger { background-color: #8C52FF; } /* Modern Purple for MAX */
.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.feedback-form-container {
    background-color: #fff;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    width: 100%;
}

.form-group {
    margin-bottom: 12px;
    width: 100%;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2);
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.92rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
}

.contact-map {
    width: 100%;
    max-width: 100%;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: #fff;
    padding: 24px 0;
    width: 100%;
}

.footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 992px) {
    .section {
        padding: 40px 0;
    }
    .about-grid, .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-image {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    .header .container {
        padding: 0 15px;
    }
    .logo a {
        font-size: 1.5rem;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-contact {
        display: none;
    }
    .nav {
        position: fixed;
        top: 55px; /* Matches mobile header height */
        left: 0;
        right: 0;
        width: 100%;
        background-color: #fff;
        padding: 18px 15px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.12);
        display: none;
        border-top: 1px solid rgba(212, 163, 115, 0.2);
        z-index: 999;
    }
    .nav.active {
        display: block;
    }
    .nav ul {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
    .nav a {
        font-size: 1.1rem;
        display: block;
        padding: 5px 0;
    }
    .hero {
        min-height: auto;
        padding: 85px 0 35px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .hero-buttons .btn {
        width: 100%;
        padding: 11px 20px;
    }
    .section {
        padding: 35px 0;
    }
    .section-title {
        font-size: 1.65rem;
        margin-bottom: 1.4rem;
    }
    .experience-badge {
        bottom: 10px;
        right: 10px;
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    .experience-badge .number {
        font-size: 1.6rem;
    }
    .experience-badge .text {
        font-size: 0.6rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .contact-card, .feedback-form-container {
        padding: 18px 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .section {
        padding: 28px 0;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
    .badge {
        font-size: 0.78rem;
        padding: 5px 10px;
    }
    .price-item {
        font-size: 0.92rem;
        padding: 4px 6px;
        margin-bottom: 8px;
    }
    .price-dots {
        margin: 0 6px;
    }
    .price-value {
        font-size: 1.1rem;
    }
    .social-icon {
        padding: 9px 14px;
        font-size: 0.88rem;
    }
    .contact-card, .feedback-form-container {
        padding: 16px 12px;
        border-radius: 14px;
    }
}
