/* Base Styles */
:root {
    --primary-color: #2874A6;
    --secondary-color: #5DADE2;
    --accent-color: #F39C12;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --success-color: #27AE60;
    --danger-color: #E74C3C;
    --gray-color: #95A5A6;
    --white-color: #FFFFFF;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-align: center;
    font-size: 1rem;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header & Navigation */
header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

nav ul {
    display: flex;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://source.unsplash.com/random/1600x900/?pontoon,lake,boat');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    padding: 6rem 2rem;
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    color: var(--white-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Search Bar - NEW */
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    gap: 0.5rem;
}

.search-bar input[type="text"] {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: 300px;
    max-width: 70%;
}

.search-bar button {
    /* Styles inherited from .btn */
}

/* City Selector Dropdown */
.city-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    gap: 0.5rem;
}

#city-dropdown {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-size: 1rem;
    width: 300px;
    max-width: 70%;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C3E50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

#city-dropdown:hover, #city-dropdown:focus {
    border-color: var(--white-color);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
    outline: none;
}

#city-dropdown option {
    background-color: var(--white-color);
    color: var(--dark-color);
}

/* Explore Page Specific Hero */
.explore-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://source.unsplash.com/random/1600x900/?lake,boating,map');
}

/* Contact Page Specific Hero */
.contact-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://source.unsplash.com/random/1600x900/?water,phone,contact');
}

/* Main Content Sections */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

section {
    margin-bottom: 3rem;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0.5rem auto;
}

section p {
    margin-bottom: 1.5rem;
    color: #555;
}

/* Grid Layouts */
.benefits-grid,
.season-grid,
.region-grid,
.contact-grid,
.city-grid {
    display: grid;
    gap: 1.5rem;
}

