/*
Theme Name: My RV Park Website Theme
Description: Professional website theme for RV parks with booking systems, virtual tours, and interactive maps.
Version: 1.0
Author: My RV Park Website
Text Domain: myrvpark
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #D2B68F;
    min-height: 100vh;
}

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

/* Header Styles */
header {
    background: #D2B68F;
    position: relative;
    overflow: hidden;
}

.header-content {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 10;
    height: 40px;
    display: flex;
    align-items: center;
}

.header-nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

nav a:hover {
    color: #fff3e0;
}

.cta-button {
    background: #8b4513;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button:hover {
    background: #a0522d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button.large {
    padding: 15px 40px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    position: relative;
    margin: 0;
    padding: 0;
}

.hero-logo {
    margin: 0;
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
}

.hero-logo img {
    display: block;
    width: 60%;
    height: auto;
    margin: 0 auto;
}

/* Hero Introduction */
.hero-intro {
    background: white;
    padding: 60px 0;
    text-align: center;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.hero-intro h1 {
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.hero-intro .lead {
    font-size: 24px;
    color: #8b4513;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-intro .subtext {
    font-size: 18px;
    color: #666;
}

/* Services Detailed Section */
.services-detailed {
    background: #f8f9fa;
    padding: 80px 0;
}

.services-detailed h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 60px;
}

.service-detail {
    margin-bottom: 60px;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.service-detail.reverse .service-content {
    direction: rtl;
}

.service-detail.reverse .service-text {
    direction: ltr;
}

.service-detail.reverse .service-images {
    direction: ltr;
}

.service-text h3 {
    font-size: 28px;
    color: #8b4513;
    margin-bottom: 20px;
}

.service-features ul {
    list-style: none;
    padding-left: 0;
}

.service-features > ul > li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features > ul > li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b4513;
    font-weight: bold;
}

.service-features ul ul {
    margin-top: 10px;
    padding-left: 20px;
}

.service-features ul ul li {
    padding: 5px 0;
    list-style: disc;
}

.highlight {
    background: #fff3e0;
    padding: 15px;
    border-left: 4px solid #8b4513;
    margin-top: 20px;
    font-weight: 600;
    color: #8b4513;
}

.service-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Demo Section */
.demo-section {
    background: white;
    padding: 80px 0;
}

.demo-section h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.demo-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.demo-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.demo-card p {
    color: #666;
    margin-bottom: 20px;
}

.demo-button {
    background: #8b4513;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.demo-button:hover {
    background: #a0522d;
    transform: translateY(-2px);
}

.map-placeholder {
    background: #e9ecef;
    padding: 40px 20px;
    border-radius: 5px;
    color: #6c757d;
}

/* Gallery Section */
.gallery-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.gallery-section h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-item p {
    padding: 15px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Experience Section */
.experience-section {
    background: white;
    padding: 80px 0;
}

.experience-section h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.experience-section > .container > p {
    text-align: center;
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-card h3 {
    font-size: 22px;
    color: #8b4513;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
}

/* Pricing Section */
.pricing-section {
    background: #2c3e50;
    padding: 80px 0;
}

.pricing-section h2 {
    text-align: center;
    font-size: 36px;
    color: white;
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.pricing-card.featured {
    border: 3px solid #8b4513;
    transform: scale(1.05);
}

.featured-badge {
    background: #8b4513;
    color: white;
    padding: 5px 20px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.price {
    font-size: 36px;
    color: #8b4513;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

.price-features p {
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.price-features ul {
    list-style: none;
    padding: 0;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 20px;
}

.pricing-button {
    display: block;
    background: #8b4513;
    color: white;
    padding: 12px 30px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background: #a0522d;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 80px 0;
}

.contact-section h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-intro {
    text-align: center;
    font-size: 20px;
    color: #666;
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.contact-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-card h3 {
    font-size: 24px;
    color: #8b4513;
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 15px;
    color: #666;
}

.contact-details a {
    color: #8b4513;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.why-us-list {
    list-style: none;
    padding: 0;
}

.why-us-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.why-us-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b4513;
    font-weight: bold;
}

.cta-final {
    text-align: center;
}

/* Footer */
footer {
    background: #1a252f;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

.footer-widgets {
    margin-bottom: 30px;
}

.footer-widget {
    margin-bottom: 20px;
}

/* Page and Post Styles */
.page-header,
.entry-header {
    margin-bottom: 30px;
}

.page-title,
.entry-title {
    font-size: 36px;
    color: #2c3e50;
}

.entry-meta {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.page-content,
.entry-content {
    line-height: 1.8;
    color: #333;
}

.featured-image {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .service-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail.reverse .service-content {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .header-nav-wrapper {
        flex-direction: column;
        gap: 10px;
        height: auto;
        padding: 10px 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-logo img {
        width: 90%;
    }

    .hero-intro h1 {
        font-size: 32px;
    }

    .hero-intro .lead {
        font-size: 20px;
    }

    .service-content {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .demo-grid,
    .gallery-grid,
    .benefits-grid,
    .pricing-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Add this to your style.css file */

/* Hide submenus by default */
nav ul li ul,
nav ul li .sub-menu {
    display: none;
    position: absolute;
    background: #8b4513;
    min-width: 200px;
    top: 100%;
    left: 0;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 5px;
}

/* Show submenu on hover */
nav ul li:hover > ul,
nav ul li:hover > .sub-menu {
    display: block;
}

/* Style submenu items */
nav ul li ul li,
nav ul li .sub-menu li {
    display: block;
    width: 100%;
}

nav ul li ul li a,
nav ul li .sub-menu li a {
    padding: 10px 15px;
    display: block;
    white-space: nowrap;
}

/* Make parent li relative */
nav ul li {
    position: relative;
}

/* Fix main menu to be horizontal */
nav > ul {
    display: flex;
    flex-direction: row;
}

nav > ul > li {
    display: inline-block;
}