/* =============================================
   PLACEHOLDER PIZZA - MAIN STYLES
   Traditional Italian with Modern Touch
   ============================================= */

/* Root Variables */
:root {
    --primary-red: #C1272D;
    --primary-green: #1B7A3E;
    --primary-white: #FFFFFF;
    --dark-bg: #F5F3F0;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --border-light: #E8E8E8;
    --font-serif: 'Lora', Georgia, serif;
    --spacing-unit: 1rem;
    --max-width: 1200px;
}

/* =============================================
   RESET & BASE STYLES
   ============================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-serif);
    color: var(--text-dark);
    background-color: var(--dark-bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-green);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */

.header {
    background-color: var(--primary-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-red);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: color 0.3s ease;
    border-bottom: 3px solid transparent;
    padding-bottom: 0.5rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--primary-white);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .nav-links.active {
        max-height: 300px;
        /* padding: 1rem 0; */
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links a {
        display: block;
        padding: 1rem var(--spacing-unit);
        border-bottom: none;
    }
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, #8B1A22 100%);
    color: var(--primary-white);
    padding: 6rem var(--spacing-unit);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(27, 122, 62, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-white);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* =============================================
   CTA BUTTON
   ============================================= */

.cta-button {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--primary-white);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-green);
    cursor: pointer;
    text-decoration: none;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0);
    color: var(--primary-green);
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about {
    padding: 4rem var(--spacing-unit);
    background-color: var(--primary-white);
}

.about h2 {
    color: var(--primary-red);
    text-align: center;
}

.about > .container > p {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--dark-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(193, 39, 45, 0.1);
}

.feature h3 {
    color: var(--primary-red);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.cta-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(193, 39, 45, 0.1) 0%, rgba(27, 122, 62, 0.1) 100%);
    border-radius: 8px;
    margin-top: 3rem;
}

.cta-section p {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* =============================================
   MENU PAGE
   ============================================= */

.menu-page {
    padding: 3rem var(--spacing-unit);
    background-color: var(--primary-white);
    min-height: calc(100vh - 300px);
}

.menu-page h2 {
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 0.5rem;
}

.menu-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.menu-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.search-box {
    width: 100%;
    max-width: 400px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    font-family: var(--font-serif);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box:focus {
    outline: none;
    border-color: var(--primary-red);
}

.menu-section {
    margin-bottom: 3rem;
}

.menu-section h3 {
    color: var(--primary-green);
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.esfiha-list,
.pizza-list,
.drinks-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.esfiha-item,
.pizza-item,
.drink-item {
    background-color: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.esfiha-item:hover,
.pizza-item:hover,
.drink-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.esfiha-name,
.pizza-name,
.drink-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.esfiha-description,
.pizza-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    /* margin-bottom: 2.5rem; */
}

.pizza-prices {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.price-item {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-red);
}

.esfiha-price,
.drink-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-top: 0.5rem;
}

.menu-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(193, 39, 45, 0.1) 0%, rgba(27, 122, 62, 0.1) 100%);
    border-radius: 8px;
    margin-top: 3rem;
}

.menu-cta p {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-page {
    padding: 3rem var(--spacing-unit);
    background-color: var(--primary-white);
    min-height: calc(100vh - 300px);
}

.contact-page h2 {
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    background-color: var(--dark-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    text-align: center;
    transition: all 0.3s ease;
}

.info-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.info-item.highlight {
    border-left-color: var(--primary-red);
    background: linear-gradient(135deg, rgba(193, 39, 45, 0.05) 0%, rgba(27, 122, 62, 0.05) 100%);
}

.info-item h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.info-item p {
    margin-bottom: 1rem;
}

.info-item .cta-button {
    margin-top: 1rem;
}

.map-section {
    margin: 3rem 0;
}

.map-section h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.map-section iframe {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hours-section {
    background-color: var(--dark-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.hours-section h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid var(--border-light);
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 1rem 0;
    color: var(--text-dark);
}

.hours-table td:first-child {
    font-weight: 700;
    width: 60%;
}

.hours-table td:last-child {
    text-align: right;
    color: var(--primary-red);
    font-weight: 700;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background-color: var(--text-dark);
    color: var(--primary-white);
    padding: 3rem var(--spacing-unit) 1rem;
}

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

.footer-section h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0;
}

.footer-link {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 700;
}

.footer-link:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

@media (max-width: 768px) {
    :root {
        --spacing-unit: 0.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /*.nav-links {
        gap: 1rem;
    }*/

    .pizza-list,
    .drinks-list {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .map-section iframe {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }

    .hours-table td:last-child {
        text-align: center;
    }
    
    .footer {
        background-color: var(--text-dark);
        color: var(--primary-white);
        padding: 3rem var(--spacing-unit) 1rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.75rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .phone-number {
        font-size: 1.5rem;
    }
}
