/* === Custom Styles for The Roosevelt === */

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #0B1D3A;
    color: #00E5C0;
    padding: 0.5rem 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 100;
    font-weight: 600;
}
.skip-link:focus { top: 0; }

/* Navbar */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11, 29, 58, 0.06);
}
#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(11, 29, 58, 0.08);
}
.nav-logo-text {
    color: #0B1D3A;
}
.nav-link {
    color: #0B1D3A;
}

/* Mobile Menu */
#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}
.mobile-link {
    color: #0B1D3A;
}
.mobile-link:hover {
    color: #00E5C0;
}

/* Hero */
#hero {
    position: relative;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-img {
    opacity: 0;
    transition: opacity 1.2s ease, transform 8s ease;
}
.hero-img.loaded {
    opacity: 1;
}
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(6, 15, 31, 0.82) 0%,
        rgba(11, 29, 58, 0.72) 50%,
        rgba(6, 15, 31, 0.85) 100%
    );
}
.hero-shape {
    transition: transform 0.6s ease;
}
.hero-shape-1 { animation: float1 6s ease-in-out infinite; }
.hero-shape-2 { animation: float2 8s ease-in-out infinite; }
.hero-shape-3 { animation: float3 7s ease-in-out infinite; }
.hero-shape-4 { animation: float4 5s ease-in-out infinite; }
.hero-shape-5 { animation: float5 4s ease-in-out infinite; }
.hero-shape-6 { animation: float6 9s ease-in-out infinite; }

@keyframes float1 { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(10px, -15px) rotate(5deg); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0) rotate(45deg); } 50% { transform: translate(-12px, 10px) rotate(50deg); } }
@keyframes float3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, -8px); } }
@keyframes float4 { 0%, 100% { transform: translate(0, 0) rotate(12deg); } 50% { transform: translate(-6px, 6px) rotate(18deg); } }
@keyframes float5 { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@keyframes float6 { 0%, 100% { transform: translate(0, 0) rotate(45deg); } 50% { transform: translate(8px, -8px) rotate(60deg); } }

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.scroll-wheel {
    width: 3px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}
@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Buttons */
.btn-primary {
    background: #00E5C0;
    color: #0B1D3A;
    border: none;
    border-radius: 9999px;
    padding: 0.875rem 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 229, 192, 0.3);
}
.btn-primary:hover {
    background: #00C4A5;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 192, 0.4);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    padding: 0.875rem 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Tags */
.tag-mint {
    background: rgba(0, 229, 192, 0.12);
    color: #00826F;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.7rem;
}
.tag-light {
    background: rgba(255, 255, 255, 0.1);
    color: #00E5C0;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* Menu Cards */
.menu-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}
.menu-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 229, 192, 0.2);
    transform: translateY(-4px);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}
.gallery-item {
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
}
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--short { }
.gallery-item--medium { }
.gallery-img {
    transition: transform 0.6s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 29, 58, 0.3) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}
.gallery-item:hover::after {
    opacity: 1;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(11, 29, 58, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(11, 29, 58, 0.04);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(11, 29, 58, 0.12);
}

/* Input Fields */
.input-field {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: #FFFFFF;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
}
.input-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.input-field:focus {
    outline: none;
    border-color: rgba(0, 229, 192, 0.5);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 229, 192, 0.1);
}
.input-field:-webkit-autofill,
.input-field:-webkit-autofill:hover,
.input-field:-webkit-autofill:focus {
    -webkit-text-fill-color: #FFFFFF;
    -webkit-box-shadow: 0 0 0px 1000px rgba(11, 29, 58, 1) inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.5s; }

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.animated {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Form success */
#form-success {
    animation: fadeInUp 0.4s ease;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Decorative elements */
.deco-circle-1, .deco-circle-2, .deco-circle-3 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.deco-square-1, .deco-square-2 {
    position: absolute;
    pointer-events: none;
}
.deco-dot-1, .deco-dot-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.deco-rect-1, .deco-line {
    position: absolute;
    pointer-events: none;
}
.deco-triangle {
    position: absolute;
    pointer-events: none;
}
.deco-footer-shape, .deco-footer-shape-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery-item--tall { grid-row: span 1; }
    .gallery-item--wide { grid-column: span 1; }
    .gallery-item--tall img,
    .gallery-item--wide img {
        height: 250px;
    }
    .gallery-item--tall,
    .gallery-item--wide {
        min-height: 250px;
    }
}
