/*
Theme Name: Wheldrake Recreation Ground Modern
Description: Modern theme for Wheldrake Recreation Ground Foundation inspired by professional community designs
Version: 2.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 120px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
}

.logo {
    margin-bottom: 1rem;
}

.logo h1 {
    font-size: 2rem;
    color: #6366f1;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

nav li {
    display: flex;
    align-items: center;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    line-height: 1;
}

nav a:hover {
    background: #6366f1;
    color: white;
}

/* Hero Section */
.hero {
    background: url('images/wvh.png?v=2');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 8rem 0 6rem;
    position: relative;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #6366f1;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

/* Services */
.services {
    padding: 6rem 0;
    background: #f8f9fa;
}



.services h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #6366f1;
    font-size: 2.5rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #6366f1;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #ec4899;
    margin: 1.5rem 0;
}

/* Clubs */
.clubs {
    padding: 6rem 0;
}

.clubs h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #6366f1;
    font-size: 2.5rem;
    font-weight: 700;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.club-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.club-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.club-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
}

.club-logo img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.club-link {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.club-link:hover {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    transform: translateY(-2px);
}

/* Events */
.events {
    padding: 6rem 0;
    background: #f8f9fa;
}

.events h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #6366f1;
    font-size: 2.5rem;
    font-weight: 700;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.contact h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.bar-status {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
}

#clock {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #f0abfc;
}

.status-open { color: #f0abfc !important; }
.status-closed { color: #ff6b6b !important; }
.status-soon { color: #ffd93d !important; }

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Booking System */
.booking-system {
    padding: 6rem 0;
}

.booking-info {
    background: linear-gradient(135deg, #ede9fe, #fdf2f8);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border-left: 5px solid #6366f1;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: white;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #6366f1;
    font-size: 2.5rem;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #4c1d95, #6366f1);
    color: white;
    text-align: center;
    padding: 3rem 0;
}

/* Booking System */
.booking-system {
    padding: 6rem 0;
    background: #f8f9fa;
}

.booking-system h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #6366f1;
    font-size: 2.5rem;
    font-weight: 700;
}

.booking-success {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.calendar-container {
    transition: all 0.3s ease;
}

.calendar-container:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

#calendar-grid > div:hover {
    background: #e0e7ff !important;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.booking-form {
    transition: all 0.3s ease;
}

.booking-form:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.booking-form input:focus,
.booking-form select:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 { font-size: 2.5rem; }
    .services-grid, .clubs-grid { grid-template-columns: 1fr; }
    .booking-system { padding: 4rem 0; }
    .booking-system h2 { font-size: 2rem; }
    #calendar-grid { font-size: 0.9rem; }
    .booking-form { padding: 1.5rem; }
    body { padding-top: 140px; }
    .logo h1 { 
        font-size: 1.6rem; 
    }
    nav ul { 
        gap: 0.75rem;
    }
    nav a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}