/* Lakes Directory - Main Stylesheet */
/* Modern, mobile-first responsive design */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background-color: #1d4ed8;
    color: white;
    transform: translateY(-1px);
}

.btn-primary {
    background-color: #2563eb;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-outline {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Header */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand .brand-link {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.navbar-brand .brand-link i {
    margin-right: 8px;
    font-size: 1.75rem;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #374151;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown-right {
    left: auto;
    right: 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #374151;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.dropdown-link:hover {
    background-color: #f3f4f6;
    color: #2563eb;
}

.dropdown-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 8px 0;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 0;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    background-color: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.search-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-input,
.search-select {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input i,
.search-select i {
    position: absolute;
    left: 15px;
    color: #9ca3af;
    z-index: 3;
}

.search-input input,
.search-select select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: #374151;
}

.search-input input:focus,
.search-select select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-btn {
    padding: 15px 25px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #1d4ed8;
}

/* Quick Links */
.quick-links {
    padding: 3rem 0;
    background-color: #f8fafc;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #374151;
}

.quick-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: #2563eb;
}

.quick-link i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.quick-link span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Towns Section */
.towns-section {
    padding: 4rem 0;
}

.towns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.town-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

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

.town-image {
    height: 200px;
    overflow: hidden;
}

.town-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.town-card:hover .town-image img {
    transform: scale(1.05);
}

.town-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.town-info {
    padding: 1.5rem;
}

.town-info h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.town-info p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.town-link {
    color: #2563eb;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Featured Section */
.featured-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.featured-image {
    height: 200px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.featured-content {
    padding: 1.5rem;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.featured-meta .category,
.featured-meta .location {
    font-size: 0.875rem;
    padding: 4px 12px;
    border-radius: 20px;
    background-color: #e5e7eb;
    color: #374151;
}

.featured-content h3 {
    margin-bottom: 0.5rem;
}

.featured-content h3 a {
    color: #1f2937;
    text-decoration: none;
}

.featured-content h3 a:hover {
    color: #2563eb;
}

.featured-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.read-more {
    color: #2563eb;
    font-weight: 600;
}

/* Events Section */
.events-section {
    padding: 4rem 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-item {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.event-date {
    background-color: #2563eb;
    color: white;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    min-width: 70px;
    height: fit-content;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.event-date .month {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.event-content {
    flex: 1;
}

.event-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.event-content h3 {
    margin-bottom: 0.5rem;
}

.event-content h3 a {
    color: #1f2937;
    text-decoration: none;
}

.event-content h3 a:hover {
    color: #2563eb;
}

/* Jobs Section */
.jobs-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.job-item {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
}

.job-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.job-content {
    flex: 1;
}

.job-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.job-header h3 {
    margin: 0;
}

.job-header h3 a {
    color: #1f2937;
    text-decoration: none;
}

.job-header h3 a:hover {
    color: #2563eb;
}

.job-type {
    font-size: 0.75rem;
    padding: 4px 8px;
    background-color: #dbeafe;
    color: #1d4ed8;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.job-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-actions {
    flex-shrink: 0;
}

/* Section Footer */
.section-footer {
    text-align: center;
}

/* Footer */
.main-footer {
    background-color: #1f2937;
    color: white;
    margin-top: 4rem;
}

.footer-content {
    padding: 3rem 0;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #374151;
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    background-color: #2563eb;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    margin-top: 1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d1d5db;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom-content p {
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-primary, #2563eb);
    color: var(--text-inverse, white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-secondary, #1d4ed8);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .navbar-actions {
        margin-top: 2rem;
        justify-content: center;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .search-inputs {
        flex-direction: column;
    }
    
    .search-btn {
        justify-content: center;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .quick-link {
        padding: 1.5rem;
    }
    
    .towns-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .job-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .job-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-link i {
        font-size: 2rem;
    }
} 