﻿/* =============================================
   HONEY DOULA - SITE-SPECIFIC STYLES
   Specialized components and page elements
   ============================================= */

/* =============================================
   1. HERO SECTION ENHANCEMENTS
   ============================================= */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hero image with improved handling */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    filter: brightness(0.85);
}

/* Gradient overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 135deg, rgba(58, 58, 58, 0.5) 0%, rgba(156, 175, 136, 0.3) 50%, rgba(58, 58, 58, 0.6) 100% );
    z-index: 2;
}

/* Hero content with animations */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 2rem;
    animation: slideUp 1s ease-out;
}

    .hero-content h1 {
        color: var(--pure-white);
        text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
        margin-bottom: var(--space-md);
        font-weight: 700;
    }

    .hero-content p {
        color: var(--soft-white);
        text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.3);
        margin-bottom: var(--space-lg);
        font-size: 1.5rem;
    }

    .hero-content .btn {
        animation: slideUp 1s ease-out 0.2s both;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
    color: var(--soft-white);
    font-size: 2rem;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* =============================================
   2. CONTENT SECTIONS
   ============================================= */

/* Section headers with decorative elements */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    position: relative;
}

    .section-header h2 {
        margin-bottom: var(--space-md);
    }

    .section-header::after {
        content: '✦';
        display: block;
        margin: var(--space-md) auto 0;
        color: var(--sage);
        font-size: 1.5rem;
        opacity: 0.6;
    }

/* Image with decorative frame */
.img-decorated {
    position: relative;
    display: inline-block;
}

    .img-decorated::before {
        content: '';
        position: absolute;
        top: -15px;
        left: -15px;
        right: 15px;
        bottom: 15px;
        border: 2px solid var(--sage-light);
        border-radius: var(--radius-lg);
        z-index: -1;
    }

    .img-decorated img {
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

/* Two-column content layout */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

    .content-split.reverse {
        direction: rtl;
    }

        .content-split.reverse > * {
            direction: ltr;
        }

@media (max-width: 991.98px) {
    .content-split {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

        .content-split.reverse {
            direction: ltr;
        }
}

/* =============================================
   3. TESTIMONIAL CARDS - ENHANCED
   ============================================= */

.testimonial-card {
    background-color: var(--pure-white);
    border: 2px solid var(--sand-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    /* Decorative corner accent */
    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: -10px;
        left: 20px;
        font-family: var(--font-display);
        font-size: 6rem;
        color: var(--sage-pale);
        line-height: 1;
        z-index: 0;
    }

    .testimonial-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--sage);
    }

    .testimonial-card > * {
        position: relative;
        z-index: 1;
    }

/* Star rating */
.testimonial-rating {
    color: #D4A574;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    letter-spacing: 0.25rem;
}

/* Testimonial text */
.testimonial-text {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--ink);
    font-style: italic;
    flex-grow: 1;
    margin-bottom: var(--space-md);
}

/* Author info */
.testimonial-author {
    text-align: right;
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--sand-light);
}

    .testimonial-author strong {
        font-family: var(--font-ui);
        font-weight: 600;
        color: var(--ink);
        display: block;
        margin-bottom: 0.25rem;
    }

    .testimonial-author .text-muted {
        font-family: var(--font-body);
        font-size: 0.9375rem;
        color: var(--clay) !important;
    }

/* =============================================
   4. CONTACT FORM ENHANCEMENTS
   ============================================= */

.contact-section {
    background: linear-gradient(135deg, var(--soft-white) 0%, var(--sand-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-2xl) 0;
}

.contact-form-card {
    background-color: var(--pure-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(156, 175, 136, 0.1);
}

    .contact-form-card h2 {
        font-family: var(--font-display);
        font-size: clamp(2rem, 4vw, 3rem);
        color: var(--ink);
        margin-bottom: var(--space-sm);
    }

    .contact-form-card .lead {
        color: var(--clay);
        margin-bottom: var(--space-lg);
    }

    .contact-form-card hr {
        border: none;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--sage-light), transparent);
        margin: var(--space-lg) 0;
    }

/* Form field groups */
.form-group {
    margin-bottom: var(--space-md);
}

/* Submit button */
.contact-form-card .btn-primary {
    width: 100%;
    padding: 1.125rem;
    font-size: 1.125rem;
    margin-top: var(--space-md);
}

/* Contact image card */
.contact-image-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

    .contact-image-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(156, 175, 136, 0.1) 0%, transparent 100%);
    }

    .contact-image-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Info cards */
