/*
Theme Name: SportHeaven
Description: A modern sports turf booking website theme with professional design and booking functionality.
Author: Your Name
Version: 1.0
Text Domain: sportheaven
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.text-blue { color: #002E69; }
.text-red { color: #A40000; }
.text-dark { color: #1F2937; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 33px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #002E69DE;
    color: white;
}

.btn-hero {
    background-color: #002E69DE;
    color: white;
    font-size: 38px;
    padding: 16px 33px;
}

.btn-orange {
    background-color: #F97316;
    color: white;
}

.btn-white {
    background-color: white;
    color: black;
    border-radius: 6px;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-navigation a {
    text-decoration: none;
    color: #1F2937;
    font-weight: 500;
    font-size: 15px;
}

/* Hero Section */
.hero-section {
    background: white;
    padding: 150px 0 88px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 63px;
    margin-bottom: 27px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-text {
    flex: 1;
    text-align: right;
    padding: 95px 0 80px;
}

.hero-subtitle {
    color: #002E69;
    font-size: 44px;
    font-weight: 500;
    line-height: 0.75;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 66px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 81px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
}

.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #000;
}

.dot.active {
    background-color: #000;
}

/* About Section */
.about-section {
    background-color: #F9FAFB;
    padding: 65px 0 76px;
}

.section-header {
    text-align: center;
    margin-bottom: 53px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.31;
    margin-bottom: 18px;
}

.green-line {
    width: 88px;
    height: 4px;
    background-color: #16A34A;
    margin: 0 auto;
}

.about-flex {
    display: flex;
    gap: 53px;
}

.about-text {
    flex: 48.08%;
}

.about-text h3 {
    color: #1F2937;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.57;
    margin-bottom: 26px;
}

.about-text p {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.91;
    margin-bottom: 15px;
}

.stats-container {
    display: flex;
    gap: 26px;
    margin-top: 35px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.stat-card {
    background: white;
    border-radius: 9px;
    padding: 18px;
    text-align: center;
    min-width: 240px;
}

.stat-number {
    color: #16A34A;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.31;
    margin-bottom: 9px;
}

.stat-label {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.76;
}

.about-images {
    flex: 48.08%;
}

.image-grid {
    display: flex;
    gap: 18px;
}

.image-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.image-col img {
    width: 100%;
    border-radius: 9px;
}

/* Why Choose Section */
.why-choose-section {
    background: white;
    padding: 35px 0;
}

.why-choose-content {
    background: white;
    border-radius: 9px;
    padding: 35px;
}

.why-choose-content h2 {
    text-align: center;
    color: #1F2937;
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 26px;
}

.features-grid {
    display: flex;
    gap: 35px;
}

.feature-item {
    flex: 1;
    text-align: center;
    min-width: 240px;
}

.feature-icon {
    margin-bottom: 18px;
}

.feature-icon img {
    width: 71px;
    height: auto;
}

.feature-content h4 {
    color: #1F2937;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.65;
    margin-bottom: 9px;
}

.feature-content p {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.76;
}

/* Turf Selection Section */
.turf-selection-section {
    background: #F9FAFB;
    padding: 71px 0 77px;
}

.turf-selection-section .section-header h2 {
    color: #000;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.41;
}

.turf-options {
    display: flex;
    gap: 26px;
    margin-bottom: 53px;
}

.turf-card {
    flex: 32.05%;
    border-radius: 13px;
    overflow: hidden;
    min-width: 240px;
}

.turf-image {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
}

.turf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 26px;
}

.turf-info {
    text-align: center;
    color: white;
}

.turf-info h3 {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.57;
    margin-bottom: 9px;
}

.turf-info p {
    font-size: 15px;
    line-height: 1.76;
    opacity: 0.9;
}

.selected-badge {
    background: #F97316;
    color: white;
    padding: 9px 18px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
}

.select-badge {
    background: rgba(255,255,255,0.8);
    color: #1F2937;
    padding: 9px 18px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
}

.turf-details {
    background: white;
    border-radius: 13px;
    overflow: hidden;
    display: flex;
}

.turf-detail-image {
    flex: 50%;
}

.turf-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.turf-detail-content {
    flex: 50%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.turf-info-detail h3 {
    color: #000;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.57;
    margin-bottom: 18px;
}

.turf-info-detail p {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.76;
    margin-bottom: 26px;
}

.turf-info-detail h4 {
    color: #000;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.83;
    margin-bottom: 13px;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    color: #000;
    font-size: 15px;
    line-height: 1.76;
    margin-bottom: 9px;
}

.orange-dot {
    width: 9px;
    height: 9px;
    background: #F97316;
    border-radius: 50%;
    margin-right: 9px;
}

/* Booking Process Section */
.booking-process-section {
    background: #16A34A;
    border-radius: 18px;
    margin: 0 18px;
    overflow: hidden;
}

.process-content {
    display: flex;
}

.process-text {
    flex: 50%;
    padding: 53px;
    color: white;
}

.process-text h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.41;
    margin-bottom: 18px;
}

