/* 
   Khushi Mehndi Art - Premium Design System
   Luxury Theme - Deep Maroon & Cream
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #902136;
    --primary-light: #ab2841;
    --bg-cream: #F8F5F2;
    --accent-gold: #C9A646;
    --text-dark: #1A1A1A;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --border: rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 50px rgba(144, 33, 54, 0.2);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.font-heading {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Section Styling --- */
section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 12px;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 90px;
    height: 3px;
    background-color: var(--primary);
    margin-top: 8px;
    border-radius: 4px;
}

.text-center .section-title::after,
.section-title.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 60px;
}

/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(248, 245, 242, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(144, 33, 54, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

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

.btn-whatsapp:hover {
    background-color: #1ebd57;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* --- GLOBAL HOVER EFFECT (STRICT REQUIREMENT) --- */
.luxury-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.luxury-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--primary) !important;
}

/* --- Hero --- */
#hero {
    padding-top: 180px;
    padding-bottom: 80px;
}

.urgency-badge {
    background: rgba(144, 33, 54, 0.05);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    display: inline-block;
    border: 1px solid rgba(144, 33, 54, 0.1);
    margin-bottom: 24px;
}

.hero-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin: 30px 0;
}

.hero-img-box {
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.floating-badge {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: float 4s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* --- Trust Bar --- */
.trust-bar {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    border: 1px solid var(--border);
}

.trust-item {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.trust-item:hover {
    transform: translateY(-5px);
    color: var(--primary);
}

/* --- Pricing --- */
.pricing-card.featured {
    border: 2px solid var(--primary);
    background: rgba(144, 33, 54, 0.02);
}

.package-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

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

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

/* --- Testimonials --- */
.testimonial-card {
    border-left: 5px solid var(--primary) !important;
}

/* --- FAQ --- */
.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-header {
    width: 100%;
    padding: 20px 30px;
    text-align: left;
    background: transparent;
    border: none;
    font-weight: 800;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header i {
    transition: var(--transition);
    color: var(--primary);
}

.faq-body {
    padding: 0 30px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: none;
}

.faq-item.active .faq-body {
    display: block;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

/* --- Contact --- */
.contact-container {
    width: 80% !important;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

input,
select {
    width: 100%;
    padding: 20px 25px;
    border-radius: 12px;
    border: 1.5px solid #E5E7EB;
    background: #F9FAFB;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(144, 33, 54, 0.1);
}

/* --- Testimonial Slider --- */
.testimonial-slider-wrapper {
    position: relative;
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 72px;
}

.slider-viewport {
    overflow: hidden;
    padding: 20px 0 36px;
}

.slider-track {
    display: flex;
    gap: 0;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slider-item {
    flex: 0 0 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .slider-item {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .slider-item {
        flex: 0 0 33.333333%;
    }
}

/* Card */
.testimonial-card-v2 {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 28px;
    border: 1px solid #f1f1f1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card-v2:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(144, 33, 54, 0.12);
    border-color: #902136;
}

/* Review text */
.testimonial-card-v2>p {
    font-size: 15px;
    line-height: 1.8;
    color: #555555;
    flex: 1;
}

/* Stars */
.testimonial-card-v2 .text-gold {
    color: #C9A646;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Reviewer name & location */
.reviewer-info h5 {
    font-size: 16px;
    font-weight: 700;
    color: #902136;
    margin-top: 10px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reviewer-info p {
    font-size: 13px;
    color: #888888;
    margin: 0;
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid #eeeeee;
    color: #902136;
}

.slider-arrow:hover {
    background: #902136;
    color: white;
    border-color: #902136;
    box-shadow: 0 8px 24px rgba(144, 33, 54, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 0;
}

.slider-arrow.next {
    right: 0;
}

@media (max-width: 768px) {
    .testimonial-slider-wrapper {
        width: 100%;
        padding: 0 16px;
    }

    .slider-arrow {
        display: none;
    }
}

/* Dots */
.pagination-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #dddddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.35s ease;
    border: none;
    padding: 0;
}

.dot.active {
    width: 25px;
    height: 8px;
    background: #902136;
    border-radius: 4px;
}

.dot:hover:not(.active) {
    background: #902136;
    opacity: 0.5;
}

/* --- Final CTA --- */
.final-cta {
    background-color: var(--primary);
    color: white;
    padding: 80px 0;
    text-align: center;
}

/* --- Footer --- */
footer {
    background: white;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-logo {
    width: 60px;
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    margin-right: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (max-width: 1200px) {
    .contact-container {
        width: 95% !important;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    #hero {
        padding-top: 140px;
    }

    .nav-links {
        display: none;
    }
}