/* ========================================
   Columbus Pizza Restaurant - Custom Styles
   ======================================== */

/* --- Reset & Base --- */
*, *::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;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdfb;
}
::-webkit-scrollbar-thumb {
    background: #d93d15;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b82e0f;
}

/* --- Navbar --- */
.nav-logo-text {
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
}

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

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

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

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 3px solid rgba(254, 253, 251, 0.4);
    top: -100px;
    right: -80px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(254, 253, 251, 0.08);
    bottom: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(254, 203, 126, 0.5);
    top: 30%;
    left: 8%;
    animation: float 7s ease-in-out infinite 1s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(254, 253, 251, 0.06);
    top: 20%;
    right: 10%;
    transform: rotate(15deg);
    animation: spin-slow 20s linear infinite;
}

.shape-square-1 {
    width: 100px;
    height: 100px;
    background: rgba(254, 253, 251, 0.05);
    bottom: 25%;
    right: 5%;
    transform: rotate(45deg);
    animation: spin-slow 15s linear infinite reverse;
}

.shape-ring-1 {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid rgba(254, 203, 126, 0.2);
    top: 60%;
    left: 15%;
    animation: float 9s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

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

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

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

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

.gallery-item img {
    transition: transform 0.7s ease;
}

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

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

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

/* Reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
    }
    
    .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; }
}

/* --- Input Focus States --- */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* --- Active link highlight --- */
.nav-link.active {
    color: #fff !important;
}

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

/* --- Form Date Input --- */
input[type="date"] {
    color-scheme: light;
}

/* --- Utility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
