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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #000;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #f8fafa;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: #f8fafa;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    color: #46371f;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-img {
    height: 98px; /* Bigger logo in navbar */
    width: auto; /* Maintains aspect ratio */
    max-width: 250px; /* Prevents logo from being too wide */
    transition: opacity 0.3s ease;
    /* Remove any background */
    background: transparent;
}

.logo-img:hover {
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #46371f;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #46371F;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, #f5f7fa 0%, #efebdd 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 75px 20px 0 20px;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #46371f;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-equipment-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.hero-equipment-img:hover {
    transform: scale(1.02);
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #46371f;
    color: white;
    box-shadow: 0 4px 15px rgba(44, 95, 95, 0.3);
}

.btn-primary:hover {
    background: #efebdd;
    transform: translateY(-2px);
    color: #46371f;
    box-shadow: 0 6px 20px rgba(44, 95, 95, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #46371f;
    border: 2px solid #46371f;
}

.btn-secondary:hover {
    background: #46371f;
    color: #efebdd;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #46371f;
    border: 2px solid #46371f
}

.btn-outline:hover {
    background: #46371f;
    color: white;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #46371f;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* About Section */
.about {
    background: #f8fafa;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #46371f;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #000;
    line-height: 1.7;
}

.features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-logo {
    width: 30px;  /* Same width as the font icon */
    height: auto; /* Maintains aspect ratio */
    max-height: 50px; /* Prevents it from being taller than the icon */
    object-fit: contain; /* Ensures the logo fits nicely within the dimensions */
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #46371f;
}

.feature i {
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.instructor-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.instructor-photo:hover {
    transform: scale(1.02);
}



/* Classes Section */

.classes {
    background-color: #f8fafa;
}
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.class-card {
    background: #fcfbf7;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #46371F;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.class-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #46371f, #5a4529);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    overflow: hidden; /* Add this to contain the image */
}

.class-icon-img {
    width: 82px;  /* Same as the container width */
    height: 82px; /* Same as the container height */
    object-fit: cover; /* This will fill the entire circle */
    border-radius: 50%; /* Makes the image circular to match the container */
}

.class-card h3 {
    color: #46371F;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.class-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.class-details {
    display: flex;
    justify-content: space-around;
    color: #46371F;
    font-size: 0.9rem;
}

.class-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.class-link {
    display: inline-block;
    padding: 10px 20px;
    background: #46371F;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.class-link:hover {
    background: #5a4529;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(70, 55, 31, 0.3);
}

/* Pricing Section */
.pricing {
    background: #f8fafa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.pricing-card.featured {
    transform: scale(1.05);
    background: linear-gradient(135deg, #2c5f5f, #4a7c7c);
    color: white;
}

.pricing-card.featured .btn-primary {
    background: white;
    color: #2c5f5f;
}

.badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: inherit;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: inherit;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card li i {
    color: #46371F;
    width: 20px;
}

.pricing-card.featured li i {
    color: white;
}

/* Contact Section */

.contact {
    background-color: #f8fafa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: #46371F;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item i {
    color: #46371F;
    font-size: 1.2rem;
    margin-top: 0.3rem;
    width: 20px;
    text-align: center;
}

.contact-item h4 {
    color: #46371F;
    margin-bottom: 0.5rem;
}

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

/* Form Styles */
.contact-form {
    background: #efebdd;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5f5f;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: #efebdd;
    color: #46371F;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #46371F;
}

.footer-section p {
    color: #46371F;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #46371F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #46371F;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #46371F;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #46371F;
    color: #efebdd
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #46371F;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        height: 50px; /* Smaller on mobile but still visible */
        max-width: 180px;
    }

    .logo-text {
        display: none;
    }

    .hero {
        padding: 120px 0px 60px; /* Normal mobile padding */
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 120px 20px 60px 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #f8fafa;;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-image .placeholder-image {
        width: 300px;
        height: 300px;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .features {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-equipment-img {
        max-width: 350px;
        margin-top: 1rem;
    }

     .hero-equipment-img {
        max-width: 280px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .classes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-image .placeholder-image {
        width: 250px;
        height: 250px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Form submission states */
.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

.form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}