/* Funky Pizzeria - Main Stylesheet */

:root {
    --primary-bg: #000000;
    --primary-text: #ffffff;
    --accent-color: #00ffff; /* Cyan/Aqua from logo */
    --accent-hover: #00cccc;
    --dark-overlay: rgba(0, 0, 0, 0.7);
    --light-overlay: rgba(0, 0, 0, 0.5);
    --section-bg: #111111;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

main {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

/* Header & Navigation */
header {
    background-color: var(--primary-bg);
    padding: 0.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 70px;
    gap: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    max-height: 70px;
    width: auto;
    height: auto;
    max-width: 450px;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

nav .btn {
    white-space: nowrap;
    margin: 0;
}

nav ul li a {
    color: var(--primary-text);
    font-weight: 500;
    padding: 0.4rem 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    left: 0;
    right: 0;
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    min-width: 100vw;
    max-width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 0.65;
    margin: 0;
    padding: 0;
    will-change: transform;
}

.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--dark-overlay);
    z-index: 2;
    will-change: transform, opacity;
    transition: opacity 0.3s ease;
}

.hero-fade-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0) 30%, 
        rgba(0, 0, 0, 0.2) 50%, 
        rgba(0, 0, 0, 0.4) 65%, 
        rgba(0, 0, 0, 0.6) 75%, 
        rgba(0, 0, 0, 0.75) 82%,
        rgba(0, 0, 0, 0.85) 88%,
        rgba(0, 0, 0, 0.92) 93%,
        rgba(0, 0, 0, 0.96) 97%,
        rgba(0, 0, 0, 0.98) 99%,
        rgba(0, 0, 0, 1) 100%);
    z-index: 3;
    pointer-events: none;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.3s ease;
}

.hero-background {
    transition: opacity 0.3s ease;
}

/* Ensure content sections appear above hero fade */
section:not(.hero) {
    position: relative;
    z-index: 10;
    background-color: var(--light-overlay);
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    padding: 1.5rem;
    margin-top: -5vh;
}

.hero-logo {
    max-width: 300px;
    width: auto;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent-color);
    background-color: transparent;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin: 0.5rem;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Sections */
section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    background-color: #000000;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.section-bg {
    background-color: var(--section-bg);
}

/* Loyalty Highlight */
.loyalty-highlight {
    background: linear-gradient(135deg, var(--section-bg) 0%, #1a1a1a 100%);
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 15;
}

.loyalty-highlight h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.loyalty-highlight p {
    margin-bottom: 1.5rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--section-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
    border-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--section-bg);
    padding: 2.5rem 2rem 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    position: relative;
    z-index: 20;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-color);
}

/* Coming Soon Page */
.coming-soon {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
}

.coming-soon h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.coming-soon .small-text {
    font-size: 0.9rem;
    color: #888;
    margin-top: 2rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--section-bg);
    border: 1px solid var(--border-color);
    color: var(--primary-text);
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Allergies Page */
.allergies-list {
    list-style: none;
    margin: 2rem 0;
}

.allergies-list li {
    padding: 1rem;
    background-color: var(--section-bg);
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-bg);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid var(--border-color);
        gap: 1rem;
    }

    nav ul.active {
        display: flex;
    }

    nav .btn {
        display: none;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-logo {
        max-width: 200px;
        width: auto;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    section {
        padding: 2rem 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* SEO - Hidden but accessible content for screen readers */
.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;
}

