body {
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}

/* HEADER */
header {
    background: black;
    color: white;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
header img {
    height: 50px;
}
nav {
    
    display: flex;
    flex-direction: row; /* Horizontal layout */

    gap: 20px; /* Space between menu items */
}
 

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
}
nav a:hover {
    color: #C9A227;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 200px;
    text-align: center;
    padding: 80px 20px;
    background: url('../images/court-bg.jpg') no-repeat center center/cover;
    color: white;
    text-shadow: 2px 2px 5px #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Overlay effect */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: -1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}
.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}
.btn {
    background: #C9A227;
    color: white;
    padding: 12px 25px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover {
    background: #a8841e;
}

/* FOOTER */
footer {
    height:150px;
    background: black;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 0px;
    font-size: 14px;
}

/* ✅ RESPONSIVE DESIGN */
@media (max-width: 768px) {
 header {
        flex-direction: column;
        text-align: center;
    }
    nav {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
}
    nav a {
        display: block;
        margin: 10px 0;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .btn {
        font-size: 16px;
        padding: 10px 20px;
    }


@media (max-width: 480px) {
    .hero {
        padding: 50px 10px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero p {
        font-size: 14px;
    }
    .btn {
        width: 100%;
        max-width: 250px;
        display: inline-block;
    }
}

/* about page */
.about-section {
    
    max-width: 1000px;
    margin: 20px auto;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 10px;
}

.about-container h1 {
    font-size: 32px;
    color: #0A2A43;
    margin-bottom: 20px;
    text-align: center;
}

.about-container p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.about-container h2 {
    margin-top: 20px;
    color: #C9A227;
    font-size: 24px;
}

.about-container ul {
    list-style: none;
    padding: 0;
    font-size: 18px;
}

.about-container ul li {
    margin-bottom: 10px;
    color: #0A2A43;
}

/* practice are */

.practice-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.practice-container {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.practice-image img {
    max-width: 250px;
    border-radius: 8px;
}

.practice-content {
    flex: 1;
}

.practice-content h1 {
    font-size: 28px;
    color: #0A2A43;
    margin-bottom: 15px;
}

.practice-content ul {
    list-style: none;
    padding: 0;
    font-size: 18px;
}

.practice-content ul li {
    margin-bottom: 10px;
    color: #0A2A43;
}

/* ✅ Responsive for Mobile */
@media (max-width: 768px) {
    .practice-container {
        flex-direction: column;
        text-align: center;
    }

    .practice-image img {
        max-width: 180px;
    }
}
/* conatact form */
.contact-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-section h1 {
    font-size: 32px;
    color: #0A2A43;
    margin-bottom: 10px;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 300px;
}

.contact-form input, 
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

.contact-info {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 10px;
    color: #C9A227;
}

.contact-info p, .contact-info a {
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 16px;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: #1EBE57;
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }
    .contact-info {
        text-align: center;
    }
}
/* blog */
.blog-section {
    padding: 20px;
    text-align: center;
}

.blog-section h1 {
    color: #1c1c1c;
    margin-bottom: 20px;
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blog-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.blog-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.blog-card p {
    color: #666;
    font-size: 14px;
}

.blog-card a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

/* add-blog */
.add-form-section {
    max-width: 700px;
    margin: 50px auto;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.add-form-section,
.add-form-section textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.add-form-section .btn {
    background: #a57c00;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.add-form-section .btn:hover {
    background: #7d5e00;
}