.process-description {
    font-size: 17px;
    line-height: 1.83;
    margin-bottom: 35px;
    color: #F0FDF4;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.step {
    display: flex;
    align-items: center;
    gap: 18px;
}

.step-icon img {
    width: 44px;
    height: 44px;
}

.step-content h4 {
    color: white;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.76;
    margin-bottom: 3px;
}

.step-content p {
    color: #F0FDF4;
    font-size: 13px;
    line-height: 1.68;
}

.process-image {
    flex: 50%;
    background-size: cover;
    background-position: center;
    min-height: 534px;
}

/* Booking Slots Section */
.booking-slots-section {
    padding: 115px 0;
}

.booking-header h2 {
    color: #000;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.41;
    text-align: center;
    margin-bottom: 15px;
}

.booking-header p {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.76;
    text-align: center;
    margin-bottom: 26px;
}

.booking-widget {
    background: white;
    border-radius: 13px;
    border: 1px solid #FFFFFF;
    padding: 26px;
    margin-bottom: 193px;
}

.date-selector {
    margin-bottom: 26px;
}

.date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.date-header h3 {
    color: #000;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.65;
}

.date-options {
    display: flex;
    gap: 9px;
}

.date-btn {
    background: #EFF6FF;
    border: 1px solid #2563EB;
    border-radius: 9px;
    color: #4B5563;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.68;
    padding: 19px 0;
    width: 13.71%;
    text-align: center;
    cursor: pointer;
}

.date-btn.active {
    background: #EFF6FF;
    border-color: #2563EB;
    color: #4B5563;
}

.time-slots {
    margin-top: 35px;
}

.time-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.time-header h3 {
    color: #000;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.65;
    display: flex;
    align-items: center;
    gap: 9px;
}

.legend {
    display: flex;
    gap: 18px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #000;
    font-size: 13px;
}

.dot.available {
    background: #2563EB;
}

.dot.booked {
    background: #D1D5DB;
}

.slots-grid {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.slot-row {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.slot-btn {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 9px;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.68;
    padding: 14px 0 15px;
    flex: 1;
    min-width: 150px;
    cursor: pointer;
}

.slot-btn.available {
    background: white;
    color: #374151;
}

.slot-btn.booked {
    background: #F3F4F6;
    color: #6B7280;
}

/* Gallery Section */
.gallery-section {
    background: #F9FAFB;
    padding: 71px 0 70px;
}

.gallery-section .section-header h2 {
    color: #000;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.41;
}

.gallery-filters {
    background: white;
    border-radius: 9px;
    padding: 4px 0 5px;
    display: flex;
    justify-content: center;
    gap: 0;
    width: 343px;
    margin: 0 auto 44px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.68;
    padding: 9px 0 10px;
    cursor: pointer;
    flex: 1;
    border-radius: 7px;
}

.filter-btn.active {
    background: #F97316;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.gallery-item {
    border-radius: 9px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 291px;
    object-fit: cover;
}

/* Footer */
.site-footer {
    background: linear-gradient(90deg, #FFFFFF 100%, #0095D9 100%);
    padding: 53px 0 28px;
}

.footer-content {
    display: flex;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-col {
    flex: 23.08%;
    min-width: 240px;
}

.footer-col h4 {
    color: #000;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.83;
    margin-bottom: 18px;
}

.footer-col p {
    color: #000;
    font-size: 15px;
    line-height: 1.76;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 9px;
}

.footer-col ul li a {
    color: #000;
    font-size: 15px;
    line-height: 1.76;
    text-decoration: none;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
}

.qr-code {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qr-code img {
    width: 106px;
    height: 106px;
    background: white;
    border-radius: 7px;
    padding: 13px;
}

.footer-bottom {
    border-top: 1px solid #1F2937;
    padding-top: 28px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #000;
    font-size: 13px;
    line-height: 1.68;
}

.footer-links {
    display: flex;
    gap: 18px;
}

.footer-links a {
    color: #F91616;
    font-size: 13px;
    line-height: 1.68;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .hero-text {
        text-align: center;
        padding: 24px 0;
    }
    
    .hero-subtitle {
        font-size: 23px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .about-flex {
        flex-direction: column;
        gap: 23px;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .features-grid {
        flex-direction: column;
        gap: 19px;
    }
    
    .turf-options {
        flex-direction: column;
    }
    
    .turf-details {
        flex-direction: column;
    }
    
    .process-content {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 19px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .main-navigation ul {
        display: none;
    }
    
    .date-options {
        flex-wrap: wrap;
    }
    
    .date-btn {
        width: calc(100% / 7 - 6px);
        min-width: auto;
    }
    
    .slot-row {
        flex-direction: column;
    }
    
    .slot-btn {
        min-width: auto;
    }
}
