/* Tennessee Golf Courses - Professional CSS */
:root {
    --primary-color: #064e3b;
    --secondary-color: #059669;
    --accent-color: #10b981;
    --gold-color: #ea580c;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #ffffff;
    --bg-light: #f8faf9;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-light: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-medium: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-heavy: 0 8px 25px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html, body {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* External links styling */
a[href^="http"]:not([href*="tennesseegolfcourses.com"])::after {
    content: " ↗";
    font-size: 0.8em;
    opacity: 0.6;
}

a[href^="www."]::after {
    content: " ↗";
    font-size: 0.8em;
    opacity: 0.6;
}

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

/* Weather Bar */
.weather-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: var(--shadow-light);
    margin: 0;
    border: 0;
    transition: transform 0.3s ease;
}

.weather-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.weather-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.current-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.weather-widget {
    display: flex;
    align-items: center;
    gap: 8px;
}

.weather-location {
    opacity: 0.8;
    font-size: 12px;
}

.golf-conditions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.condition-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.condition-item i {
    color: var(--gold-color);
}

/* Header & Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    border-top: 0;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    pointer-events: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.nav-logo i {
    font-size: 28px;
    color: var(--gold-color);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(234, 88, 12, 0.3));
}

.nav-logo:hover i {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(234, 88, 12, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    margin-left: auto;
    margin-right: 20px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(6, 78, 59, 0.05);
    transform: translateY(-1px);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-color), var(--primary-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.1), rgba(234, 88, 12, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-link:hover::after {
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.8) 0%, rgba(16, 185, 129, 0.6) 50%, rgba(234, 88, 12, 0.3) 100%), url('https://images.unsplash.com/photo-1587174486073-ae5e5cff23aa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.1) 0%, transparent 70%);
    animation: heroGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: rotate(360deg) scale(1.1);
        opacity: 0.1;
    }
}


@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(234, 88, 12, 0.5));
    }
    50% { 
        transform: scale(1.2);
        filter: drop-shadow(0 0 15px rgba(234, 88, 12, 0.8));
    }
}

.hero-content {
    color: var(--text-light);
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-search {
    margin-top: 40px;
}

.search-container {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    gap: 8px;
}

.search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 78, 59, 0.1), transparent);
    transition: left 0.6s ease;
}

.search-container:hover::before {
    left: 100%;
}

.search-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.search-container i {
    color: var(--text-gray);
    margin: 0 16px;
    font-size: 18px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 12px 8px;
    color: var(--text-dark);
    z-index: 3;
    position: relative;
    margin-right: 8px;
}

.search-input::placeholder {
    color: var(--text-gray);
}

.search-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(6, 78, 59, 0.3);
    z-index: 2;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(6, 78, 59, 0.4);
}

/* Stats Bar */
.stats-bar {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.stat-item:hover i {
    animation: pulse 1.5s ease-in-out infinite;
}

.stat-item i {
    font-size: 20px;
    color: var(--gold-color);
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 60px;
}

/* Featured Courses */
.featured-courses {
    padding: 100px 0;
    background: var(--bg-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.course-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid transparent;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.05), rgba(234, 88, 12, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: var(--border-radius);
}

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.15);
    border-color: rgba(6, 78, 59, 0.2);
}

.course-card:hover::before {
    opacity: 1;
}

.course-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.8);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.course-content {
    padding: 24px;
}

.course-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.course-location {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-description {
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.5;
}

.course-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 24px rgba(6, 78, 59, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Course Finder */
.course-finder {
    padding: 100px 0;
    background: var(--bg-white);
}

.map-container {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
}

.map-placeholder {
    text-align: center;
    color: var(--text-gray);
}

.map-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.map-placeholder p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Latest News */
.latest-news {
    padding: 100px 0;
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-content {
    padding: 24px;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 14px;
}

.news-date {
    color: var(--text-gray);
}

.news-category {
    color: var(--primary-color);
    font-weight: 600;
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 4px;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.3;
}

.news-content p {
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.5;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 10px;
}

/* Newsletter */
.newsletter {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.newsletter-text p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
}

.form-group {
    display: flex;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 6px;
    box-shadow: var(--shadow-medium);
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 20px;
    font-size: 16px;
    color: var(--text-dark);
    border-radius: 8px;
    z-index: 3;
    position: relative;
    margin-right: 8px;
}

.newsletter-input::placeholder {
    color: var(--text-gray);
}

.newsletter-btn {
    background: var(--gold-color);
    color: var(--text-dark);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    z-index: 2;
    position: relative;
}

/* Removed hover effect - keeping consistent styling */

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 28px;
    color: var(--gold-color);
}

.footer-logo-image {
    height: 180px !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 180px !important;
    object-fit: contain;
    transform: scale(1.3);
}

.footer-section p {
    color: #cccccc;
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

/* Contact section items with icons */
.footer-section ul li i {
    margin-right: 8px;
    color: var(--gold-color);
    width: 16px;
}

.footer-section ul li {
    display: flex;
    align-items: center;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: var(--gold-color);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .weather-container {
        flex-direction: column;
        gap: 8px;
        padding: 8px 16px;
    }
    
    .weather-info {
        gap: 20px;
    }
    
    .golf-conditions {
        gap: 15px;
    }
    
    .condition-item {
        font-size: 12px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .search-container {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .search-input {
        padding: 16px;
        text-align: center;
    }

    .search-btn {
        width: 100%;
        padding: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .newsletter-text h2 {
        font-size: 2rem;
    }

    .form-group {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        background-attachment: scroll;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .featured-courses,
    .latest-news {
        padding: 60px 0;
    }

    .newsletter {
        padding: 60px 0;
    }

    .footer {
        padding: 40px 0 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card,
.news-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus states for accessibility */
.search-input:focus,
.newsletter-input:focus {
    outline: 2px solid var(--gold-color);
    outline-offset: 2px;
}

.btn-primary:focus,
.btn-secondary:focus,
.search-btn:focus,
.newsletter-btn:focus {
    outline: 2px solid var(--gold-color);
    outline-offset: 2px;
}