/* Color Variables - Based on callhavens.com */
:root {
    --primary-color: var(--havens-gray);
    --secondary-color: var(--havens-gray);
    --accent-color: var(--havens-red);
    --background-color: #FFFFFF;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --havens-red: #ED2725;
    --havens-gray: #2f2f2f;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

/* Header Styles */
header {
    background-color: var(--background-color);
    background-image: none;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
}

main {
    margin-top: 0;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(to right, rgba(184, 134, 11, 0.7) 0%, rgba(255, 215, 0, 0.7) 50%, rgba(184, 134, 11, 0.7) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

@keyframes goldShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.announcement-text {
    color: #5a4a1f;
    font-weight: 400;
    font-size: 0.8125rem;
    letter-spacing: 0.2px;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 70px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    animation: none !important;
    transition: none !important;
}

.navbar-nav .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color);
}

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 51, 102, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: white;
    padding: 50px 0 150px 0;
    min-height: 600px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

/* Hero animation for all hero sections */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1.5s ease-out forwards;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

/* Index page specific */
#home.hero {
    background-color: #fff;
    min-height: 480px;
    padding: 40px 0 120px 0;
}

#home.hero::after {
    background-image: url('Hero/NNO_Landscape.png');
    transform: none;
    animation: fadeIn 1.5s ease-out forwards;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1,
.hero h2 {
    color: white;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 0, 0, 0.25), 0 0 35px rgba(0, 0, 0, 0.2);
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 900;
}

/* Hero h2 animation only for index page */
#home.hero h1,
#home.hero h2 {
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

/* Article Header Styles */
.article-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 900;
    color: var(--havens-red);
    text-align: center;
}

/* Article Content Styles */
.article-content {
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content p.lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.article-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-content .row {
    margin-bottom: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    color: white;
}

.hero .lead {
    font-weight: 600;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 0, 0, 0.4);
}

/* Content Sections Styles */
.content-sections {
    padding: 80px 0;
    background-color: white;
}

.content-box {
    width: 100%;
    max-width: 600px;
    height: 400px;
    background-color: white;
    border: none;
    border-radius: 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 275px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Product Box Variations */
.product-variation-1 {
    /* Original - no changes */
}

.product-variation-2 {
    border: 3px solid var(--havens-red) !important;
    box-shadow: 0 0 0 2px rgba(208, 32, 32, 0.2) !important;
}

.product-variation-2:hover {
    border-color: var(--havens-red) !important;
    box-shadow: 0 0 20px rgba(208, 32, 32, 0.5) !important;
}

.product-variation-3 {
    border-radius: 20px !important;
    overflow: hidden;
}

.product-variation-3 .text-section {
    border-radius: 0 0 20px 20px !important;
}

.product-variation-4 {
    flex-direction: column-reverse !important;
}

.product-variation-4 .text-section {
    border-radius: 8px 8px 0 0 !important;
    order: -1;
}

.product-variation-5 {
    position: relative;
}

.product-variation-5::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
    border-radius: 8px;
    pointer-events: none;
}

.product-variation-5 .text-section {
    background-color: transparent !important;
    z-index: 2;
}

.product-variation-6 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.product-variation-6:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
}

.product-variation-7 .text-section {
    height: auto !important;
    min-height: 125px;
    flex: 1;
}

.product-variation-8 .text-section {
    padding-top: 1rem;
}

.product-variation-9 {
    background-color: transparent !important;
    border: 2px solid var(--light-gray);
}

.product-variation-9 .text-section {
    background-color: #f8f8f8 !important;
    border-top: 4px solid var(--havens-red) !important;
    height: auto;
    min-height: 125px;
}

.product-variation-10 {
    background-color: white !important;
    border-top: 4px solid var(--havens-red) !important;
}

.product-variation-10 .text-section {
    background-color: #f8f8f8 !important;
    border-top: none !important;
}

.content-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.text-section {
    background-color: var(--havens-gray);
    padding: 30px;
    border-radius: 0;
    width: 100%;
    height: 125px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-box h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.content-box p {
    color: white;
    font-size: 1.1rem;
}

.equipment-box {
    background-image: url('images/comfortable_air.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.equipment-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.0);
    z-index: 1;
    border-radius: 8px;
}

.equipment-box h3,
.equipment-box p {
    position: relative;
    z-index: 2;
}

.maintenance-box {
    background-image: url('images/filter_hand.png');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    position: relative;
}

.maintenance-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.0);
    z-index: 1;
    border-radius: 8px;
}

