/* ========================================
   Global Styles & Reset
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* CertCamper Logo Colors - Dark Green & Beige */
    --primary-green: #2d4a3a;        /* Dark forest green from logo */
    --light-green: #3d5a4a;          /* Slightly lighter green */
    --dark-green: #1d3a2a;           /* Darker shade for depth */
    --accent-orange: #d97642;        /* Warm accent for CTAs */
    --warm-tan: #d4c5a8;             /* Beige from logo background */
    --cream: #ebe5d6;                /* Light cream/beige */
    --soft-beige: #e8dcc4;           /* Soft beige for sections */
    --dark-brown: #2d4a3a;           /* Using logo green for dark areas */
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--cream);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background: rgba(45, 74, 58, 0.98);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-family: 'Caveat', cursive;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu li a {
    color: var(--white);
    font-weight: 400;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-orange);
}

.btn-primary:hover {
    background: #c56838;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%),
                url('images/hero-bg.jpg') center/cover no-repeat;
    background-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: var(--white);
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 95, 63, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--spacing-md);
}

.hero-subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--warm-tan);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 2rem;
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: var(--spacing-md);
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--cream);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-orange);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Fleet Section
   ======================================== */
.fleet {
    padding: var(--spacing-xl) 0;
    background: var(--soft-beige);
}

/* Booking Central Widget Styling */
.booking-widget {
    margin-top: var(--spacing-lg);
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Style Booking Central elements to match site design */
#bookingcentral-checkout {
    width: 100%;
}

/* Override Booking Central default styles to match theme */
#bookingcentral-checkout .product-card,
#bookingcentral-checkout .item-card {
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s ease !important;
    margin-bottom: var(--spacing-md) !important;
}

#bookingcentral-checkout .product-card:hover,
#bookingcentral-checkout .item-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-lg) !important;
}

#bookingcentral-checkout button,
#bookingcentral-checkout .btn,
#bookingcentral-checkout .button {
    background: var(--accent-orange) !important;
    border-radius: var(--radius-sm) !important;
    transition: all 0.3s ease !important;
}

#bookingcentral-checkout button:hover,
#bookingcentral-checkout .btn:hover,
#bookingcentral-checkout .button:hover {
    background: #c56838 !important;
    transform: translateY(-2px) !important;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.rv-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.rv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.rv-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.rv-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
}

.rv-content {
    padding: var(--spacing-md);
}

.rv-content h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.rv-specs {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.rv-description {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.rv-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    border-top: 2px solid var(--cream);
}

.rv-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent-orange);
    background: var(--white);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.pricing-header h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
}

.pricing-header p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.pricing-body {
    margin: var(--spacing-lg) 0;
}

.pricing-features {
    text-align: left;
}

.pricing-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.pricing-footer {
    margin-top: var(--spacing-lg);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--soft-beige);
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-centered {
    text-align: center;
}

.contact-info-centered h3 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.contact-info-centered p {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: left;
    overflow: hidden;
}

.contact-item > div {
    flex: 1;
    min-width: 0;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-dark);
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-item a {
    color: var(--text-dark);
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-item a:hover {
    color: var(--accent-orange);
}

.contact-cta {
    margin-top: var(--spacing-lg);
}

.contact-info h3 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-brown);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-sm);
    font-family: 'Caveat', cursive;
}

.footer-section > img {
    max-width: 120px;
    width: 100%;
    height: auto;
    display: block;
}

.footer-section h3 {
    font-size: 1.8rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
}

.social-links a:hover {
    transform: scale(1.2);
    padding-left: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--primary-green);
        width: 100%;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}