/* ===== Custom Styles for Sea Strike & Pub ===== */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #FF6B4A 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, #1A6B8A 0%, transparent 70%);
    bottom: 15%;
    right: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: #FF6B4A;
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    border: 3px solid #FAFAF5;
    top: 40%;
    left: 8%;
    transform: rotate(20deg);
    animation: spin 15s linear infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #FF6B4A;
    bottom: 25%;
    left: 20%;
    opacity: 0.08;
    animation: float 12s ease-in-out infinite;
}

.geo-diamond {
    width: 60px;
    height: 60px;
    background: #1A6B8A;
    top: 60%;
    right: 25%;
    transform: rotate(45deg);
    opacity: 0.15;
    animation: spin 18s linear infinite;
}

.geo-dots {
    background-image: radial-gradient(circle, #FAFAF5 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.06;
    width: 300px;
    height: 300px;
    top: 30%;
    left: 30%;
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

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

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

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

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

/* ===== Feature Cards ===== */
.feature-card {
    will-change: transform;
}

/* ===== Menu Items ===== */
.menu-item {
    border-bottom: 1px solid #E8EDE4;
    padding-bottom: 12px;
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item-light {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.menu-item-light:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ===== Gallery ===== */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(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; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-square-1 {
        width: 80px;
        height: 80px;
    }
    
    .geo-square-2 {
        width: 50px;
        height: 50px;
    }
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #547d45;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Selection ===== */
::selection {
    background: #314b29;
    color: #FAFAF5;
}
