/* ===== Custom Styles for Brtuj Glendale ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Selection */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #fff;
}

/* ===== Hero Shapes ===== */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -150px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    border-radius: 50%;
    animation: float 6s ease-in-out 2s infinite;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(20, 184, 166, 0.06);
    border: 2px solid rgba(20, 184, 166, 0.15);
    top: 25%;
    left: 8%;
    border-radius: 20px;
    transform: rotate(45deg);
    animation: float 7s ease-in-out 1s infinite;
}

.shape-rect-2 {
    width: 80px;
    height: 80px;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(20, 184, 166, 0.2);
    bottom: 20%;
    right: 15%;
    border-radius: 12px;
    transform: rotate(15deg);
    animation: float 5s ease-in-out 3s infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(20, 184, 166, 0.06);
    top: 40%;
    right: 5%;
    animation: float 9s ease-in-out 0.5s infinite;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #14b8a6;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #2dd4bf;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(20, 184, 166, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: #14b8a6;
    color: #14b8a6;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* ===== Section Eyebrow & Title ===== */
.section-eyebrow {
    opacity: 0;
    animation: slideUp 0.6s ease-out forwards;
}

.section-title {
    opacity: 0;
    animation: slideUp 0.6s ease-out forwards;
}

/* ===== Marquee ===== */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee {
    animation: marquee 20s linear infinite;
}

.marquee-item {
    display: inline-block;
    padding: 0 1rem;
}

/* ===== Feature Pills ===== */
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    color: #99f6e4;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.4);
    transform: translateY(-2px);
}

/* ===== Menu Tabs ===== */
.menu-tab {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.3);
    color: #fff;
}

.menu-tab.active {
    background: #14b8a6;
    border-color: #14b8a6;
    color: #0f172a;
}

/* ===== Menu Item Cards ===== */
.menu-item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.menu-item-card:hover {
    background: rgba(20, 184, 166, 0.05);
    border-color: rgba(20, 184, 166, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ===== Visit Cards ===== */
.visit-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.visit-card:hover {
    background: rgba(20, 184, 166, 0.05);
    border-color: rgba(20, 184, 166, 0.2);
    transform: translateX(4px);
}

/* ===== Form Styles ===== */
.form-group {
    opacity: 0;
    animation: slideUp 0.5s ease-out forwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.15s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.25s; }

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #64748b;
}

.form-input:focus {
    border-color: #14b8a6;
    background: rgba(20, 184, 166, 0.05);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-select option {
    background: #1e293b;
    color: #fff;
}

/* ===== Stats ===== */
.stat-item {
    text-align: left;
}

/* ===== Navigation ===== */
#navbar {
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #14b8a6;
    transition: width 0.3s ease;
}

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

/* ===== Mobile Menu ===== */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #14b8a6;
    color: #0f172a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 40;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #2dd4bf;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
}

/* ===== Intersection Observer Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
        right: -100px;
    }
    
    .shape-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .shape-rect-1 {
        width: 60px;
        height: 60px;
        top: 30%;
        left: 5%;
    }
    
    .shape-rect-2 {
        width: 40px;
        height: 40px;
    }
    
    .shape-triangle {
        display: none;
    }
    
    .hero-headline {
        font-size: 2.75rem !important;
    }
    
    .hero-headline lg\:text-8xl {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem !important;
    }
    
    .menu-tab {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .menu-tab svg {
        display: none;
    }
    
    .floating-accent {
        display: none;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.25rem !important;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 0.875rem;
        width: 100%;
        justify-content: center;
    }
    
    .btn-primary + .btn-secondary {
        margin-top: 8px;
    }
}
