/* ============================================
   THE BROTHERS EXCLUSIVE LOUNGE
   Custom Styles
   ============================================ */

/* Base Reset & Smooth Scroll */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* ============================================
   GEOMETRIC BACKGROUND SHAPES
   ============================================ */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #e6a817 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float-shape 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #4c6ef5 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    animation: float-shape 25s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: #e6a817;
    top: 40%;
    right: 5%;
    transform: rotate(45deg);
    animation: float-shape 18s ease-in-out infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #4c6ef5;
    top: 60%;
    left: 8%;
    animation: float-shape 22s ease-in-out infinite reverse;
}

.geo-diamond-1 {
    width: 120px;
    height: 120px;
    background: #ffda66;
    transform: rotate(45deg);
    top: 20%;
    left: 15%;
    animation: float-shape 15s ease-in-out infinite;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-3deg);
    }
    75% {
        transform: translate(15px, 15px) rotate(2deg);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-link {
    position: relative;
}

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

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

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(13, 18, 51, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu */
.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #e6a817;
    transition: width 0.3s ease;
}

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

/* Mobile menu open state */
#mobile-menu.open {
    transform: translateX(0);
}

/* Hamburger animation */
.menu-line {
    display: block;
}

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

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

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

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* ============================================
   PRODUCT CARD HOVER EFFECTS
   ============================================ */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d1233;
}

::-webkit-scrollbar-thumb {
    background: #4c6ef5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6a817;
}

/* ============================================
   SELECTION COLOR
   ============================================ */
::selection {
    background: rgba(230, 168, 23, 0.3);
    color: #fff;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-square-1,
    .geo-diamond-1 {
        display: none;
    }
    
    .geo-triangle-1 {
        display: none;
    }
}

/* ============================================
   FORM FOCUS STYLES
   ============================================ */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #e6a817 !important;
    box-shadow: 0 0 0 3px rgba(230, 168, 23, 0.1);
}

/* ============================================
   BUTTON HOVER LIFT EFFECT
   ============================================ */
button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   HERO SCROLL INDICATOR
   ============================================ */
@keyframes scroll-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

.animate-bounce {
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

/* ============================================
   PULSE ANIMATION
   ============================================ */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(230, 168, 23, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(230, 168, 23, 0);
    }
}

.animate-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}
