@font-face {
    font-family: 'Calvous Demo';
    src: url('../fonts/Calvous DEMO.otf') format('opentype');
}

@font-face {
    font-family: 'Oaxaca';
    src: url('../fonts/Oaxaca.otf') format('opentype');
}

:root {
    --primary-color: #FF3B1D;  /* Bright red from logo */
    --secondary-color: #000000;
    --text-color: #333333;
    --background-color: #FFFFFF;
    --menu-background: #ffea1b;
    --font-heading: 'Calvous Demo', cursive;
    --font-body: 'Poppins', sans-serif;
}

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

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

/* Header Styles */
header {
    position: fixed;
    top: 65px;
    transition: top 0.3s ease;
    left: 10px;
    right: 10px;
    padding: 1rem 2rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    mix-blend-mode: difference;
}

header .flag img {
    transition: filter 0.3s;
}

header.scrolled .flag img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(91%) saturate(2352%) hue-rotate(355deg) brightness(97%) contrast(124%);
}

header:not(.scrolled) .flag img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(91%) saturate(2352%) hue-rotate(355deg) brightness(97%) contrast(124%);
}

.logo img {
    height: auto;
    width: 300px;
}

header {
    display: flex;
    align-items: center;
    padding: 1rem;
}

.header-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 2rem;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 8px;
}

.cart-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
}

.cart-count:not(:empty) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