.info-card {
    background-color: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--sage);
}

    .info-card h4 {
        font-family: var(--font-display);
        font-size: 1.5rem;
        color: var(--ink);
        margin-bottom: var(--space-md);
    }

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

    .contact-method:last-child {
        margin-bottom: 0;
    }

    .contact-method i {
        color: var(--sage);
        font-size: 1.5rem;
        margin-top: 0.25rem;
    }

    .contact-method .contact-details {
        flex: 1;
    }

    .contact-method strong {
        font-family: var(--font-ui);
        font-weight: 600;
        color: var(--ink);
        display: block;
        margin-bottom: 0.25rem;
        font-size: 0.9375rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .contact-method a {
        color: var(--sage-dark);
        text-decoration: none;
        font-family: var(--font-body);
        transition: color var(--transition-base);
    }

        .contact-method a:hover {
            color: var(--sage);
            text-decoration: underline;
        }

/* =============================================
   5. CALL-TO-ACTION SECTIONS
   ============================================= */

.cta-section {
    background: linear-gradient(135deg, var(--sage) 0%, var(--moss) 100%);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

    /* Decorative background pattern */
    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
        z-index: 0;
    }

    .cta-section > .container {
        position: relative;
        z-index: 1;
    }

    .cta-section h2 {
        color: var(--pure-white);
        margin-bottom: var(--space-md);
    }

    .cta-section p {
        color: var(--soft-white);
    }

    .cta-section .lead {
        color: var(--soft-white);
        font-size: 1.375rem;
    }

    .cta-section .btn-light {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

        .cta-section .btn-light:hover {
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
        }

    .cta-section img {
        border-radius: var(--radius-xl);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    }

/* =============================================
   6. FOOTER STYLES
   ============================================= */

footer {
    background-color: var(--sand);
    padding: var(--space-xl) 0 var(--space-lg);
    border-top: 1px solid var(--sand-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-section h5 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.footer-section p,
.footer-section ul {
    font-family: var(--font-body);
    color: var(--clay);
    line-height: 1.75;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

    .footer-section ul li {
        margin-bottom: var(--space-xs);
    }

.footer-section a {
    color: var(--clay);
    text-decoration: none;
    transition: color var(--transition-base);
}

    .footer-section a:hover {
        color: var(--sage-dark);
    }

/* Social links */
.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: var(--sage-pale);
        border-radius: 50%;
        color: var(--sage-dark);
        transition: all var(--transition-base);
    }

        .footer-social a:hover {
            background-color: var(--sage);
            color: var(--pure-white);
            transform: translateY(-3px);
        }

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--sand-dark);
}

    .footer-bottom p {
        font-family: var(--font-body);
        font-size: 0.9375rem;
        color: var(--clay);
        margin: 0;
    }

/* =============================================
   7. PAGE TRANSITION EFFECTS
   ============================================= */

.page-transition {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes pageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    animation: pageSlideIn 0.6s ease-out;
}

/* =============================================
   8. ABOUT PAGE COMPONENTS
   ============================================= */

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.credential-card {
    background-color: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

    .credential-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: var(--sage-light);
    }

.credential-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sage-light), var(--sage));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 1.75rem;
    color: var(--pure-white);
}

.credential-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: var(--space-sm);
}

.credential-card p {
    font-size: 1rem;
    color: var(--clay);
    margin: 0;
}

/* =============================================
   9. SERVICES PAGE COMPONENTS
   ============================================= */

.service-card {
    background-color: var(--pure-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--sage), var(--moss));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform var(--transition-base);
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: var(--sage-light);
    }

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--sage), var(--moss));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 2rem;
    color: var(--pure-white);
    box-shadow: var(--shadow-sm);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--ink);
    margin-bottom: var(--space-md);
}

.service-card p {
    color: var(--clay);
    flex-grow: 1;
    margin-bottom: var(--space-md);
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md);
}

    .service-card ul li {
        position: relative;
        padding-left: var(--space-lg);
        margin-bottom: var(--space-sm);
        color: var(--ink);
    }

        .service-card ul li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--sage);
            font-weight: bold;
        }

/* =============================================
   10. FAQ PAGE COMPONENTS
   ============================================= */

.faq-item {
    background-color: var(--pure-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

    .faq-item:hover {
        box-shadow: var(--shadow-md);
    }

.faq-question {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-base);
    user-select: none;
}

    .faq-question:hover {
        background-color: var(--sage-pale);
    }

.faq-icon {
    color: var(--sage);
    font-size: 1.5rem;
    transition: transform var(--transition-base);
}

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

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--clay);
    line-height: 1.75;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   11. RESPONSIVE ENHANCEMENTS
   ============================================= */

@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero-content p {
        font-size: 1.25rem;
    }

    .contact-form-card,
    .info-card {
        margin-bottom: var(--space-lg);
    }

    .credentials-grid,
    .service-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 80vh;
    }

    .testimonial-card::before {
        font-size: 4rem;
        top: -5px;
        left: 15px;
    }

    .contact-form-card {
        padding: var(--space-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        padding: 1.5rem;
    }

        .hero-content h1 {
            font-size: clamp(1.75rem, 8vw, 2.25rem);
        }

        .hero-content p {
            font-size: 1.125rem;
        }

    .contact-form-card {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .testimonial-card {
        padding: var(--space-md);
    }
}

/* =============================================
   12. SPECIAL DECORATIVE ELEMENTS
   ============================================= */

/* Subtle botanical accent */
.botanical-accent {
    position: relative;
}

    .botanical-accent::after {
        content: '🌿';
        position: absolute;
        opacity: 0.15;
        font-size: 8rem;
        pointer-events: none;
    }

/* Quote styling for testimonials and text blocks */
.quote-block {
    position: relative;
    padding-left: var(--space-xl);
    border-left: 3px solid var(--sage);
    font-style: italic;
    color: var(--clay);
    margin: var(--space-lg) 0;
}

    .quote-block cite {
        display: block;
        margin-top: var(--space-sm);
        font-style: normal;
        font-weight: 600;
        color: var(--ink);
    }

/* Stats or numbers display */
.stat-display {
    text-align: center;
    padding: var(--space-lg);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--sage);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clay);
}