.benefits-grid,
.city-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.season-grid,
.region-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.contact-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Styles */
.benefit-card,
.season-card,
.region-card,
.city-card,
.faq {
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover,
.season-card:hover,
.region-card:hover,
.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.benefit-card h3,
.season-card h3,
.region-card h3,
.city-card h3,
.faq h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.city-card p {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.city-card .btn-small {
    margin-top: auto;
    align-self: flex-start;
}

/* Contact Page Specifics */
.contact-info ul {
    margin-bottom: 1.5rem;
}

.contact-info li {
    margin-bottom: 0.75rem;
}

.contact-info strong {
    color: var(--dark-color);
}

.contact-form .form-group {
    margin-bottom: 1.2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #444;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 15px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--white-color);
    margin-bottom: 1rem;
    position: relative;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
    margin-top: 0.5rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-color);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }
    
    nav li {
        margin-left: 0;
    }
    
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .search-bar {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .search-bar input[type="text"] {
        width: 100%;
        max-width: 400px;
    }

    .search-bar button {
        width: 100%;
        max-width: 400px;
    }
    
    main {
        padding: 0 1rem 2rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .benefits-grid,
    .city-grid,
    .region-grid,
    .season-grid {
        grid-template-columns: 1fr;
    }
    
    .city-selector {
        flex-direction: column;
        width: 100%;
    }
    
    #city-dropdown {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    nav {
        width: 100%;
    }
    
    nav ul {
        /* justify-content: space-around; */
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-form button {
        padding: 12px;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-section h3::after {
        margin: 0.5rem auto;
    }
}

/* Company Card styling improvements */
.company-card {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.company-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.company-card p {
    margin-bottom: 0.5rem;
}

.company-card p a {
    font-weight: 600;
}

/* Waterway Card styling improvements */
.waterway-card {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.waterway-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.waterway-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* City Hero styling improvements */
.city-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://source.unsplash.com/random/1600x900/?pontoon,marina,water');
}

/* Grid improvements */
.companies-grid,
.waterways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .companies-grid,
    .waterways-grid {
        grid-template-columns: 1fr;
    }
}

/* Seasonal tips styling */
.seasonal-tips {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.seasonal-tips h2 {
    margin-bottom: 1rem;
}

/* Additional city page styling */
.intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 1.5rem 0;
}

.intro-content p {
    flex: 1 1 60%;
    min-width: 300px;
}

.quick-facts {
    flex: 1 1 30%;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.quick-fact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-fact .icon {
    font-size: 1.5rem;
}

.quick-fact .fact {
    font-weight: 600;
}

/* Arrow style for links */
.arrow {
    display: inline-block;
    margin-left: 0.3rem;
    transition: transform 0.2s ease;
}

a:hover .arrow {
    transform: translateX(3px);
}

/* Tips section styling */
.tips-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 1rem;
}

.tips-icon {
    font-size: 2rem;
    padding-top: 0.5rem;
}

/* Posts list styling */
.posts-list {
    margin: 1.5rem 0;
}

.posts-list li {
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--light-color);
    padding-bottom: 0.8rem;
}

.posts-list li:last-child {
    border-bottom: none;
}

.posts-list a {
    display: block;
    font-weight: 600;
    transition: color 0.2s ease;
}

/* Call to action styling */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Add id for linking */
.rental-companies {
    scroll-margin-top: 100px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
    
    .tips-content {
        flex-direction: column;
    }
    
    .quick-facts {
        width: 100%;
    }
}

/* Posts grid styling */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.post-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.post-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.post-date {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white-color);
    padding: 5px 10px;
    font-size: 0.8rem;
    border-top-left-radius: 8px;
}

.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.post-content p {
    margin-bottom: 1rem;
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    display: inline-block;
    margin-top: auto;
}

/* SEO Content section */
.seo-content {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.seo-content h2 {
    margin-bottom: 1.5rem;
}

.seo-content p {
    margin-bottom: 1rem;
}

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

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-image {
        height: 200px;
    }
}

/* Blog Post Page */
.post-hero {
    background-size: cover;
    background-position: center;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.post-content-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.post-content {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.post-content h1, 
.post-content h2, 
.post-content h3, 
.post-content h4, 
.post-content h5, 
.post-content h6 {
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.post-content h1 {
    font-size: 2.2rem;
}

.post-content h2 {
    font-size: 1.8rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content p, 
.post-content ul, 
.post-content ol {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.post-content ul, 
.post-content ol {
    padding-left: 1.5rem;
}

.post-content ul li, 
.post-content ol li {
    margin-bottom: 0.5rem;
}

.post-content strong {
    font-weight: 600;
    color: var(--dark-color);
}

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(40, 116, 166, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s ease;
}

.post-content a:hover {
    text-decoration-color: var(--primary-color);
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    font-style: italic;
    margin: 1.5rem 0;
    color: #555;
}

.post-sidebar {
    align-self: start;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: var(--light-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark-color);
}

.sidebar-posts-list {
    margin-top: 1rem;
}

.sidebar-posts-list li {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--light-color);
    padding-bottom: 1rem;
}

.sidebar-posts-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-posts-list a {
    display: flex;
    flex-direction: column;
}

.sidebar-post-title {
    font-weight: 600;
    color: var(--dark-color);
    transition: color 0.2s ease;
}

.sidebar-post-date {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-top: 0.3rem;
}

.sidebar-posts-list a:hover .sidebar-post-title {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .post-content-container {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .post-hero h1 {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .post-content h1 {
        font-size: 1.8rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
}

/* City Page Specific Styling */
.city-page-main {
    /* Add any specific padding/margin if needed, often inherits from main */
}

.city-intro .quick-facts h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-color);
}

.city-blog-section {
    background-color: var(--white-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.city-blog-section h2 {
    text-align: center;
}

/* Adjust post card within city page if needed */
.city-blog-section .post-card {
    /* minor adjustments if necessary */
}

/* Ensure consistent section spacing */
.city-page-main section {
    margin-bottom: 3rem; /* Increase bottom margin for better separation */
}

.city-page-main section:last-child {
    margin-bottom: 0;
}

/* Ensure headings have consistent style */
.city-page-main h2 {
     /* Styles are likely inherited, but confirm consistency */
}

@media (max-width: 768px) {
    .city-blog-section {
        padding: 1.5rem;
    }
} 
