* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation & Logo Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px 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;
}

/* LOGO STYLING - Customize these classes for your logo */
.nav-logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    align-items: flex-start;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #c41e3a; /* Japanese red */
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: normal;
}

/* If using image logo, uncomment and customize: edited here 4444444444*/

.logo-image {
   /* height: 50px;
    width: auto;
    transition: transform 0.3s ease;*/
    height: 45px;
    width: auto;
    max-width: 200px; 
    transition: all 0.3s ease;
    
    
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Responsive adjustments for different screen sizes */
    @media screen and (max-width: 768px) {
        .logo-image {
            height: 40px; /* Smaller on mobile */
            max-width: 150px;    }
        
    }

@media screen and (max-width: 480px) {
    .logo-image {
        height: 35px; /* Even smaller on very small screens */
        max-width: 120px;    }
    
}

/* If navbar height changes, logo adjusts accordingly */
.navbar {
    padding: 1rem 0; /* Current navbar padding */
    
}

/* Alternative: Dynamic logo sizing based on navbar height */
.nav-logo a {
    display: flex;
    align-items: center; /* Centers logo vertically */
    height: 100%; /* Takes full height of nav container */
    
}
.logo-image {    height: calc(100% - 10px); /* Logo height = navbar height minus small margin */
min-height: 30px; /* Minimum height to ensure readability */
max-height: 60px; /* Maximum height to prevent oversizing */
    
}



























/* Hero Section Logo */
.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-image {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1); /* Makes logo white for dark background */
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #c41e3a;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #c41e3a 0%, #8B1538 50%, #2c3e50 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="20" opacity="0.1">🌸</text></svg>');
    background-size: 100px 100px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-20px); }
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: #FFD700; /* Golden yellow */
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
    font-family: 'Hiragino Sans', 'Yu Gothic', sans-serif;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: #FFD700;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Sections */
.about, .courses, .teachers, .contact {
    padding: 80px 0;
}

.about {
    background: #f8f9fa;
}

.teachers {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #c41e3a;
    margin: 20px auto 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: #c41e3a;
    margin-bottom: 1rem;
}

/* Courses */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-card.featured {
    border: 3px solid #c41e3a;
    transform: scale(1.05);
}

.course-level {
    background: #c41e3a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-block;
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.course-card ul {
    text-align: left;
    margin: 1.5rem 0;
}

.course-card li {
    margin-bottom: 0.5rem;
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

.course-card li::before {
    content: '✓';
    color: #c41e3a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.course-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #c41e3a;
    margin-top: 1rem;
}

/* Teachers */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.teacher-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.teacher-image {
    margin-bottom: 1rem;
}

.teacher-image i {
    font-size: 4rem;
    color: #c41e3a;
}

/* If using teacher photos: */
/*
.teacher-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #c41e3a;
}
*/

.teacher-title {
    color: #c41e3a;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    background: #2c3e50;
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: #FFD700;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: #FFD700;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    font-size: 1.2rem;
    margin-right: 1rem;
    color: #c41e3a;
    width: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
}

.submit-btn {
    padding: 1rem;
    background: #c41e3a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #8B1538;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* FOOTER LOGO STYLING */
.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-text span:first-child {
    font-size: 1.5rem;
    font-weight: bold;
    color: #c41e3a;
}

.footer-subtitle {
    font-size: 1rem;
    color: #ccc;
    font-weight: normal;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #c41e3a;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .courses-grid,
    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .features {
        grid-template-columns: 1fr;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
}
