/* ===== Hero text contrast fix ===== */
/* Background is dark emerald green from visual-enhancements gradient overlay */
.hero-text {
    position: relative;
    z-index: 2;
}

.hero-title {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: none !important;
}

.hero-title::after {
    display: none !important;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary {
    background: var(--champagne-gold) !important;
    color: #ffffff !important;
    border-color: var(--champagne-gold) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.hero-buttons .btn-primary:hover {
    background: #c9a22e !important;
    transform: translateY(-2px);
}

.hero-buttons .btn-secondary,
.hero-buttons .btn-outline {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px);
}

.hero-buttons .btn-secondary:hover,
.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #0d4d3d !important;
    border-color: #ffffff !important;
}

/* ===== Promo Banner ===== */
.promo-banner {
    background: linear-gradient(135deg, #ff4500 0%, #ff6b35 50%, #ffa500 100%);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.promo-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.promo-text {
    flex: 1;
    min-width: 300px;
}

.promo-badge {
    background: #fff;
    color: #ff4500;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
}

.promo-title {
    color: white;
    font-size: 28px;
    margin: 15px 0 10px;
    font-family: 'Cormorant Garamond', serif;
}

.promo-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

.promo-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.promo-price-old {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

.promo-price-new {
    color: white;
    font-size: 36px;
    font-weight: bold;
    display: block;
}

.promo-discount {
    color: #ffeb3b;
    font-size: 12px;
}

.promo-btn {
    background: white;
    color: #ff4500;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    display: inline-block;
}

.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===== Fortune Tools Showcase ===== */
.fortune-showcase {
    background: linear-gradient(135deg, #0d4d3d 0%, #1a5c4a 40%, #2E7D5C 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.fortune-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.04;
    font-size: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-family: 'Noto Serif SC', serif;
    letter-spacing: 2rem;
}

.fortune-inner {
    position: relative;
    z-index: 2;
}

.fortune-header {
    text-align: center;
    margin-bottom: 3rem;
}

.fortune-tag {
    background: rgba(212, 175, 55, 0.2);
    color: #f0d774;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
}

.fortune-section-title {
    font-family: 'Cormorant Garamond', serif;
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 1rem;
    font-weight: 600;
}

.fortune-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0.8rem auto 0;
}

.fortune-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.fortune-tool-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    position: relative;
    overflow: hidden;
}

.fortune-tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.4);
}

.fortune-tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.fortune-tool-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.fortune-tool-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

.fortune-tool-link {
    margin-top: 1.2rem;
    color: #f0d774;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

/* Quick Fortune Widget */
.quick-fortune-widget {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.quick-fortune-label {
    color: #f0d774;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.3rem;
}

.quick-fortune-text {
    color: white;
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
}

.fortune-cta-btn {
    background: linear-gradient(135deg, #d4af37, #c9a22e);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
    display: inline-block;
}

.fortune-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ===== Nav dropdown - touch-friendly ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    cursor: pointer;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 0.8rem 0;
    min-width: 200px;
    z-index: 100;
    list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.touch-open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1.2rem;
    color: var(--emerald-deep);
    font-size: 0.9rem;
}

.nav-dropdown-menu a:hover {
    background: var(--cream);
}

.nav-dropdown-icon {
    font-size: 3rem;
    display: inline-block;
    margin-right: 0.5rem;
}

.nav-dropdown-icon.dragon { color: #d4af37; }
.nav-dropdown-icon.wizard { color: #8e44ad; }
.nav-dropdown-icon.chart { color: var(--champagne-gold); }
.nav-dropdown-icon.compass { color: #16a085; }

/* ===== Booking form Netlify integration ===== */
.booking-form .form-status {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    display: none;
}

.booking-form .form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.booking-form .form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* ===== Accessibility focus styles ===== */
*:focus-visible {
    outline: 3px solid var(--champagne-gold);
    outline-offset: 2px;
}

.btn:focus-visible {
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}

/* ===== Mobile social share bar ===== */
@media (max-width: 768px) {
    .social-share {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 8px 0;
        margin: 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 500;
        gap: 12px;
    }

    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ===== Promo Banner 2026 in nav ===== */
.btn-nav-fire {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.btn-nav-fire:hover {
    background: linear-gradient(135deg, #e55d2b 0%, #e08518 100%);
}

/* ===== Blog pagination ===== */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.blog-pagination button {
    padding: 0.5rem 1rem;
    border: 2px solid var(--emerald-deep);
    background: transparent;
    color: var(--emerald-deep);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-pagination button:hover,
.blog-pagination button.active {
    background: var(--emerald-deep);
    color: white;
}

.blog-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Site-wide contrast fixes ===== */

/* Service pricing - darken gold for readability on cream */
.service-price {
    color: #a8860d !important; /* darker gold, readable on cream */
    font-weight: 700;
}

/* Featured card ("Most Popular") — ensure all text is dark */
.service-featured {
    background: var(--white) !important;
}

.service-featured .service-header h3 {
    color: var(--emerald-deep) !important;
}

.service-featured .service-features li {
    color: #333333 !important;
}

/* Service card stats text — replace inline styles */
.service-stats {
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a5c4a; /* readable dark green */
}

.service-urgency {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #c0392b; /* red for urgency, high contrast */
}

.service-testimonial-inline {
    font-size: 0.85rem;
    color: #666666;
    text-align: center;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Blog "Read More" links — darken for readability */
.blog-link {
    color: #a8860d !important; /* darker gold */
    font-weight: 700;
}

.blog-link:hover {
    color: var(--emerald-deep) !important;
}

/* General: ensure all section titles on cream/white bg are dark */
.section-title {
    color: var(--emerald-deep);
}

/* Blog card category tags */
.blog-tag {
    display: inline-block;
    background: rgba(13, 77, 61, 0.1);
    color: var(--emerald-deep);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
