/* ===================================
   HANDIE ANDIE PREMIUM STYLES
   =================================== */

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4da3ff;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --gray-color: #666666;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #3d8fe6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 163, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.btn-light {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.btn-light:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Prevent layout shift on load */
html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    min-height: 100vh;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
    height: 100px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    min-height: 100px; /* Prevent layout shift */
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background-color: transparent; /* Prevent flash */
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}


.nav-link.nav-cta {
    color: var(--light-color);
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.2;
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-link.nav-cta:hover {
    color: var(--light-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(77, 163, 255, 0.35);
}
.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1a1a1a;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #2a2a2a;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--light-color);
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.95;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   IMAGE LOADING OPTIMIZATION
   =================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent layout shift while images load */
.hero-img,
.about-img {
    background-color: #2a2a2a;
    min-height: 100%;
}

/* Add a subtle loading effect */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(42, 42, 42, 0.8) 0%, 
        rgba(58, 58, 58, 0.8) 50%, 
        rgba(42, 42, 42, 0.8) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-background.loading::before {
    opacity: 1;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: 100px 0;
    background-color: var(--light-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition);
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-text {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-color);
}

.about-image {
    opacity: 0;
    transform: translateX(30px);
    transition: var(--transition);
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-color);
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(77, 163, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-description {
    color: var(--gray-color);
    line-height: 1.7;
    margin: 0;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    color: var(--gray-color);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
    font-size: 0.95rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
}

/* Featured service card */
.service-card-featured {
    background: linear-gradient(135deg, rgba(77, 163, 255, 0.05) 0%, rgba(77, 163, 255, 0.1) 100%);
    border: 2px solid var(--primary-color);
}

.service-card-featured .service-icon {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.service-card-featured .service-title {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* ===================================
   WHY CHOOSE US SECTION
   =================================== */
.why-choose {
    padding: 100px 0;
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-text {
    color: var(--gray-color);
    line-height: 1.7;
}

/* ===================================
   CTA STRIP
   =================================== */
.cta-strip {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3d8fe6 100%);
    color: var(--light-color);
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(77, 163, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
}

.contact-icon.whatsapp {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-card p {
    margin: 0;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.contact-card a:hover {
    color: #3d8fe6;
}

.contact-form {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 20px;
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px;
}

.success-message {
    display: none;
    background-color: #27ae60;
    color: var(--light-color);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    margin-top: 1rem;
    animation: fadeInUp 0.5s ease;
}

.success-message.show {
    display: block;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    justify-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 250px;
}

.footer-links,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   WHATSAPP WIDGET
   =================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
    background-color: #20ba5a;
}

.whatsapp-widget svg {
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 2;
}

/* Pulse animation */
.whatsapp-widget::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.5);
    animation: pulse 2s ease-out infinite;
    z-index: 0;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }
    
    .whatsapp-widget svg {
        width: 35px;
        height: 35px;
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img {
        height: 400px;
    }

    .about-stats {
        justify-content: space-around;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background-color: var(--light-color);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 20px 0;
    }

    .nav-link {
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero */
    .hero {
        height: 100vh;
        min-height: 100vh;
        padding-top: 100px;
    }

    .hero-content {
        padding: 0 30px;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* About */
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-list li {
        font-size: 0.9rem;
        padding: 6px 0;
        padding-left: 22px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    /* Footer */
.footer-content {
    grid-template-columns: 1fr;
    text-align: center;
}

.footer-brand {
    align-items: center;
}

.footer-logo {
    width: 120px;
}

.footer-brand p {
    text-align: center;
    max-width: 100%;
}

.footer-links,
.footer-social {
    align-items: center;
}
    /* WhatsApp Widget Mobile */
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-widget svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .service-card {
        padding: 30px 20px;
    }
}


/* Festive special — uses the existing Handie Andie design tokens. */
.special-home { padding: 60px 0; }
.special-home-card { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 40px; border-radius: 8px; }
.special-home-label { color: var(--gray-color); font-weight: 500; margin-bottom: 12px; }
.special-home-action { text-align: center; }
.special-home-action .btn { margin-top: 20px; }
.festive-page .hero { height: auto; min-height: 100vh; padding: 160px 0 80px; }
.festive-page .hero-content { opacity: 1; animation: none; }
.special-eyebrow { font-weight: 500; margin-bottom: 24px; }
.festive-page .hero-subtitle { margin-bottom: 20px; }
.special-audience { opacity: 0.95; }
.special-offer { display: flex; flex-direction: column; gap: 6px; margin: 24px auto 32px; }
.special-price { font-size: 2.5rem; font-weight: 700; line-height: 1.2; }
.festive-page .service-card { opacity: 1; transform: none; }
.festive-page .service-card:hover { transform: translateY(-8px); }
.special-awareness { text-align: center; }
.special-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.festive-page .contact::before { content: none; }
.festive-page .nav-toggle { border: 0; background: transparent; padding: 8px; }
.festive-page .nav-link[aria-current="page"] { color: var(--primary-color); }
.festive-page #contact, .festive-page #main { scroll-margin-top: 100px; }
.special-skip { position: fixed; top: -100px; left: 20px; z-index: 1001; padding: 14px 24px; background: var(--light-color); color: var(--dark-color); border-radius: 6px; }
.special-skip:focus { top: 12px; }
.festive-page a:focus-visible, .festive-page button:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 4px; }
@media (min-width: 769px) and (max-width: 1100px) {
    .navbar .nav-menu { gap: 1rem; }
    .navbar .nav-link { font-size: 0.9rem; }
}
@media (max-width: 768px) {
    .special-home-card { grid-template-columns: 1fr; padding: 30px 25px; gap: 24px; }
    .special-home-action { text-align: left; }
    .special-contact-grid { grid-template-columns: 1fr; }
    .festive-page .hero { min-height: 100svh; padding: 140px 0 60px; }
    .festive-page .hero-content { padding: 0 20px; }
    .festive-page .special-price { font-size: 2rem; }
    .festive-page .hero-buttons { margin: 0 auto; }
    .festive-page .nav-menu:not(.active) { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.festive-page) { scroll-behavior: auto; }
    .festive-page *, .festive-page *::before, .festive-page *::after { animation: none !important; transition: none !important; }
}

/* Festive special video uses the existing card and spacing treatments. */
.special-video-frame { max-width: 900px; margin: 32px auto 0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background-color: var(--dark-color); }
.special-video { display: block; width: 100%; max-height: 70vh; object-fit: contain; background-color: var(--dark-color); }
.special-video-caption { margin-top: 20px; text-align: center; color: var(--gray-color); font-size: 0.95rem; }
.special-video-caption a { color: var(--primary-color); text-decoration: underline; }
@media (max-width: 768px) { .special-video-section { padding: 60px 0; } }

/* Consistent festive navigation call-to-action on both pages. */
.nav-link.nav-festive, .festive-page .nav-link.nav-festive[aria-current="page"] {
    color: var(--light-color);
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.2;
    animation: festivePulse 1.8s ease-in-out infinite;
}
.nav-link.nav-festive::after { display: none; }
.nav-link.nav-festive:hover, .nav-link.nav-festive:focus-visible { color: var(--light-color); animation-play-state: paused; }
@keyframes festivePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
@media (min-width: 769px) { .navbar .nav-menu { gap: clamp(12px, 1.8vw, 28px); } }
@media (max-width: 768px) {
    .nav-menu .nav-festive { width: calc(100% - 40px); margin: 10px 20px; }
    .nav-menu.active { max-height: 480px; }
}
@media (prefers-reduced-motion: reduce) { .nav-link.nav-festive { animation: none; } }

/* Display the supplied brochure intact at its original aspect ratio. */
.special-brochure { max-width: 700px; margin: 0 auto 32px; }
.special-brochure img { display: block; width: 100%; height: auto; }
.special-brochure a:focus-visible { display: block; outline: 3px solid var(--primary-color); outline-offset: 4px; }

/* Side-by-side awareness copy and compact, expandable brochure. */
.special-awareness-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 440px); align-items: center; gap: 60px; text-align: left; }
.special-awareness-copy .section-title, .special-awareness-copy .section-subtitle { text-align: left; }
.special-awareness-copy .section-subtitle { margin-left: 0; }
.special-awareness-grid .special-brochure { width: 100%; margin: 0; }
.special-brochure-open { display: block; cursor: zoom-in; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: var(--shadow); }
@media (hover: hover) { .special-brochure-open:hover { transform: scale(1.04); box-shadow: var(--shadow-hover); } }
.brochure-dialog { margin: auto; border: 0; padding: 48px 12px 12px; border-radius: 8px; background: var(--light-color); max-width: min(94vw, 1000px); max-height: 94vh; overflow: auto; }
.brochure-dialog::backdrop { background: rgba(0, 0, 0, 0.8); }
.brochure-dialog img { width: 100%; height: auto; }
.brochure-close { position: sticky; top: -48px; float: right; margin-top: -40px; padding: 8px 16px; border: 0; border-radius: 6px; background: var(--primary-color); color: var(--light-color); font: inherit; cursor: pointer; }
@media (max-width: 768px) { .special-awareness-grid { grid-template-columns: 1fr; gap: 32px; } .special-awareness-grid .special-brochure { max-width: 360px; margin: 0 auto; } }

/* Keep the enlarged brochure completely visible within the viewport. */
.brochure-dialog { box-sizing: border-box; width: fit-content; max-width: 96vw; max-height: 96dvh; padding: 48px 12px 12px; overflow: hidden; }
.brochure-dialog img { width: auto; height: auto; max-width: calc(96vw - 24px); max-height: calc(96dvh - 60px); object-fit: contain; }
.special-awareness-copy { min-width: 0; overflow-wrap: break-word; }

.brochure-close { position: absolute; top: 8px; right: 12px; float: none; margin-top: 0; }
