/* ========================================
   Adam's Table — Custom Styles
   Burgundy + Blush | Vibrant Modern
   ======================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    min-height: 100vh;
}

::selection {
    background: #DC2F5C;
    color: #FDF8F4;
}

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

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

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 116, 155, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    border-radius: 50%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: rgba(220, 47, 92, 0.04);
    top: 40%;
    right: 5%;
    border-radius: 30px;
    transform: rotate(45deg);
    animation: float-slow 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 rgba(255, 182, 193, 0.08);
    top: 60%;
    left: 3%;
    animation: float-slow 22s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(220, 47, 92, 0.05) 0%, transparent 70%);
    top: 25%;
    left: 8%;
    border-radius: 50%;
    animation: float-slow 12s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* --- Section Tags --- */
.section-tag {
    letter-spacing: 0.05em;
}

/* --- Navbar --- */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(253, 248, 244, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(126, 14, 47, 0.08);
}

.nav-link {
    position: relative;
}

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

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

/* --- Hero --- */
.hero-img-container {
    will-change: transform;
}

.hero-img {
    will-change: transform;
}

.hero-tag {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.hero-headline {
    animation: fadeUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-ctas {
    animation: fadeUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-scroll {
    animation: fadeUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.hero-float-1 {
    animation: float 6s ease-in-out infinite;
}

.hero-float-2 {
    animation: float 4s ease-in-out infinite 1s;
}

.hero-float-3 {
    animation: float 5s ease-in-out infinite 2s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

/* --- CTA Buttons --- */
.cta-primary {
    position: relative;
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-primary:hover::before {
    opacity: 1;
}

/* --- Highlight Cards --- */
.highlight-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(126, 14, 47, 0.1);
}

/* --- Menu Cards --- */
.menu-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.menu-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(220, 47, 92, 0.08);
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 5, 19, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item {
    position: relative;
}

/* --- Scroll Reveal --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }

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

#mobile-menu.open .mobile-link {
    animation: fadeUp 0.4s ease forwards;
}

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

/* --- Mobile Menu Toggle --- */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(2.5px) rotate(45deg);
}

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

#menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-2.5px) rotate(-45deg);
    width: 1.25rem;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .geo-circle-1 { width: 300px; height: 300px; }
    .geo-circle-2 { width: 200px; height: 200px; }
    .geo-square-1 { width: 100px; height: 100px; }
    .geo-triangle-1 { border-left-width: 50px; border-right-width: 50px; border-bottom-width: 87px; }
}

/* --- Focus Styles --- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #DC2F5C;
    outline-offset: 2px;
}

/* --- 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; }
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}