@keyframes flash-colors {
    0%, 100% { color: white; }
    50% { color: var(--menu-background); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.merch-preorder {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.merch-preorder a {
    color: white;
    text-decoration: none;
    animation: 
        flash-colors 2s infinite,
        bounce 1.5s ease-in-out 2;
    transition: text-decoration 0.2s;
    display: inline-block;
}

.merch-preorder a:hover {
    text-decoration: underline;
}

.preorder-tray {
    height: 0;
    overflow: hidden;
    background: var(--menu-background);
    transition: height 0.3s ease-in-out;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 1001;
}

#preorderTray:target {
    height: 500px;
}

.close-tray {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1;
    z-index: 1002;
    cursor: pointer;
    background: var(--menu-background);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.preorder-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.form-container {
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 0 auto;
    position: relative;
}

.form-container::before {
    content: 'Join Our Email List!';
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary-color);
    position: absolute;
    top: 1rem;
    left: 0;
    right: 0;
    text-align: center;
}

.preorder-form iframe {
    width: 100%;
    height: 450px;
    border: none;
    background: transparent;
    margin: 3rem auto 0;
    display: block;
}

@media (max-width: 768px) {
    .preorder-tray {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #preorderTray:target {
        height: 100vh;
    }

    .preorder-form {
        padding: 1rem;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 100px;
    }

    .form-container {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;

        border-radius: 12px;
        padding: 2rem 1rem;
    }

    .form-container::before {
        font-size: 1.75rem;
        top: 0.75rem;
    }

    .preorder-form iframe {
        height: calc(100vh - 240px);
        max-height: 600px;
        margin-top: 2.5rem;
    }

    .close-tray {
        top: 110px;
    }
}



.flag img {
    height: auto;
    width: 80px;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    margin-top: 0;
}

.hero-overlay {
    width: 15%;
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media screen and (min-width: 1440px) {
    .hero-overlay {
        width: 10%;
        max-width: 120px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-grid img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.hours-info {
    text-align: left;
    padding: 1rem;
}

.hours-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.info-icon {
    flex-shrink: 0;
    width: 24px;
    margin-right: 8px;
    text-align: center;
}

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.credits {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.credits a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.credits a:hover {
    color: white;
    border-color: white;
}

#location {
    padding: 4rem 0;
    position: relative;
    color: var(--text-color);
    background: white;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.location-info h2 {
    padding-left: 0;
    text-align: left;
}

#contact {
    padding: 4rem 0;
    min-height: 80vh;
    background: url('../images/DSC02403.jpg') left/cover no-repeat;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    text-align: left;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
    margin-left: 4rem;
    width: calc(100% - 8rem);
}

@media screen and (max-width: 768px) {
    .contact .container {
        margin-left: 1rem;
        width: calc(100% - 2rem);
    }
}



#contact > * {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    header {
        padding: 0.5rem 1rem;
    }

    .logo img {
        width: 200px;
    }

    .flag img {
        width: 60px;
    }

    .hero-overlay {
        width: 45%;
        max-width: 400px;
    }

    .menu-content {
        padding: 0 1rem;
    }

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

    .menu-section-title {
        font-size: 1.8rem;
    }

    .menu-item {
        grid-template-columns: 1fr auto;
        text-align: left;
        gap: 0.5rem;
    }

    .menu-item .price {
        text-align: right;
    }

    .protein-list {
        grid-template-columns: 1fr;
    }

    .sides-list {
        grid-template-columns: 1fr;
    }

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

    .location-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .location h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .location-info, .hours-info {
        padding: 0 1rem;
    }

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

@media screen and (max-width: 768px) {
    .logo img {
        width: 150px;
    }

    .flag img {
        width: 40px;
    }

    .menu h2 {
        font-size: 1.8rem;
    }

    .menu-section-title {
        font-size: 1.5rem;
    }

    .menu-item-info h3 {
        font-size: 1.2rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: none;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/KennedySt-15.JPG') center/cover no-repeat fixed;
    z-index: -1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}

@supports (-webkit-touch-callout: none) {
    .hero::after {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1400px;
    height: auto;
    z-index: 10;
}



/* Menu Section */
.menu {
    padding: 4rem 0 8rem;
    background-color: var(--menu-background);
}

.menu h2 {
    font-family: 'Calvous Demo', cursive;
    color: var(--primary-color);
    font-size: 3rem;
    text-align: left;
    margin-bottom: 3rem;
}

.menu-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.special-section {
    background: var(--menu-background);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 4rem;
    border: 3px solid var(--primary-color);
}

.special-section .menu-section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 2rem;
}

.special-section .menu-item {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}

.special-section .menu-item-info h3 {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.special-section .menu-item-info p {
    color: var(--text-color);
    opacity: 0.8;
    font-family: var(--font-body);
    font-size: 1rem;
}

.special-section .price {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.menu-section-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.menu-items {
    display: grid;
    gap: 2rem;
}

.menu-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--primary-color);
}

.menu-item-info h3 {
    font-family: 'Oaxaca', cursive;
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.menu-item-info p {
    color: var(--text-color);
    font-size: 1rem;
    opacity: 0.8;
}

.menu-item .price {
    color: var(--primary-color);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.menu-item .price .currency {
    font-family: 'Oaxaca';
    font-size: 1.5rem;
}

.menu-item .price .amount {
    font-family: 'Oaxaca';
    font-size: 1.5rem;
    font-weight: normal;
}

.protein-options {
    background: rgba(255, 59, 29, 0.05);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.protein-options h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 1rem;
    text-align: left;
}

.protein-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;

}

.protein-item {
    font-size: 1.1rem;
}

.protein-item.premium {
    color: var(--primary-color);
}

.sides-section {
    text-align: center;
    margin: 1rem 0;
}

.sides-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.side-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.side-item h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.side-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
}

.side-item .price {
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 0.5rem;
}

.notification-bar {
    background: var(--menu-background);
    color: var(--text-color);
    padding: 0.6rem;
    border-bottom: 3px solid black;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Oaxaca', cursive;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notification-content {
    display: flex;
    overflow: hidden;
    width: calc(100% - 30px);
}

.notification-text {
    white-space: nowrap;
    animation: scroll 10s linear infinite;
    flex-shrink: 0;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes scroll {
    0% { transform: translate(100%, -50%); }
    100% { transform: translate(-100%, -50%); }
}

.close-notification {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem 0.5rem;
}



.notification-bar.hidden {
    display: none;
}

.notification-bar.hidden ~ header {
    top: 0;
}

.notification-bar.hidden ~ main .hero {
    margin-top: 0;
}

@media (max-width: 768px) {
    .menu-item {
        grid-template-columns: 1fr;
    }
    
    .menu-item .price {
        text-align: left;
        margin-top: 0.5rem;
        margin-left: 0;
        justify-content: flex-start;
    }
}
}

/* Location Section */
.location {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.location h2 {
    font-family: 'Calvous Demo', cursive;
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: left;

}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.location-info {
    text-align: left;
}

.feature-text {
    font-family: 'Oaxaca', cursive;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.location-info p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hours-info {
    background: var(--menu-background);
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
}

.hours-info p {
    font-family: 'Oaxaca', cursive;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: left;
}

.social-info {
    margin: 2rem 0;
}

.gang-illustration {
    margin-top: 90px;
    margin-bottom: 90px;
    text-align: center;
}

.gang-illustration img {
    max-width: 750px;
    width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .gang-illustration {
        margin-top: 70px;
        margin-bottom: 70px;
    }
}

@media (max-width: 768px) {
    .gang-illustration {
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .gang-illustration {
        margin-top: 70px;
        margin-bottom: 20px;
    }
}

.instagram-link {
    font-family: 'Oaxaca', cursive;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.instagram-link:hover {
    color: #e63517;
}

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

@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    color: white;
    text-align: left;
}

@media (max-width: 480px) {
    .contact {
        padding: 4rem 0;
    }
}

.contact h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

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

.contact-info {
    max-width: 600px;
    padding: 0;
    margin-left: 0;
}

.contact-info p {
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.spinning-circle {
    margin-top: 4rem;
    width: 65px;
}

.spinning-circle img {
    width: 100%;
    height: auto;
    -webkit-animation: spin 8s linear infinite reverse;
    animation: spin 8s linear infinite reverse;
    transform-origin: center center;
    display: block;
}

.spinning-circle img path[fill="#FFFFFF"] {
    fill: #FFD700;
}

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

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

@media (max-width: 480px) {
    .spinning-circle {
        width: 75px;
    }
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Gallery Section */
.gallery {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.gallery-grid {
    columns: 2;
    column-gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2rem;
    border-radius: 10px;
}


/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

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

/* Preorder Tray Styles */
.preorder-tray {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.preorder-tray:target {
    display: flex;
}

.preorder-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.preorder-form iframe {
    width: 100%;
    height: 650px;
    border: none;
    min-height: 80vh;
}

.close-tray {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    color: #333;
    text-decoration: none;
    line-height: 1;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

/* Sold Out Styles */
.menu-item.sold-out .menu-item-info h3 {
    text-decoration: line-through;
    opacity: 0.7;
}

.menu-item.sold-out .menu-item-info p {
    opacity: 0.7;
}

.menu-item.sold-out::after {
    content: 'Sold Out';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.button:hover {
    background-color: #e63517;
}
