/* ===== Custom Styles for Wurk Bar ===== */

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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
}

/* Hero shapes */
.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #1a4d2e;
    top: -200px;
    right: -150px;
    opacity: 0.04;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #66bb6a;
    bottom: 10%;
    left: -80px;
    opacity: 0.08;
}

.shape-rect-1 {
    width: 200px;
    height: 200px;
    background: #1a4d2e;
    top: 30%;
    right: 5%;
    transform: rotate(45deg);
    opacity: 0.04;
    border-radius: 20px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #1a4d2e;
    top: 60%;
    left: 8%;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.shape-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, #1a4d2e 2px, transparent 2px);
    background-size: 15px 15px;
    top: 20%;
    left: 15%;
    opacity: 0.2;
}

/* About section shapes */
.shape-diamond-1 {
    width: 250px;
    height: 250px;
    background: #a5d6a7;
    transform: rotate(45deg);
    top: -80px;
    right: 10%;
    border-radius: 20px;
    opacity: 0.15;
}

.shape-rect-2 {
    width: 150px;
    height: 400px;
    background: #81c784;
    bottom: -100px;
    left: 5%;
    border-radius: 20px;
    opacity: 0.1;
    transform: rotate(10deg);
}

/* Menu section shapes */
.shape-circle-3 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #1a4d2e;
    bottom: -150px;
    right: -100px;
    opacity: 0.03;
}

.shape-stripe-1 {
    width: 300px;
    height: 8px;
    background: linear-gradient(90deg, transparent, #1a4d2e, transparent);
    top: 50%;
    left: -50px;
    transform: rotate(-30deg);
    opacity: 0.06;
    border-radius: 4px;
}

/* Vibe section shapes */
.shape-circle-4 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: #1a4d2e;
    top: -100px;
    left: -100px;
    opacity: 0.03;
}

.shape-rect-3 {
    width: 180px;
    height: 180px;
    background: #66bb6a;
    bottom: 10%;
    right: 5%;
    border-radius: 30px;
    opacity: 0.12;
    transform: rotate(20deg);
}

/* Testimonial section shapes */
.shape-dots-2 {
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.3) 2px, transparent 2px);
    background-size: 18px 18px;
    top: 15%;
    right: 8%;
    opacity: 0.4;
}

.shape-circle-5 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #a5d6a7;
    bottom: -80px;
    left: 5%;
    opacity: 0.15;
}

/* Visit section shapes */
.shape-square-1 {
    width: 200px;
    height: 200px;
    border: 4px solid #1a4d2e;
    border-radius: 30px;
    top: 10%;
    right: 5%;
    opacity: 0.06;
    transform: rotate(15deg);
}

.shape-circle-6 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #1a4d2e;
    bottom: 10%;
    left: 3%;
    opacity: 0.04;
}

/* CTA section shapes */
.shape-circle-7 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #a5d6a7;
    top: -200px;
    right: -150px;
    opacity: 0.1;
}

.shape-rect-4 {
    width: 120px;
    height: 120px;
    background: #66bb6a;
    bottom: 20%;
    left: 10%;
    border-radius: 20px;
    opacity: 0.12;
    transform: rotate(30deg);
}

/* ===== Scroll Indicator ===== */
.scroll-line {
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #1a4d2e);
    position: absolute;
    top: -30px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -30px; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ===== Mobile Menu ===== */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

.menu-line {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    width: 7px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Navbar ===== */
#navbar.scrolled {
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(26, 77, 46, 0.08);
}

#navbar.scrolled .nav-logo {
    color: #1a4d2e;
}

/* ===== Menu Cards ===== */
.menu-card {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    transition: transform 0.4s ease, background 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.from-bottom {
    transform: translateY(40px);
    opacity: 0;
}

.reveal.from-left {
    transform: translateX(-40px);
    opacity: 0;
}

.reveal.from-right {
    transform: translateX(40px);
    opacity: 0;
}

.reveal.scale-in {
    transform: scale(0.95);
    opacity: 0;
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ===== About Section Animations ===== */
.about-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.about-tag, .about-title, .about-text, .about-features {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Menu Section Animations ===== */
.menu-tag, .menu-title {
    opacity: 1;
    transform: translateY(0);
}

.menu-card {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Vibe Section Animations ===== */
.vibe-tag, .vibe-title, .vibe-text, .vibe-feature {
    opacity: 1;
    transform: translateY(0);
}

.vibe-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vibe-img:hover {
    transform: scale(1.02);
}

/* ===== Visit Section Animations ===== */
.visit-card {
    opacity: 1;
    transform: translateY(0);
}

.visit-map {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .scroll-line {
        animation: none;
        opacity: 0.5;
    }
    
    .menu-card:hover,
    .about-img:hover,
    .vibe-img:hover {
        transform: none;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
    
    .shape-dots,
    .shape-dots-2 {
        display: block;
    }
    
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .geo-shape {
        opacity: 0.08;
    }
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #66bb6a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Selection ===== */
::selection {
    background: #1a4d2e;
    color: #f5f0e8;
}
