
:root {
    --primary: #8B4513;
    --secondary: #A0522D;
    --accent: #CD853F;
    --light: #F5F5DC;
    --dark: #3E2723;
    --text: #5D4037;
    --gold: #D4AF37;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Elegant Header */
header {
    background-color: rgba(62, 39, 35, 0.9);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(62, 39, 35, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    width: auto;
    filter: sepia(100%);
    transition: transform 0.5s ease;
}

.logo:hover img {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    color: var(--light);
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.5s ease;
}

.logo:hover .logo-text::after {
    width: 100%;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--gold);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.5s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Elegant Hero Section */
.hero {
    height: 100vh;
    background-image: url('img/Hero\ Img.webp');
    background-size: 800px;
    background-repeat: no-repeat;
    background-position: 550px 90px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light);
    /* padding-top: 80px; */
    position: relative;
    overflow: hidden;
}

/* Gradient berada di atas gambar tetapi di bawah teks */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 965px;
    height: 100%;
    background: radial-gradient(at top left, rgba(129, 124, 123, 0.514), rgba(62, 39, 35, 0.9));
    z-index: -2; /* gradient */
}

.hero * {
    position: relative;
    z-index: 2; /* teks berada di atas gradient */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease forwards 0.5s;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--gold);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    font-style: italic;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards 1s;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: transparent;
    color: var(--light);
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    transition: all 0.5s ease;
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards 1.5s;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: var(--gold);
    color: var(--dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Elegant Section Styles */
.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 80px;
    color: var(--dark);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--primary);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Elegant About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

#about {
    background-color: var(--light);
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-30px);
}

.about-text h3.animate {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease 0.3s;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 18px;
    opacity: 0;
    transform: translateX(-30px);
}

.about-text p.animate {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease 0.5s;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(30px);
    position: relative;
}

.about-image.animate {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease 0.7s;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139,69,19,0.1), transparent);
    z-index: 1;
    transition: all 0.5s ease;
}

.about-image:hover::before {
    background: linear-gradient(45deg, rgba(139,69,19,0.2), transparent);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Elegant Menu Section */
.menu-section {
    background-color: var(--dark);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(205,133,63,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.menu-section .section-title {
    color: var(--light);
}

.menu-section .section-title::after {
    background-color: var(--accent);
}

.menu-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.category-btn {
    background-color: transparent;
    color: var(--light);
    border: 1px solid var(--accent);
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.5s ease;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent);
    transition: all 0.5s ease;
    z-index: -1;
}

.category-btn.active,
.category-btn:hover {
    color: var(--dark);
}

.category-btn.active::before,
.category-btn:hover::before {
    width: 100%;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.menu-item {
    background-color: rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.menu-item.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212,175,55,0.1), transparent);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.menu-item:hover::before {
    opacity: 1;
}

.menu-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.menu-item-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.menu-item-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

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

.menu-item-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.menu-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent);
}

.menu-item p {
    margin-bottom: 20px;
    font-size: 16px;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
}

/* Elegant Story Section */
.story-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1509042239860-f550ce710b93?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-attachment: fixed;
    color: var(--light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(139,69,19,0.2)"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
}

.story-content.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease;
}

.story-content p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
}

.story-content p.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

/* Carousel wrapper */
.testimonial-carousel {
    position: relative;
    max-width: 850px;
    margin: auto;
}

/* Testimonial items */
.testimonial-item {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(212,175,55,0.35);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Item aktif / sedang tampil */
.testimonial-item.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
}

/* Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(212,175,55,0.4);
    padding: 8px 14px;
    cursor: pointer;
    font-size: 22px;
    border-radius: 50%;
    transition: 0.3s ease;
    color: #333;
}

.carousel-btn:hover {
    background: #fff;
    border-color: rgba(212,175,55,0.9);
}

.prev {
    left: -25px;
}

.next {
    right: -25px;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(212,175,55,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
}

.carousel-dots .dot.active {
    background: rgba(212,175,55,1);
}

/* Foto profil */
.testimonial-photo {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(212,175,55,0.6); /* gold klasik */
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}



/* Elegant Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(205,133,63,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

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

.footer-column h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
    bottom: -8px;
    left: 0;
}

.footer-column p,
.footer-column a {
    color: #ccc;
    margin-bottom: 12px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #1a1a1a;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #c7a17a;
}

.social-links a:hover {
    background-color: #c7a17a;
    color: #111;
    transform: translateY(-3px);
}

.map-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Floating elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 56px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .section-title {
        font-size: 40px;
    }
}

/* @media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 20px;
    }

    .section-title {
        font-size: 36px;
    }

    nav ul {
        gap: 20px;
    }

    nav ul li a {
        font-size: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .menu-categories {
        gap: 10px;
    }

    .category-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
} */

@media (max-width: 576px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section {
        padding: 80px 0;
    }
}







/* ============================
   RESPONSIVE BREAKPOINTS
   ============================ */