.maintenance-box h3,
.maintenance-box p {
    position: relative;
    z-index: 2;
}

.service-box {
    background-image: url('images/Thermostat_hot.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.0);
    z-index: 1;
    border-radius: 8px;
}

.service-box h3,
.service-box p {
    position: relative;
    z-index: 2;
}

.humidity-box {
    background-image: url('images/HighHumidity.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.humidity-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.0);
    z-index: 1;
    border-radius: 8px;
}

.humidity-box h3,
.humidity-box p {
    position: relative;
    z-index: 2;
}

.thermostat-box {
    background-image: url('images/TR_ComfortLink-II_Smart-Control-Large-150x150.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.thermostat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.0);
    z-index: 1;
    border-radius: 8px;
}

.thermostat-box h3,
.thermostat-box p {
    position: relative;
    z-index: 2;
}

.humidifier-box {
    background-image: url('images/TR_ComfortLink-II_Smart-Control-Large-150x150.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.humidifier-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.0);
    z-index: 1;
    border-radius: 8px;
}

.humidifier-box h3,
.humidifier-box p {
    position: relative;
    z-index: 2;
}

.air-handler-box {
    background-image: url('images/TR_ComfortLink-II_Smart-Control-Large-150x150.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.air-handler-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.0);
    z-index: 1;
    border-radius: 8px;
}

.air-handler-box h3,
.air-handler-box p {
    position: relative;
    z-index: 2;
}

.air-conditioner-box {
    background-image: url('images/TR_ComfortLink-II_Smart-Control-Large-150x150.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.air-conditioner-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.0);
    z-index: 1;
    border-radius: 8px;
}

.air-conditioner-box h3,
.air-conditioner-box p {
    position: relative;
    z-index: 2;
}

/* Content Box Variations */
.variation-2 {
    border: 5px solid var(--havens-red) !important;
    box-shadow: 0 0 0 2px rgba(255, 29, 37, 0.2) !important;
}

.variation-2:hover {
    border-color: var(--havens-red) !important;
    box-shadow: 0 0 20px rgba(255, 29, 37, 0.5) !important;
}

.variation-3 {
    border-radius: 30px !important;
    overflow: hidden;
}

.variation-3 .text-section {
    border-radius: 0 0 30px 30px !important;
}

.variation-4 {
    flex-direction: column-reverse !important;
}

.variation-4 .text-section {
    border-radius: 8px 8px 0 0 !important;
    order: -1;
}

.variation-5 {
    position: relative;
}

.variation-5::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)) !important;
    z-index: 1;
    border-radius: 8px;
}

.variation-5 .text-section {
    background-color: transparent !important;
    z-index: 2;
}

.variation-6 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #ddd;
}

.variation-6:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-5px) !important;
}

