/* ==========================================
   Homepage — Engaging Layout & Interactions
   ========================================== */

/* ---- Hero ---- */
.home-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    padding: 120px 20px 80px;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(52, 32, 41, 0.82) 0%, rgba(148, 48, 88, 0.55) 50%, rgba(52, 32, 41, 0.75) 100%),
        url('../img/banner-BookMyboutique.png') center/cover no-repeat;
    z-index: 0;
    animation: heroKenBurns 20s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

.home-hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.home-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.home-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
    animation: fadeInUp 0.8s 0.1s ease both;
}

.home-hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin: 0 auto 32px;
    animation: fadeInUp 0.8s 0.2s ease both;
}

.home-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s 0.3s ease both;
}

.home-hero-ctas .btn-boutique-secondary {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white) !important;
}

.home-hero-ctas .btn-boutique-secondary:hover {
    background: var(--white);
    color: var(--primary) !important;
    border-color: var(--white);
}

.home-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    animation: fadeInUp 0.8s 0.4s ease both;
}

.home-hero-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.home-hero-trust i {
    color: var(--secondary);
}

.home-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    animation: bounce 2s infinite;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---- Stats Strip ---- */
.home-stats {
    background: var(--white);
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.home-stats-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(148, 48, 88, 0.06);
    overflow: hidden;
}

.home-stat {
    padding: 32px 20px;
    text-align: center;
    border-right: 1px solid rgba(148, 48, 88, 0.06);
    transition: var(--transition);
}

.home-stat:last-child { border-right: none; }

.home-stat:hover {
    background: var(--light);
}

.home-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.home-stat-number span {
    font-size: 1.4rem;
    color: var(--secondary);
}

.home-stat-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* ---- Section Shared ---- */
.home-section {
    padding: 90px 0;
}

.home-section-alt {
    background: var(--white);
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 12px;
}

.section-title-home {
    text-align: center;
    margin-bottom: 56px;
}

.section-title-home h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
}

.section-title-home p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.section-title-home h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ---- Services Grid ---- */
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.home-service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid rgba(148, 48, 88, 0.06);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.home-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.home-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.home-service-card:hover::before {
    transform: scaleX(1);
}

.home-service-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(148, 48, 88, 0.08), rgba(232, 150, 122, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.home-service-card:hover .home-service-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: rotate(-8deg) scale(1.05);
}

.home-service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.home-service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.home-service-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-service-link:hover {
    color: var(--primary);
    gap: 10px;
}

/* ---- Why Choose Us ---- */
.home-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-why-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.home-why-image img {
    width: 100%;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.home-why-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.home-why-badge strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary);
}

.home-why-badge span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.home-why-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.home-why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.home-why-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.home-why-item-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.home-why-item h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.home-why-item p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
}

/* ---- Portfolio Preview ---- */
.home-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

a.home-portfolio-item {
    display: block;
    color: inherit;
}

.home-portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.home-portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-portfolio-item:hover img {
    transform: scale(1.1);
}

.home-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(52, 32, 41, 0.92) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.home-portfolio-item:hover .home-portfolio-overlay {
    opacity: 1;
}

.home-portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.home-portfolio-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.home-portfolio-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ---- Process Steps ---- */
.home-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.home-process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--primary));
    z-index: 0;
}

.home-process-step {
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.home-process-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 6px var(--light), var(--shadow-md);
    transition: var(--transition);
}

.home-process-step:hover .home-process-num {
    transform: scale(1.12);
    box-shadow: 0 0 0 6px var(--light), var(--shadow-lg);
}

.home-process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.home-process-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ---- Testimonials Carousel ---- */
.home-testimonials-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.home-testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-testimonial-card {
    min-width: 100%;
    padding: 48px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(148, 48, 88, 0.06);
    text-align: center;
}

.home-testimonial-card .stars {
    color: var(--secondary);
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.home-testimonial-card blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-style: italic;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 28px;
}

.home-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.home-testimonial-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.home-testimonial-author h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.home-testimonial-author p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.home-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.home-testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(148, 48, 88, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.home-testimonial-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* ---- CTA Banner ---- */
.home-cta-banner {
    background:
        linear-gradient(135deg, rgba(52, 32, 41, 0.9), rgba(148, 48, 88, 0.85)),
        url('../img/cta-bg.jpg') center/cover no-repeat;
    padding: 90px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.home-cta-banner::before {
    content: '✂';
    position: absolute;
    font-size: 280px;
    opacity: 0.04;
    right: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(-20deg);
    pointer-events: none;
}

.home-cta-banner h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.home-cta-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 12px;
}

.home-cta-offer {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    font-weight: 700;
    font-size: 14px;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.home-cta-actions .btn-whatsapp {
    background: #25d366;
    color: var(--white) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.home-cta-actions .btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ---- FAQ ---- */
.home-faq .accordion-item {
    border: 1px solid rgba(148, 48, 88, 0.08);
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
}

.home-faq .accordion-button {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    box-shadow: none;
}

.home-faq .accordion-button:not(.collapsed) {
    background: var(--light);
    color: var(--primary);
}

.home-faq .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.home-faq .accordion-body {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ---- Scroll Reveal ---- */
/* Content visible by default; JS adds animation when supported */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal .reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .home-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .home-process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .home-hero {
        min-height: 85vh;
        padding-top: 100px;
    }

    .home-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        margin: 0 16px;
    }

    .home-stat:nth-child(2) { border-right: none; }
    .home-stat:nth-child(1),
    .home-stat:nth-child(2) {
        border-bottom: 1px solid rgba(148, 48, 88, 0.06);
    }

    .home-services-grid,
    .home-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .home-process-steps {
        grid-template-columns: 1fr;
    }

    .home-testimonial-card {
        padding: 32px 24px;
    }

    .home-section {
        padding: 60px 0;
    }
}