/* Tablet (768px - 992px) */
@media (max-width: 992px) {
    /* Hero Section */
    .hero {
        /* background-position: center 90px; */
        background-size: 600px;
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero h1 {
        font-size: 56px;
    }

    .hero p {
        font-size: 20px;
    }

    .image-hero {
        order: -1;
        height: 300px;
    }

    .image-hero img {
        height: 350px;
        max-width: 100%;
    }

    /* About Section Slider */
    .slider-container {
        padding: 20px;
    }

    .slide {
        flex-direction: column !important;
        text-align: center;
        padding: 30px;
    }

    .slide img {
        width: 250px !important;
        margin: 0 auto 20px !important;
    }

    .slide-content {
        padding: 20px !important;
    }

    /* Menu Grid */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .section-title {
        font-size: 40px;
        margin-bottom: 60px;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape (576px - 768px) */
@media (max-width: 768px) {
    /* HEADER FIX */
    .header-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between !important;
        align-items: center;
        width: 100%;
        position: relative;
        z-index: 1000;
    }

    /* LOGO */
    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .logo-text {
        display: none;
    }

    /* HAMBURGER FIX */
    .hamburger-menu {
        display: block;
        font-size: 28px;
        cursor: pointer;
        position: relative;
        right: 0;
        top: 0;
        z-index: 1002; /* di atas elemen lainnya */
    }

    /* NAV DITURUNKAN — ABSOLUTE */
    nav {
        position: absolute;
        top: 100%;  /* muncul di bawah header */
        left: 0;
        width: 100%;
        background: rgba(20, 20, 20, 0.95);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1001;
    }

    nav.active {
        max-height: 400px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        font-size: 16px;
    }

    /* Hero */
    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
        padding: 0 20px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* Menu */
    .menu-categories {
        gap: 10px;
    }

    .category-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 120px;
    }

    /* Story Section */
    .story-content {
        padding: 0 20px;
    }

    /* Testimonial */
    .testimonial-item {
        padding: 30px 20px;
    }

    .carousel-btn {
        padding: 6px 12px;
        font-size: 18px;
    }

    .prev {
        left: -15px;
    }

    .next {
        right: -15px;
    }
}

/* Mobile Portrait (max-width: 576px) */
@media (max-width: 576px) {
    /* Global */
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    /* Hero */
    .hero .container {
        margin: 60px !important;
    }
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .image-hero img {
        height: 280px;
    }

    /* About Slider */
    .slider-container h2.section-title {
        font-size: 28px;
        padding: 0 15px;
    }

    .slide img {
        width: 200px !important;
    }

    /* Menu */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .menu-categories {
        overflow-x: auto;
        padding-bottom: 10px;
        /* justify-content: flex-start; */
        -webkit-overflow-scrolling: touch;
    }

    .category-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-container {
        height: 180px;
    }

    /* Contact Form */
    .contact-form {
        padding: 0 10px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
}

/* Very Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 30px;
    }

    .logo-text {
        font-size: 22px;
    }

    nav ul {
        gap: 10px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .menu-item h3 {
        font-size: 20px;
    }

    .menu-item p {
        font-size: 14px;
    }

    .price {
        font-size: 20px;
    }
}

/* ============================
   SLIDER STYLES (Tambahan)
   ============================ */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin: 20px;
}

.slide img {
    width: 350px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.slide-content {
    flex: 1;
    padding: 30px;
}

.slide-content h2 {
    color: var(--gold);
    font-size: 32px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.slide-content p {
    color: white;
    font-size: 18px;
    line-height: 1.6;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* Story Section Fix */
.story-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url('https://images.unsplash.com/photo-1509042239860-f550ce710b93?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-attachment: scroll; /* Changed for mobile performance */
}

/* Responsive Background Images */
/* @media (max-width: 768px) {
    .hero::before {
        width: 100%;
        background: radial-gradient(at center center,
                    rgba(129, 124, 123, 0.514),
                    rgba(62, 39, 35, 0.9));
    }

    .story-section {
        background-attachment: scroll;
    }
} */

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .btn:hover,
    .category-btn:hover,
    .menu-item:hover,
    .social-links a:hover {
        transform: none;
    }

    /* Increase tap target sizes */
    nav ul li a,
    .category-btn,
    .btn,
    .carousel-btn,
    .dot {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-item-footer button {
        padding: 10px 20px;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Landscape Orientation */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 120vh;
    }

    .hero-content {
        padding-top: 50px;
    }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    font-size: 24px;
    color: var(--light);
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* @media (max-width: 768px) {
    .hamburger-menu {
        display: block;
        position: relative;
        right: 0;
        top: 0;
        gap: 200px;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 500px;
        margin-top: 60px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
} */

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .hero {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }
}

/* ===================================
   PREMIUM FLOATING WHATSAPP BUTTON
   =================================== */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    z-index: 9999;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.35),
        0 0 0 0 rgba(37,211,102,0.7);
    animation: wa-breath 2.5s infinite, wa-shake 10s infinite;
    transition: all 0.3s ease;
}

.wa-float:hover {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

/* Tooltip */
.wa-tooltip {
    position: absolute;
    right: 75px;
    background: #111;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.wa-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #111;
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Breathing glow animation */
@keyframes wa-breath {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
    70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Subtle shake */
@keyframes wa-shake {
    0%, 100% { transform: rotate(0); }
    2% { transform: rotate(6deg); }
    4% { transform: rotate(-6deg); }
    6% { transform: rotate(4deg); }
    8% { transform: rotate(-4deg); }
    10% { transform: rotate(0); }
}

/* Mobile scaling */
@media (max-width: 576px) {
    .wa-float {
        width: 54px;
        height: 54px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }

    .wa-tooltip {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ===============================
   HAMBURGER MENU FINAL CLEAN
=============================== */

.hamburger-menu {
    display: none;
    font-size: 26px;
    color: var(--light);
    cursor: pointer;
    user-select: none;
}

@media (max-width: 768px) {

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-text {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(20, 20, 20, 0.96);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    nav.active {
        max-height: 450px;
    }

    nav ul {
        flex-direction: column;
        padding: 20px 0;
        gap: 16px;
        text-align: center;
    }

}