.variation-7 .text-section {
    height: 100% !important;
    background: linear-gradient(135deg, var(--havens-gray) 0%, var(--havens-red) 100%) !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.variation-8 .text-section {
    background: rgba(76, 76, 76, 0.95) !important;
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.variation-9 .text-section {
    background-color: rgba(76, 76, 76, 0.5) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.variation-10 {
    border: 3px solid #e0e0e0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.variation-10.equipment-box,
.variation-10.maintenance-box,
.variation-10.service-box,
.variation-10.humidity-box,
.variation-10.thermostat-box,
.variation-10.humidifier-box,
.variation-10.air-handler-box,
.variation-10.air-conditioner-box {
    background-color: transparent !important;
}

.variation-10 .text-section {
    background-color: #f8f8f8 !important;
    border-top: 4px solid var(--havens-red) !important;
    height: auto;
    min-height: 125px;
}

.variation-10 h3 {
    color: var(--havens-gray) !important;
}

.variation-10 p {
    color: var(--text-color) !important;
}

.text-top {
    order: -1 !important;
}

.text-full-height {
    height: 100% !important;
    justify-content: center;
}

/* Call to Action Variations */
.cta-variation {
    margin-bottom: 4rem;
}

.cta-variation h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

/* CTA Variation 1: Simple Button */
.cta-1 {
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.cta-1 h4 {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
}

/* CTA Variation 2: Banner Style */
.cta-2 {
    background: linear-gradient(135deg, var(--havens-red) 0%, #ff4444 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 29, 37, 0.3);
}

.cta-2 h4 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
}

.cta-2 p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
}

.cta-2 .btn {
    background-color: white;
    color: var(--havens-red);
    border-color: white;
}

.cta-2 .btn:hover {
    background-color: var(--havens-gray);
    color: white;
    border-color: var(--havens-gray);
}

/* CTA Variation 3: Card Style */
.cta-3 {
    padding: 2rem 0;
}

.cta-card {
    background: white;
    border: 3px solid var(--havens-red);
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.cta-card h4 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.cta-card p {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* CTA Variation 4: Split Buttons */
.cta-4 {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8e8e8 100%);
    border-radius: 8px;
    border-left: 5px solid var(--havens-red);
}

.cta-4 h4 {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
}

.cta-4 p {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* CTA Variation 5: Full Width Banner */
.cta-5 {
    background: linear-gradient(to right, var(--havens-gray) 0%, var(--primary-color) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-5 h4 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
}

.cta-5 p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.cta-5 .btn {
    background-color: var(--havens-red);
    border-color: var(--havens-red);
}

.cta-5 .btn:hover {
    background-color: white;
    color: var(--havens-red);
    border-color: white;
}

.cta-5 .btn-call {
    background-color: white;
    color: var(--havens-red);
    border-color: white;
}

.cta-5 .btn-call:hover {
    background-color: var(--havens-red);
    color: white;
    border-color: var(--havens-red);
}

/* Van Hero Section - Tesla-style */
.van-hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: url('images/van.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin: 2rem 0;
}

.van-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    z-index: 1;
}

.van-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3rem 2rem;
}

.van-hero-text {
    max-width: 600px;
    color: white;
}

.van-hero-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.van-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: white;
}

.van-hero-tagline {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.van-hero-btn {
    background-color: var(--havens-red);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.van-hero-btn:hover {
    background-color: #e01a20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 29, 37, 0.4);
    color: white;
}

@media (max-width: 768px) {
    .van-hero-section {
        min-height: 500px;
    }
    
    .van-hero-title {
        font-size: 2.5rem;
    }
    
    .van-hero-content {
        padding: 2rem 1.5rem;
    }
}

/* Van Image with Overlay Button */
.van-image-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px !important;
}

.van-image-wrapper img,
.van-image-wrapper .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px !important;
}

.van-overlay-headline {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.van-overlay-text {
    position: absolute;
    bottom: 100px;
    left: 20px;
    margin-left: 10px;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 10;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.van-overlay-text-sub {
    position: absolute;
    bottom: 70px;
    left: 20px;
    margin-left: 10px;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    z-index: 10;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.van-overlay-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin-left: 10px;
    background-color: var(--havens-red);
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.van-overlay-btn:hover {
    background-color: #e01a20;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Red Well Section */
.red-well-section {
    width: 100%;
    background-color: var(--havens-red) !important;
    padding: 0;
}

.well-image {
    max-width: 80%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: none !important;
    transition: none !important;
}

/* Text Image Section Styles */
.text-image-section {
    padding: 100px 0;
    background-color: white;
}

.text-image-section-no-bg {
    background-color: transparent !important;
}

.text-image-section-reversed {
    background-color: var(--background-color);
}

.text-image-section-reversed .text-content {
    padding-left: 40px;
    padding-right: 0;
}

.text-image-section-reversed .image-content {
    padding-right: 20px;
    padding-left: 0;
}

.text-content {
    padding-right: 40px;
}

.text-content h2 {
    color: var(--primary-color);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.text-content p {
    color: var(--text-color);
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.text-content p:last-child {
    margin-bottom: 0;
}

.image-content {
    padding-left: 20px;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.image-content img:hover {
    transform: scale(1.02);
}

.tr-image-wrapper {
    background: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tr-image-wrapper img {
    max-width: 60%;
    height: auto;
    box-shadow: none;
    border-radius: 0;
}

/* Scroll Animation for Images */
img.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

img.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .text-content {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 40px;
    }
    
    .image-content {
        padding-left: 0;
        padding-right: 0;
    }
    
    .text-content h2 {
        font-size: 2.25rem;
    }
    
    .text-image-section-reversed .text-content {
        padding-left: 0;
        padding-right: 0;
    }
    
    .text-image-section-reversed .image-content {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 40px;
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: white;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

section p {
    font-size: 1.1rem;
    color: var(--text-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
}

footer h5 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

footer a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--havens-red) !important;
}

footer ul {
    margin-bottom: 0;
}

footer .border-top {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Button Styles */
.btn {
    background-color: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    box-shadow: none;
}

.btn:focus {
    box-shadow: none;
}

.btn-call {
    background-color: white;
    color: var(--havens-red);
    border: 1px solid var(--havens-red);
    box-shadow: none;
}

.btn-call:hover {
    background-color: var(--havens-red);
    color: white;
    border-color: var(--havens-red);
    box-shadow: none;
}

.btn-call:focus {
    box-shadow: none;
}

.btn-call i.bi-telephone-fill {
    display: inline-block;
    animation: wiggle 1.5s ease-in-out infinite;
    transform-origin: center;
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }
    5% {
        transform: rotate(-15deg);
    }
    10% {
        transform: rotate(15deg);
    }
    15% {
        transform: rotate(-15deg);
    }
    20% {
        transform: rotate(15deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    30% {
        transform: rotate(15deg);
    }
    33.33% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Link Styles */
a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Bootstrap Overrides */
:root {
    --bs-primary: var(--primary-color);
    --bs-secondary: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-logo {
        height: 55px;
        max-width: 220px;
    }

    .hero h1,
    .hero h2 {
        font-size: 2rem;
    }

    .article-header h1 {
        font-size: 1.75rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .content-box {
        width: 100%;
        max-width: 600px;
        height: 400px;
    }

    /* Responsive Van Image Overlays */
    .van-image-wrapper {
        height: 300px;
    }

    .van-overlay-headline {
        top: 15px;
        left: 15px;
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }

    .van-overlay-text {
        bottom: 80px;
        left: 15px;
        margin-left: 5px;
        font-size: 1rem;
    }

    .van-overlay-text-sub {
        bottom: 55px;
        left: 15px;
        margin-left: 5px;
        font-size: 0.875rem;
    }

    .van-overlay-btn {
        bottom: 15px;
        left: 15px;
        margin-left: 5px;
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Maintenance landing page */
.maintenance-landing .maintenance-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)), url('images/filter_hand.png');
    background-size: cover;
    background-position: center;
    min-height: 520px;
}

.maintenance-landing .maintenance-hero::after,
.maintenance-landing .maintenance-hero::before {
    display: none;
}

.maintenance-badge {
    background-color: var(--havens-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.maintenance-hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.btn-pulse {
    animation: btn-pulse 1.8s ease-in-out infinite;
}

@keyframes btn-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 63, 64, 0.55);
    }
    70% {
        transform: scale(1.04);
        box-shadow: 0 0 0 14px rgba(255, 63, 64, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 63, 64, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-pulse {
        animation: none;
    }
}

.maintenance-trust-strip {
    background-color: var(--light-gray);
    border-bottom: 1px solid #e8e8e8;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.trust-stat i {
    font-size: 1.75rem;
    color: var(--havens-red);
    margin-bottom: 0.25rem;
}

.trust-stat strong {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.trust-stat span {
    font-size: 0.875rem;
    color: var(--text-color);
}

.section-heading-left {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
}

.section-lead-left {
    font-size: 1.15rem;
    text-align: left;
    max-width: none;
    margin: 0 0 1.5rem;
}

.maintenance-pain-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.maintenance-pain-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    text-align: left;
}

.maintenance-pain-list li i {
    color: var(--havens-red);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.maintenance-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1.5rem;
    padding: 1.15rem 1.25rem;
    background: linear-gradient(135deg, rgba(208, 32, 32, 0.08) 0%, rgba(208, 32, 32, 0.04) 100%);
    border-left: 4px solid var(--havens-red);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 12px rgba(208, 32, 32, 0.1);
}

.maintenance-callout i {
    font-size: 1.35rem;
    color: var(--havens-red);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.maintenance-callout span {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--primary-color);
    text-align: left;
}

.maintenance-benefits-section {
    background-color: var(--light-gray);
    padding: 2.5rem 0;
}

.maintenance-benefits-header {
    margin-bottom: 1.25rem;
}

.maintenance-benefits-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.maintenance-benefits-header p {
    font-size: 1rem;
    margin-bottom: 0;
    max-width: none;
}

.maintenance-benefits-section .maintenance-benefit-card {
    background: white;
    border-radius: 10px;
    padding: 1.25rem 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.maintenance-benefits-section .maintenance-benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.maintenance-benefits-section .maintenance-benefit-card i {
    font-size: 1.35rem;
    color: var(--havens-red);
    margin-bottom: 0.5rem;
    display: block;
}

.maintenance-benefits-section .maintenance-benefit-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
    text-align: left;
}

.maintenance-benefits-section .maintenance-benefit-card p {
    text-align: left;
    max-width: none;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Havens 365 membership tiers */
.maintenance-tiers-section {
    background-color: #1a1a1a;
    padding: 3.5rem 0 4rem;
}

.maintenance-tiers-section section h2,
.maintenance-tiers-eyebrow {
    color: var(--havens-red) !important;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem !important;
    text-align: center;
}

.maintenance-tiers-header h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.maintenance-tiers-header {
    margin-bottom: 2rem;
}

.maintenance-tiers-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 0;
    text-align: center;
    max-width: none;
}

.maintenance-tiers-disclaimers {
    margin-top: 1.75rem;
}

.maintenance-tiers-disclaimers p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.35rem;
    text-align: left;
    max-width: none;
}

.maintenance-tiers-disclaimers p:last-child {
    margin-bottom: 0;
}

.tier-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.tier-card-header {
    padding: 1.25rem 1.5rem 1rem;
    text-align: center;
    position: relative;
}

.tier-card-essentials .tier-card-header {
    background: #fff;
}

.tier-card-value .tier-card-header {
    background: var(--havens-red);
}

.tier-card-max .tier-card-header {
    background: #000;
}

.tier-card-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    text-align: center;
}

.tier-card-essentials .tier-card-header h3 {
    color: #000;
}

.tier-card-value .tier-card-header h3,
.tier-card-max .tier-card-header h3 {
    color: #fff;
}

.tier-tagline {
    font-size: 0.8rem;
    margin: 0;
    text-align: center;
    line-height: 1.35;
}

.tier-card-essentials .tier-tagline {
    color: var(--havens-red);
}

.tier-card-value .tier-tagline,
.tier-card-max .tier-tagline {
    color: rgba(255, 255, 255, 0.9);
}

.tier-popular-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--havens-red);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.tier-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tier-pricing {
    text-align: center;
    margin-bottom: 1.25rem;
}

.tier-price-monthly {
    margin: 0 0 0.15rem;
    font-size: 0.95rem;
    color: #333;
    text-align: center;
}

.tier-price-yearly {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    text-align: center;
}

.tier-card-value .tier-price-monthly,
.tier-card-value .tier-price-yearly {
    color: var(--havens-red);
}

.tier-price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.tier-includes {
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.tier-includes-label {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #333;
    margin: 0 0 0.75rem;
    padding: 0.5rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #333;
    text-align: left;
    line-height: 1.4;
}

.tier-features li i {
    color: var(--havens-red);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.tier-btn-group {
    display: flex;
    gap: 0.5rem;
}

.tier-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tier-btn-group .tier-btn {
    flex: 1;
}

.tier-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: inherit;
}

.tier-btn-essentials {
    background: #e8e8e8;
    color: #000;
}

.tier-btn-value {
    background: var(--havens-red);
    color: #fff;
}

.tier-btn-max {
    background: #000;
    color: #fff;
}

.maintenance-comparison-section {
    background: linear-gradient(135deg, var(--havens-gray) 0%, #3a3a3a 100%);
}

.maintenance-comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.maintenance-comparison-table th,
.maintenance-comparison-table td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    text-align: left;
    font-size: 1rem;
}

.maintenance-comparison-table thead th {
    background-color: var(--light-gray);
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid #ddd;
}

.maintenance-comparison-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.maintenance-comparison-table .col-featured {
    background-color: rgba(208, 32, 32, 0.06);
}

.maintenance-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: var(--havens-red);
    color: white;
    font-size: 1.35rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.maintenance-enroll-card {
    background: white;
    border: 2px solid var(--havens-red);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.maintenance-enroll-card h1,
.maintenance-enroll-card h2 {
    color: var(--primary-color);
}

.enroll-selected-tier {
    font-size: 1.1rem;
    color: var(--havens-red);
}

.maintenance-enroll-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
}

.maintenance-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.maintenance-landing footer {
    padding-bottom: 5rem;
}

@media (min-width: 992px) {
    .maintenance-landing footer {
        padding-bottom: 2rem;
    }

}

@media (max-width: 768px) {
    .maintenance-tiers-header h2 {
        font-size: 1.5rem;
    }

    .tier-price-amount {
        font-size: 2rem;
    }
}

