:root {
    --bg-color: #FAF9F6;
    --text-color: #2C3E50;
    --accent-color: #D4AF37;
    --secondary-color: #2F4F4F;
    --light-gray: #E5E5E5;
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, width 0.3s, height 0.3s, border 0.3s;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.08s ease;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    width: 60px;
    height: 60px;
    border-color: #fff;
    background: rgba(212, 175, 55, 0.1);
}

/* ===== NOISE OVERLAY ===== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
.logo {
    font-family: var(--font-serif);
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    overflow: hidden;
}

h1 .char {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    animation: charReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes charReveal {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.accent-text {
    color: var(--accent-color);
    font-style: italic;
    position: relative;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    animation: underlineReveal 1s 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes underlineReveal {
    to {
        transform: scaleX(1);
        transform-origin: left;
    }
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 249, 246, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.navbar.hidden {
    transform: translateY(-100%);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    min-height: 700px;
    background-image: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(47, 79, 79, 0.85)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* ===== MORPHING BLOBS ===== */
.blob-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--accent-color), rgba(212, 175, 55, 0.3));
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-color), rgba(47, 79, 79, 0.3));
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.1));
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    25% {
        transform: translate(50px, -50px) scale(1.1) rotate(90deg);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        transform: translate(100px, 50px) scale(0.9) rotate(180deg);
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    75% {
        transform: translate(-50px, 100px) scale(1.05) rotate(270deg);
        border-radius: 60% 40% 30% 70% / 40% 50% 60% 50%;
    }
}

/* ===== FLOATING PARTICLES (COFFEE STEAM) ===== */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 2;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* ===== HERO CONTENT ===== */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    color: #fff;
    max-width: 900px;
    padding: 0 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MAGNETIC BUTTONS ===== */
.btn-magnetic {
    position: relative;
    display: inline-block;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--accent-color), #c9a227);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
    opacity: 0;
    animation: fadeInUp 1s 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

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

.btn-primary:hover {
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: color 0.4s, transform 0.3s;
    background: transparent;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-secondary:hover::before {
    transform: translateY(0);
}

.btn-secondary:hover {
    color: #fff;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    opacity: 0;
    animation: fadeInUp 1s 2s forwards;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 25px;
        opacity: 0.3;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg-color);
    /* overflow: hidden; Removed to prevent cutting off content */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text {
    position: relative;
    z-index: 2;
}

/* Animations handled by GSAP */

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

.about-image {
    position: relative;
    z-index: 2;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background-image: url('coffee-art.png');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.image-placeholder:hover {
    transform: scale(1.02);
}

.image-placeholder:hover::before {
    opacity: 1;
}

/* ===== MENU SECTION ===== */
.menu {
    background: linear-gradient(180deg, #fff 0%, var(--bg-color) 100%);
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
}

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

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

/* ===== 3D TILT CARDS ===== */
.menu-item {
    padding: 2.5rem;
    background: #fff;
    text-align: center;
    border-radius: 12px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.menu-item:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.menu-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-item:hover .menu-icon {
    transform: scale(1.2) translateY(-5px);
}

.menu-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.menu-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ===== LOCATION SECTION ===== */
.location {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a3a3a 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.location::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.location h2 {
    color: #fff;
}

.location-card {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.location address {
    font-style: normal;
    font-size: 1.2rem;
    margin: 2rem 0;
    line-height: 2;
}

.hours {
    margin-bottom: 2.5rem;
    font-weight: 300;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #0d0d0d;
    color: #fff;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #888;
    font-size: 1rem;
}

.footer-social a {
    color: #fff;
    margin-left: 2rem;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

.tech-link {
    display: inline-block;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.tech-link:hover {
    color: var(--accent-color);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-text {
    overflow: hidden;
    position: relative;
}

.reveal-text span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.revealed span {
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--secondary-color);
        margin-bottom: 5px;
        transition: var(--transition);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .footer-social a {
        margin: 0 1rem;
    }

    .blob {
        display: none;
    }
}

/* ===== MENU PAGE STYLES ===== */
.hero-small {
    height: 60vh;
    min-height: 400px;
    background-image: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(47, 79, 79, 0.85)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.menu-full {
    background: var(--bg-color);
}

.category-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.menu-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

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

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

.price {
    display: block;
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-top: 1rem;
    font-family: var(--font-serif);
}

.mt-5 {
    margin-top: 5rem;
}