/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

}

/* Variables */
:root {
    --primary-red: #DC2626;
    --primary-yellow: #FCD34D;
    --secondary-red: #EF4444;
    --secondary-yellow: #FDE047;
    --white: #FFFFFF;
    --light-gray: #F9FAFB;
    --dark-gray: #374151;
    --text-dark: #1F2937;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--light-gray);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease; 
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

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

.nav-logo h2 {
    background: linear-gradient(to bottom, var(--primary-red), orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.5rem;
    padding-left:30px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

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

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

}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    margin: 3px 0;
    transition: 0.3s;
}

/* Shopping Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-gray);
}

.cart-header h3 {
    color: var(--primary-red);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark-gray);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-close:hover {
    background: var(--primary-red);
    color: var(--white);
}

.cart-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    color: var(--dark-gray);
    margin-top: 50px;
}

.empty-cart p {
    margin-bottom: 10px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #E5E7EB;
    gap: 15px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.cart-item-price {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.remove-item-btn {
    background: #EF4444;
    color: var(--white);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.remove-item-btn:hover {
    background: #DC2626;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.quantity-btn {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--secondary-red);
    transform: scale(1.1);
}

.quantity-btn:disabled {
    background: #D1D5DB;
    cursor: not-allowed;
    transform: none;
}

.quantity-display {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 20px;
    text-align: center;
}

.cart-item-total {
    font-weight: 700;
    color: var(--primary-red);
    font-size: 0.9rem;
    margin-top: 5px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #E5E7EB;
    background: var(--light-gray);
    position: sticky;
    bottom: 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.total-label {
    font-weight: 600;
    color: var(--text-dark);
}

.total-price {
    font-weight: 700;
    color: var(--primary-red);
    font-size: 1.3rem;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-yellow));
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.checkout-btn:hover {
    background: linear-gradient(45deg, var(--primary-yellow), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.checkout-btn:disabled {
    background: #D1D5DB;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Checkout Modal */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;
}

.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.checkout-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-content {
    background: var(--white);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
}

.checkout-modal.active .checkout-content {
    transform: scale(1) translateY(0);
}

.checkout-header {
    padding: 25px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-gray);
    border-radius: 20px 20px 0 0;
}

.checkout-header h3 {
    color: var(--primary-red);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.checkout-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark-gray);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.checkout-close:hover {
    background: var(--primary-red);
    color: var(--white);
}

.checkout-form {
    padding: 25px;
}

.checkout-form .form-group {
    margin-bottom: 20px;
}

.checkout-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.order-summary {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.order-summary h4 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #E5E7EB;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-info {
    flex: 1;
}

.summary-item-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.summary-item-details {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.summary-item-total {
    font-weight: 600;
    color: var(--primary-red);
}

.summary-total {
    text-align: right;
    padding-top: 15px;
    border-top: 2px solid var(--primary-red);
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--primary-red);
}

.submit-checkout-btn {
    width: 100%;
    background: linear-gradient(45deg, var(--secondary-red), rgb(228, 172, 68));
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-checkout-btn:hover {
    background: linear-gradient(45deg, rgb(228, 172, 68), var(--secondary-red));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}


/* Hero Section */
.hero {
    min-height: 100vh;
    background-color: var(--primary-red);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 20px 50px;
    color: var(--white);
    mask-image: linear-gradient(rgba(0,0,0,1)100%, rgba(0,0,0,0));
    position: relative;
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center; 
    min-height: 100vh; 
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    animation: fadeInUp 1s ease;
    bottom: 10px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
    background: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    background: linear-gradient(to bottom, var(--secondary-red), rgb(228, 172, 68));
    font-size: 1.2rem;
    transition: 0.3s ease;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Penting untuk susunan vertikal */
    margin-top: 100px; /* Tambahkan ini untuk geser ke bawah */
    animation: fadeInRight 1s ease 0.8s both;
}

.image-logo {
    width: 250px;
    height: 250px;
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}


/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-yellow));
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.vision, .mission {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.vision:hover, .mission:hover {
    transform: translateY(-5px);
}

.vision h4, .mission h4 {
    color: var(--primary-red);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.mission ul {
    list-style: none;
}

.mission li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.5rem;
}

.mission li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: bold;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Menu Section */
.menu {
    padding: 100px 0;
    background: var(--white);
}

.menu-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-btn {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--primary-red);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: fadeInUp 0.5s ease forwards;
}

.menu-item a{
    text-align: center;
    text-decoration: none;
}

.menu-item.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.menu-item.hide {
    display: none;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-yellow);
}

/* Menu filtering animations */
.menu-grid {
    min-height: auto;
    transition: all 0.3s ease;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes menuFadeOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.9) translateY(-30px);
    }
}

.menu-item.filtering-in {
    animation: menuFadeIn 0.4s ease forwards;
}

.menu-item.filtering-out {
    animation: menuFadeOut 0.3s ease forwards;
}

.menu-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.menu-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-height: 200px;
  object-fit: cover;
}


.menu-image-all {
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
  text-align: center;
}

.menu-image-all img {
  width: 100%;              /* agar tidak terlalu mentok ke pinggir */
  max-height: 800px;       /* batasi tinggi maksimum jika terlalu panjang */
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;          /* posisikan ke tengah */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* agar lebih menonjol */
}


.menu-item:hover .menu-image img {
    transform: scale(1.1);
}

.menu-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.menu-item p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.order-btn {
    background: linear-gradient(45deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.order-btn:hover {
    background: linear-gradient(45deg, var(--secondary-red), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}



/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item .map{
    width: 90%;
    object-fit: cover;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(45deg, var(--secondary-red), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section li:hover {
    color: var(--primary-yellow);
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive Design */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .menu-image-all{
        height: auto;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        display: flex;
        flex-direction: column;       
        justify-content: flex-start;  
        align-items: center;
        padding-top: 40px;            
    }

    .image-logo {
        font-size: 2rem;
        display: flex;
    }

  .hero-content {
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    min-height: auto;             
    padding: 0 20px;
    gap: 1rem;
  }
    
    .hero-title {
        font-size: 2.5rem;
    }


    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* .about .container */
    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat-item {
        flex: 1;
        margin: 0 0.5rem;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;

    }
    
    .hero {
        padding: 60px 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
    }
    
    .about-stats {
        flex-direction: column;
    }

    .stat-item {
        margin: 0;
    }
    
    .menu-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}