@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bevan:ital@0;1&family=Inter:wght@300;400;500;600;700&family=Abril+Fatface&display=swap');

:root {
    --color-primary: #D32F2F;
    --color-secondary: #FFF8E1;
    --color-accent: #212121;
    --font-heading: 'Bevan', cursive;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Abril Fatface', cursive;
    --font-nypizza: 'Bebas Neue', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-secondary);
    color: var(--color-accent);
    overflow-x: hidden;
}

/* Header logo – 30% larger than base (was h-20 / md:h-24) */
.header-logo-img {
    height: 6.5rem; /* 5rem * 1.3 */
}
@media (min-width: 768px) {
    .header-logo-img {
        height: 7.8rem; /* 6rem * 1.3 */
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.font-display {
    font-family: var(--font-display);
}

.font-nypizza {
    font-family: var(--font-nypizza);
    letter-spacing: 0.05em;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
}

.hero-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    z-index: 0;
    background: #1a1a1a;
    overflow: hidden;
}

.hero-bg-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    padding: 8rem 1.5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    line-height: 1.1;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-title .text-secondary {
    color: var(--color-secondary);
}

.hero-lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-lead {
        font-size: 1.35rem;
    }
}

.hero-cta {
    padding-top: 1rem;
}

.hero-btn {
    display: inline-block;
    background: white;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-btn:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

.btn-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    pointer-events: none;
}

.pizza-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pizza-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.menu-table tr {
    transition: background-color 0.2s ease;
}

.menu-table tr:hover {
    background-color: rgba(211, 47, 47, 0.05);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #D32F2F;
    border-radius: 5px;
}

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

.gallery-carousel {
    position: relative;
    touch-action: pan-y pinch-zoom;
}

.gallery-carousel__viewport {
    overflow: hidden;
    border-radius: 1rem;
}

.gallery-carousel__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.gallery-carousel__slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 0.25rem;
}

.gallery-carousel__slide:first-child {
    padding-left: 0;
}

.gallery-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0 0.5rem;
}

.gallery-carousel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.gallery-carousel__btn:hover {
    background: #B71C1C;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.gallery-carousel__btn:active {
    transform: scale(0.98);
}

.gallery-carousel__btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gallery-carousel__dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-carousel__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(33, 33, 33, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.gallery-carousel__dot:hover {
    background: rgba(33, 33, 33, 0.5);
}

.gallery-carousel__dot.is-active {
    background: var(--color-primary);
    transform: scale(1.25);
}

.gallery-carousel__dot:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
