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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

h1 {
    font-size: 2.1rem;
    margin-bottom: 0.7rem;
    color: #2c5530;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1.4rem;
    text-align: center;
    color: #2c5530;
}

h3 {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
    color: #2c5530;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    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 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 100px;
    width: auto;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c5530;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #7a9a4d;
}

.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 {
    padding: 84px 14px 56px;
    display: flex;
    align-items: center;
    min-height: 70vh;
    background: linear-gradient(135deg, #f8faf8 0%, #e8f2e8 100%);
}

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

.hero-content p {
    font-size: 0.84rem;
    margin-bottom: 1.4rem;
    color: #666;
    line-height: 1.6;
}

.cta-button {
    background: #7a9a4d;
    color: white;
    padding: 10px 21px;
    border: none;
    border-radius: 5px;
    font-size: 0.77rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #2c5530;
}

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

.image-placeholder {
    width: 280px;
    height: 210px;
    background: #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.84rem;
}

/* Classes Section */
.classes-section {
    padding: 56px 0;
    background: white;
}

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

.class-card {
    background: #f9f9f9;
    border-radius: 7px;
    padding: 21px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.class-image {
    font-size: 2.8rem;
    margin-bottom: 14px;
}

.class-card h3 {
    margin-bottom: 15px;
    color: #2c5530;
}

.class-card p {
    margin-bottom: 20px;
    color: #666;
}

.class-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.duration {
    background: #e8f2e8;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2c5530;
    font-weight: 600;
}

.price {
    font-size: 0.91rem;
    font-weight: 700;
    color: #7a9a4d;
}

/* Calendar & Booking Section */
.calendar-section {
    padding: 56px 0;
    background: #f8faf8;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.calendar-widget, .booking-form {
    background: white;
    padding: 21px;
    border-radius: 7px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.calendar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    color: #666;
    min-height: 300px;
}

.calendar-header {
    text-align: center;
    margin-bottom: 20px;
}

.classes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 100%;
}

.class-card-calendar {
    background: white;
    border: 2px solid #7a9a4d;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 300px;
    margin: 0 auto;
}

.class-card-calendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 154, 77, 0.2);
}

.date-circle {
    background: #7a9a4d;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.class-info-compact {
    flex: 1;
    text-align: left;
}

.class-title-compact {
    font-weight: 600;
    color: #2c5530;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.class-date-compact {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 5px;
}

.class-availability-compact {
    font-size: 0.7rem;
    font-weight: bold;
    color: #7a9a4d;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    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: #7a9a4d;
}

.submit-button {
    width: 100%;
    background: #7a9a4d;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 0.77rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #2c5530;
}

/* About Section */
.about-section {
    padding: 56px 0;
    background: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 0.77rem;
    margin-bottom: 14px;
    color: #666;
    line-height: 1.6;
}

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

/* Contact Section */
.contact-section {
    padding: 56px 0;
    background: #2c5530;
    color: white;
}

.contact-section h2 {
    color: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-item h3 {
    color: #a8c894;
    margin-bottom: 15px;
}

.contact-item p {
    line-height: 1.8;
}

/* Footer */
footer {
    background: #1a3d1f;
    color: white;
    padding: 21px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 70px 14px 42px;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .booking-container {
        grid-template-columns: 1fr;
    }
    
    .classes-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .class-card-calendar {
        max-width: 100%;
        padding: 12px;
        gap: 12px;
    }
    
    .date-circle {
        width: 45px;
        height: 45px;
    }
    
    .class-title-compact {
        font-size: 0.8rem;
    }
    
    .class-date-compact {
        font-size: 0.7rem;
    }
    
    .class-availability-compact {
        font-size: 0.65rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .image-placeholder {
        width: 100%;
        height: 140px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
}

/* Video Gallery Section */
.gallery-section {
    padding: 56px 0;
    background: linear-gradient(135deg, #f8faf8 0%, #e8f2e8 100%);
}

.gallery-intro {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.video-gallery {
    max-width: 1000px;
    margin: 0 auto;
}

.featured-video {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    margin-bottom: 20px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-container:hover .video-overlay {
    opacity: 0;
}

.video-container video:not([paused]) + .video-overlay {
    opacity: 0;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(122, 154, 77, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.play-button:hover {
    background: rgba(122, 154, 77, 1);
    transform: scale(1.1);
}

.play-button span {
    color: white;
    font-size: 24px;
    margin-left: 5px;
}

.video-info h3 {
    color: #2c5530;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.video-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.video-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.video-tag {
    background: #7a9a4d;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.video-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.control-btn {
    background: white;
    border: 2px solid #7a9a4d;
    color: #7a9a4d;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.control-btn:hover {
    background: #7a9a4d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(122, 154, 77, 0.3);
}

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

.gallery-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gallery-placeholder span {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.gallery-placeholder p {
    font-weight: 600;
    color: #2c5530;
    margin: 0;
}

.gallery-placeholder small {
    color: #666;
    font-size: 0.8rem;
}

/* Updated About Section Styles */
.credentials {
    background: #f8faf8;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.chef-image {
    width: 280px;
    height: 350px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-kitchen-image {
    width: 280px;
    height: 210px;
    border-radius: 10px;
    object-fit: cover;
}

.credentials h4 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.credentials ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.credentials li {
    padding: 8px 0;
    color: #666;
    font-size: 0.9rem;
    border-bottom: 1px solid #e0e0e0;
}

.credentials li:last-child {
    border-bottom: none;
}

/* Responsive Video Gallery */
@media (max-width: 768px) {
    .featured-video {
        padding: 20px;
    }
    
    .video-container {
        height: 250px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button span {
        font-size: 18px;
    }
    
    .video-controls {
        gap: 10px;
    }
    
    .control-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .video-container {
        height: 200px;
    }
    
    .gallery-intro {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .video-info h3 {
        font-size: 1.2rem;
    }
    
    .video-meta {
        justify-content: center;
    }
    
    .video-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* Admin Access Section */
.admin-access-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.admin-access-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.admin-access-button {
    display: inline-block;
    background: #7a9a4d;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #7a9a4d;
}

.admin-access-button:hover {
    background: #2c5530;
    border-color: #2c5530;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 85, 48, 0.3);
}

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