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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.logo {
    width: 80px;
    height: 80px;
}

.brand-name {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: #EA580C;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #DC2626;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1E3A8A;
    margin-bottom: 20px;
}

/* Welcome Section */
.welcome {
    background-color: #F8FAFC;
}

.welcome p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #64748B;
}

/* Welcome Image */
.welcome-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
    background-color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #1E3A8A;
}

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

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E2E8F0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #1E3A8A;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: #64748B;
    line-height: 1.8;
}

/* Local Alleys Section */
.alleys {
    background-color: #F8FAFC;
}

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

.alley-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    transition: transform 0.3s ease;
}

.alley-card:hover {
    transform: translateY(-5px);
}

.alley-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease;
}

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

.alley-card h3 {
    padding: 20px 20px 10px;
    color: #1E3A8A;
    font-size: 1.3rem;
}

.alley-card p {
    padding: 0 20px;
    color: #64748B;
}

.distance {
    display: block;
    padding: 10px 20px 20px;
    color: #EA580C;
    font-weight: 600;
}

/* Tournaments Section */
.tournaments {
    background-color: white;
}

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

.tournament-card {
    background-color: #F8FAFC;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #EA580C;
}

.tournament-card h3 {
    color: #1E3A8A;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.tournament-date {
    color: #EA580C;
    font-weight: 600;
    margin-bottom: 15px;
}

.tournament-card p {
    color: #64748B;
    margin-bottom: 20px;
    line-height: 1.7;
}

.tournament-btn {
    background-color: #1E3A8A;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.tournament-btn:hover {
    background-color: #1E40AF;
}

/* Scoreboards Section */
.scoreboards {
    background-color: #F8FAFC;
}

.scoreboard-demo {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #E2E8F0;
}

.scoreboard-demo h3 {
    text-align: center;
    color: #1E3A8A;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.score-table {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 15px;
}

.score-row {
    display: contents;
}

.score-row.header span {
    background-color: #1E3A8A;
    color: white;
    padding: 12px;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
}

.score-row:not(.header) span {
    padding: 12px;
    text-align: center;
    background-color: #F8FAFC;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
}

.score-row:not(.header) span:first-child {
    font-weight: 600;
    color: #1E3A8A;
    text-align: left;
}

/* Products Section */
.products {
    background-color: white;
}

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

.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease;
}

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

.product-card h3 {
    padding: 20px 20px 10px;
    color: #1E3A8A;
    font-size: 1.3rem;
}

.product-card p {
    padding: 0 20px;
    color: #64748B;
    margin-bottom: 15px;
    line-height: 1.7;
}

.price {
    padding: 0 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #EA580C;
    margin-bottom: 20px;
}

.buy-button {
    margin: 0 20px 20px;
    background-color: #16A34A;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    width: calc(100% - 40px);
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: #15803D;
}

/* Booking Image */
.booking-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.booking-image:hover {
    transform: translateY(-3px);
}

/* Booking Section */
.booking {
    background-color: #F8FAFC;
}

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

.booking-form {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.booking-form h3 {
    color: #1E3A8A;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3B82F6;
}

.book-button {
    background-color: #EA580C;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.book-button:hover {
    background-color: #DC2626;
}

.booking-info h4 {
    color: #1E3A8A;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.booking-info p {
    color: #64748B;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background-color: white;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background-color: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #1E3A8A;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-item p {
    color: #64748B;
    line-height: 1.6;
}

.contact-item a {
    color: #EA580C;
    text-decoration: none;
    font-weight: 600;
}

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

/* Footer */
.footer {
    background-color: #1E3A8A;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #EA580C;
}

.footer-text {
    text-align: right;
}

.footer-text p {
    opacity: 0.9;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .brand-name {
        font-size: 2.5rem;
    }
    
    .logo-container {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .booking-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 20px;
    }
    
    .features-grid,
    .alleys-grid,
    .tournaments-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .score-table {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 8px;
    }
    
    .score-row:not(.header) span,
    .score-row.header span {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .welcome-image {
        height: 300px;
        margin: 20px auto;
    }
    
    .alley-image,
    .product-image {
        height: 180px;
    }
    
    .booking-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .logo-container {
        gap: 10px;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .welcome-image {
        height: 250px;
        border-radius: 12px;
    }
    
    .alley-image,
    .product-image {
        height: 160px;
        border-radius: 8px 8px 0 0;
    }
    
    .booking-image {
        height: 200px;
        border-radius: 8px;
    }
}