/* style.css - Light Red Background + Dark Red Header/Footer */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: #ffe6e6;
    color: #2d1a1a;
    scroll-behavior: smooth;
}

h1, h2, h3, .logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Navbar - Dark Red */
.navbar {
    background: #8b1e1e;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #6b1616;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo {
    font-size: 2rem;
    letter-spacing: -0.5px;
    color: #fff3e0;
}

.logo span {
    color: #ffccaa;
}

.nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #fff0e0;
    transition: 0.25s;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    display: inline-block;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.nav-links a.active {
    background: #b34141;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-bottom: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(120deg, #ffd9d9 0%, #ffe0e0 100%);
    padding: 5rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 0 0 2rem 2rem;
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 700;
    color: #5e1a1a;
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 1rem auto;
    color: #7a3a3a;
}

.btn {
    display: inline-block;
    background: #b34141;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(179, 65, 65, 0.25);
    transition: 0.25s;
}

.btn:hover {
    background: #8b2e2e;
    transform: translateY(-2px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #5e1a1a;
    font-weight: 500;
}

/* About page */
.about-grid {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2d1a1a;
}

.about-stats {
    flex: 1;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 1.8rem;
    text-align: center;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.05);
    min-width: 130px;
    border: 1px solid #ffcece;
}

.stat-card i {
    font-size: 2.4rem;
    color: #b34141;
}

/* Courses */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.course-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 32px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
    border: 1px solid #ffcece;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 35px -12px rgba(0,0,0,0.1);
    border-color: #ffaaaa;
}

.course-icon {
    font-size: 2.8rem;
    background: #fff0f0;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    color: #8b2e2e;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.gallery-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 24px -12px rgba(0,0,0,0.08);
    transition: 0.2s;
    border: 1px solid #ffcece;
}

.gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-card:hover img {
    transform: scale(1.02);
}

.gallery-card p {
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    background: white;
    color: #8b2e2e;
}

/* Contact Form */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 36px;
    padding: 2rem;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.05);
    border: 1px solid #ffcece;
}

.contact-details {
    flex: 1;
}

.contact-details i {
    width: 32px;
    color: #b34141;
    margin-right: 10px;
}

form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 1rem 1.2rem;
    border: 2px solid #ffbbbb;
    border-radius: 60px;
    font-family: inherit;
    background: #fffafa;
    transition: all 0.3s ease;
    outline: none;
}

textarea {
    border-radius: 28px;
}

/* NEW: Focus effect - dark red border and shadow */
input:focus, textarea:focus {
    border-color: #8b1e1e;
    box-shadow: 0 0 0 3px rgba(139, 30, 30, 0.2);
    background: #ffffff;
}

button {
    background: #b34141;
    border: none;
    color: white;
    padding: 0.9rem;
    border-radius: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #8b2e2e;
}

/* Footer */
footer {
    background: #8b1e1e;
    color: #ffefdf;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid #6b1616;
}

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .container {
        padding: 2rem 1.2rem;
    }
    .nav-links {
        gap: 0.5rem;
    }
    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}