/* --- CSS Reset & Base Styles --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #1a1a1a;
            color: #333;
        }

        :root {
            --pizza-red: #d32f2f;
            --pizza-gold: #fbc02d;
            --pizza-crust: #edc9af;
            --pro-red: #DE1E27;
            --pro-black: #1a1a1a;
            --pro-white: #ffffff;
            --pro-gray: #f4f4f4;
            --brand-red: #D32F2F; /* Deep, bold pizza red */
            --brand-red-dark: #B71C1C;
            --text-light: #FFFFFF;
            --text-hover: #FFCDD2;

        }
        /* --- Entry Pop-up Styles --- */
        .popup-overlay {
            position: fixed;
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.5s ease;
        }

        .popup-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .popup-modal {
            background: #fff;
            border-radius: 15px;
            display: flex;
            width: 90%;
            max-width: 650px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0,0,0,0.5);
            transform: scale(1);
            transition: transform 0.5s ease;
        }

        .popup-overlay.hidden .popup-modal {
            transform: scale(0.9);
        }

        .popup-img {
            flex: 1;
            background-image: url('logo2.png');
            background-size: cover;
            background-position: center;
            min-height: 250px;
        }

        .popup-body {
            flex: 1;
            padding: 40px 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
        }

        .popup-body h2 {
            font-size: 2.2rem;
            margin-bottom: 10px;
            color: #d92323;
            line-height: 1.2;
        }

        .popup-body p {
            color: #555;
            margin-bottom: 25px;
        }

        .popup-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        /* --- Buttons --- */
        .btn {
            padding: 12px 25px;
            font-size: 1.1rem;
            background-color: #d92323;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s;
            font-weight: bold;
            text-decoration: none;
        }

        .btn:hover {
            background-color: #b01c1c;
        }

        .btn-outline {
            background: transparent;
            color: #555;
            border: 2px solid #ccc;
        }

        .btn-outline:hover {
            background: #f4f4f4;
            color: #333;
        }

        /* --- Hero Slider Styles --- */
        .hero-slider {
            position: relative;
            width: 100%;
            height: 60vh;
            min-height: 400px;
            overflow: hidden;
            background: #000;
            touch-action: pan-y;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background-size: cover;
            background-position: center;
        }

        .slide.active {
            opacity: 1;
        }

        .slide::after {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1;
        }

        .slide-content {
            position: relative;
            z-index: 2;
            color: #fff;
            padding: 20px;
        }

        .slide-content h1 {
            font-size: 4rem;
            margin-bottom: 10px;
            letter-spacing: 2px;
            color: #ffcc00;
        }

        .slide-content p {
            font-size: 1.5rem;
            margin-bottom: 20px;
        }

        /* --- Wood Table Background & Layout --- */
        .review-section {
            padding: 60px 20px;
            background-image: url('wood2.jpeg');
            background-attachment: fixed;
            background-size:100%;
            background-position: center;
            box-shadow: inset 0 10px 20px rgba(0,0,0,0.5);
        }

        .section-title {
            text-align: center;
            color: #fff;
            font-size: 3rem;
            margin-bottom: 40px;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
            background: rgba(0,0,0,0.6);
            display: inline-block;
            padding: 10px 30px;
            border-radius: 10px;
            left: 50%;
            position: relative;
            transform: translateX(-50%);
        }

        .content-wrapper {
            display: flex;
            gap: 40px;
            max-width: 1400px;
            margin: 0 auto;
            align-items: flex-start;
        }
        .main-content {
            flex: 1;
            min-width: 0;
        }

        /* --- Pizza Cards Grid --- */
        .card-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 30px;
        }

        .pizza-card {
            background: #fff;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 10px 15px 25px rgba(0, 0, 0, 0.6);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
        }

        .pizza-card:nth-child(even) { transform: rotate(1.5deg); }
        .pizza-card:nth-child(odd) { transform: rotate(-1.5deg); }

        .pizza-card:hover {
            transform: translateY(-10px) rotate(0deg) scale(1.02);
            box-shadow: 15px 20px 35px rgba(0, 0, 0, 0.8);
            z-index: 10;
        }

        .card-img {
            width: 100%;
            height:300px;
            object-fit:cover;
            border-bottom: 4px solid #d92323;
        }
        .card-body {
            padding: 20px;
        }

        .rank {
            position: absolute;
            top: 15px;
            left: 15px;
            background: #d92323;
            color: #fff;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-weight: bold;
            font-size: 1.2rem;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        }

        .card-title {
            font-size: 1.rem;
            margin-bottom: 10px;
            color: #222;
        }

        .rating {
            color: #ffb400;
            font-size: 1.2rem;
            margin-bottom: 15px;
        }

        .card-text {
            color: #555;
            line-height: 1.6;
            font-size: 0.75rem;
        }

        /* --- Sidebar Styles --- */
        .sidebar {
            flex: 0 0 350px;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .sidebar-widget {
            background: #fff;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 10px 15px 25px rgba(0, 0, 0, 0.6);
            border-top: 5px solid #ffcc00;
        }

        .sidebar-widget:nth-child(1) { transform: rotate(-1deg); }
        .sidebar-widget:nth-child(2) { transform: rotate(1.5deg); }

        .widget-title {
            font-size: 1.6rem;
            margin-bottom: 10px;
            color: #222;
        }

        .widget-text {
            color: #555;
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .newsletter-form input[type="email"] {
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 1rem;
        }

        .ad-image {
            width: 100%;
            border-radius: 10px;
            margin-bottom: 10px;
        }
        
        .ad-label {
            font-size: 0.8rem;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
            display: block;
        }

        footer {
            background: #000;
            color: #888;
            text-align: center;
            padding: 20px;
        }
    .pizza .btn,
    .sidebar .btn {
        font-size: 10px !important;
        display: block;
        margin: 20px auto 0px;
        text-align: center;
        width: 100%;
        min-width: 30%;
        max-width: 75%;
        background-color: grey;
        }
    .pizza .btn:hover,
    .sidebar .btn:hover {
        background-color: green;
    }
    .pizza-footer {
    background-color: #000;
    color: #f1f1f1;
    padding: 60px 20px 30px;
    font-family: 'Arial Black', Gadget, sans-serif;
    border-top: 6px solid #ff4500;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: #ff4500;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
}

.footer-section a:hover {
    color: #ff4500;
    padding-left: 5px;
}

.footer-logo {
    width: 100%;
    min-width:140px;
    max-width:300px;
    height: auto;
    margin:-60px auto 10px;
    display: block;
}

.social-links a {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-bottom {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 25px;
    font-size: 0.75rem;
    color: #444;
}

.footer-bottom a {
    color: #666;
    text-decoration: none;
}
.top-pizza-widget {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 11px; /* Small font size */
      padding: 0px;
      max-width: 300px; /* Adjust based on your sidebar */
    }
    .top-pizza-widget h3 {
      font-size: 14px;
      font-weight: bold;
      color: #b12025; /* Red to fit pizza theme */
      margin: 0 0 10px 0;
      padding-bottom: 5px;
      border-bottom: 1px solid #ccc;
      text-align: center;
      text-transform: uppercase;
    }
    .top-pizza-widget ol {
      margin: 0;
      padding-left: 20px;
    }
    .top-pizza-widget li {
      margin-bottom: 6px;
      line-height: 1.3;
      color: #333;
    }
    .top-pizza-widget a {
      color: #0056b3;
      text-decoration: none;
      font-weight: bold;
    }
    .top-pizza-widget a:hover {
      text-decoration: underline;
      color: #b12025;
    }
    .top-pizza-widget .location {
      font-style: italic;
      color: #666;
    }

        .passport-container {
            width: 100%;
            max-width: 800px;
            background: white;
            border: 8px solid var(--pizza-red);
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        header {
            text-align: center;
            border-bottom: 2px solid var(--pizza-gold);
        }

        p.subtitle { margin: 5px 0; font-weight: bold; color: #555; }

        .profile-section {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .photo-box {
            width: 150px;
            height: 180px;
            border: 2px dashed #ccc;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: #fafafa;
            position: relative;
        }

        .photo-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .user-details {
            flex: 1;
            min-width: 250px;
        }

        .input-group { margin-bottom: 15px; }
        label { display: block; font-weight: bold; margin-bottom: 5px; }
        input[type="text"] {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1.1em;
        }

        .avatar-picker {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-top: 10px;
        }

        .avatar-option {
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 5px;
            padding: 5px;
            text-align: center;
            background: #eee;
            font-size: 20px;
        }

        .avatar-option:hover { background: var(--pizza-gold); }
        .avatar-option.selected { border-color: var(--pizza-red); background: var(--pizza-gold); }

        .counter-box {
            background: var(--pizza-red);
            color: white;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            margin-bottom: 20px;
            font-size: 1.2em;
        }

        .pizza-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 10px;
        }

        .pizza-item {
            display: flex;
            align-items: center;
            background: #fdfdfd;
            padding: 10px;
            border-radius: 5px;
            border: 1px solid #eee;
        }

        .pizza-item input { margin-right: 15px; transform: scale(1.3); }

        .print-btn {
            display: block;
            width: 200px;
            margin: 30px auto 0;
            padding: 15px;
            background: #222;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            font-size: 16px;
        }

        .print-btn:hover { background: #444; }

        @media print {
            .print-btn, .avatar-picker, .file-input-label, #photoInput {
                display: none !important;
            }
            body { background: white; padding: 0; }
            .passport-container { border: 4px solid black; box-shadow: none; max-width: 100%; }
            .avatar-option { border: none !important; }
        }

.team-container {
    max-width:100%;
    margin: 0px auto 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.team-card {
    background: var(--pro-white);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--pro-red);
}

.team-card:hover {
    transform: translateY(-10px);
}

.image-wrapper {
    width: 100%;
    height: 250px;
    background-color: #ddd; /* Placeholder color */
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin: 20px 0 10px;
    text-transform: uppercase;
}

.team-card p {
    font-size: 0.9rem;
    color: #666;
    padding: 0 20px;
    margin-bottom: 20px;
    height: 40px; /* Keeps buttons aligned */
}

.btn-bio {
    display: inline-block;
    background-color: var(--pro-red);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.btn-bio:hover {
    background-color: #b3161d;
}

.owner-card {
    border-top: 5px solid var(--pro-black);
}
/* header */

/* Main Header */
.pizza-header {
    background-color: var(--brand-red);
    color: var(--text-light);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    gap: 12px;
}

.pizza-icon {
    width: 40px;
    height: 40px;
    /* Inverting the icon slightly to look good on red */
    fill: #ffffff; 
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Desktop Navigation */
.main-nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-hover);
}

/* User Menu & Dropdown */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.user-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-btn:hover {
    background: var(--brand-red-dark);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 6px;
    overflow: hidden;
    z-index: 1000;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: var(--brand-red);
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
}

/* Mobile Navigation Panel */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--brand-red-dark);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-nav.show-mobile {
    display: flex;
    max-height: 200px; /* Adjust based on content */
    padding: 10px 0;
}

.mobile-nav .nav-link {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav .nav-link:last-child {
    border-bottom: none;
}
 .passport-container {
            width: 100%;
            max-width: 800px;
            background: white;
            border: 8px solid var(--pizza-red);
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            font-size: 10px;
            line-height: 10px;
        }

        header {
            text-align: center;
            border-bottom: 2px solid var(--pizza-gold);
        }

        h1 { margin: 0; color: var(--pizza-red); text-transform: uppercase; letter-spacing: 2px; }
        p.subtitle {
            margin: 5px 0;
            font-weight: bold;
            color: #555;
            display: block;
            margin: -40px auto 40px;
            color: #FFF;
            text-align: center;
        }

        .profile-section {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .photo-box {
            width: 150px;
            height: 180px;
            border: 2px dashed #ccc;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: #fafafa;
            position: relative;
        }

        .photo-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .user-details {
            flex: 1;
            min-width: 250px;
        }

        .input-group { margin-bottom: 15px; }
        label { display: block; font-weight: bold; margin-bottom: 5px; }
        input[type="text"] {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1.1em;
        }

        .avatar-picker {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-top: 10px;
        }

        .avatar-option {
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 5px;
            padding: 5px;
            text-align: center;
            background: #eee;
            font-size: 20px;
        }

        .avatar-option:hover { background: var(--pizza-gold); }
        .avatar-option.selected { border-color: var(--pizza-red); background: var(--pizza-gold); }

        .counter-box {
            background: var(--pizza-red);
            color: white;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            margin-bottom: 20px;
            font-size: 1.2em;
        }

        .pizza-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 10px;
        }

        .pizza-item {
            display: flex;
            align-items: center;
            background: #fdfdfd;
            padding: 10px;
            border-radius: 5px;
            border: 1px solid #eee;
        }

        .pizza-item input { margin-right: 15px; transform: scale(1.3); }

        .print-btn {
            display: block;
            width: 200px;
            margin: 30px auto 0;
            padding: 15px;
            background: #222;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            font-size: 16px;
        }

        .print-btn:hover { background: #444; }

        @media print {
            .print-btn, .avatar-picker, .file-input-label, #photoInput {
                display: none !important;
            }
            body { background: white; padding: 0; }
            .passport-container { border: 4px solid black; box-shadow: none; max-width: 100%; }
            .avatar-option { border: none !important; }
        }
        .game1 {
            width: 100vw;
            height: 100vh;
            margin: 0px auto;
            display: block;
        }
/* Responsive Media Queries */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hide desktop nav */
    }
    
    .mobile-toggle {
        display: block; /* Show hamburger menu */
        margin-left: 15px;
    }

    .user-menu {
        margin-left: auto; /* Push user menu to the right */
    }
}
@media (max-width: 768px) {
    .team-header h1 { font-size: 1.2rem; }
}
/* --- Responsive Design --- */
@media (max-width: 950px) {
    .content-wrapper {
        flex-direction: column;
    }
    .sidebar {
        flex: auto;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .sidebar-widget {
        flex: 1;
        min-width: 300px;
    }
}
@media (max-width: 600px) {
    .popup-modal {
        flex-direction: column;
    }
    .popup-img {
        min-height: 180px;
    }
    
.slide-content h1 {
    font-size:2.5rem;
    }
    
.slide-content p {
    font-size:1rem;
    }
    .site-title {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.2rem;
        }
    }
}
@media (min-width: 1200px) {
}
@media (min-width: 768px) and (max-width: 991px) {
}
@media only screen and (max-width : 768px) {
}
@media (min-width: 200px) and (max-width: 767px) {
    .main-content.pizza {
        flex: none;
    }
}