/*
* THE ANCHOR - Custom Stylesheet
* ------------------------------------------- */

/* 0. CSS VARIABLES & RESET
-------------------------------------------------- */
:root {
    --font-display: 'Teko', sans-serif;
    --font-text: 'Roboto Condensed', sans-serif;
    
    --color-text: #EAEAEA;
    --color-bg: #121212;
    --color-accent: #E64A19;
    --color-dark: #1A1A1A;
    --color-grey: #2C2C2C;

    --header-height: 80px;
}

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

body {
    font-family: var(--font-text);
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.is-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.main-content {
    padding-top: var(--header-height);
}

.section-heading {
    font-size: clamp(3rem, 8vw, 5rem);
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
    position: relative;
    padding-bottom: 20px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
}


/* 1. HEADER
-------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 50px;
    height: var(--header-height);
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: top 0.3s;
}

.header.is-hidden {
    top: -80px;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.header__logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}
.header__logo:hover {
	transform: scale(1.05);
}

.header__nav ul {
    display: flex;
    list-style: none;
}

.header__nav a {
    padding: 10px 20px;
    font-family: var(--font-text);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

.header__nav a span {
    position: relative;
    transition: color 0.3s;
}

.header__nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.header__nav a:hover::before,
.header__nav a.is-active::before {
    width: calc(100% - 40px);
}

.header__nav a:hover span,
.header__nav a.is-active span {
    color: #fff;
}

.header__menu-btn {
    display: none;
    z-index: 1002;
    position: relative;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    /* transform: translateX(100%); */ /* GSAP will handle this */
    /* transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1); */ /* REMOVED to prevent conflict */
    visibility: hidden; /* Set initial state for GSAP */
    z-index: 1001;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav nav li {
    margin: 20px 0;
    overflow: hidden;
}

.mobile-nav nav a {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
}


/* 2. FOOTER
-------------------------------------------------- */
.footer {
    background-color: var(--color-dark);
    padding: 80px 50px 30px;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-grey), transparent);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--color-grey);
    max-width: 1600px;
    margin: 0 auto 30px;
}

.footer__info .footer__logo {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.footer__info p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 5px;
}

.footer__nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 60px;
}

.footer__nav a {
    color: #aaa;
    transition: color 0.3s;
}
.footer__nav a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    text-align: center;
    color: #777;
    font-size: 12px;
}


/* 3. HOME PAGE
-------------------------------------------------- */
.home .hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home .hero__image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(18,18,18,0.8) 100%);
}

.hero__text-wrapper {
    position: relative;
    text-align: center;
    color: #fff;
}

.hero__title {
    font-size: clamp(6rem, 15vw, 14rem);
    line-height: 0.9;
}

.hero__title-line {
    display: block;
}

.hero__subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: 0.3em;
    margin-top: 20px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-bg);
}

.intro-grid__item {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-grey);
}

.intro-grid__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.intro-grid__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.intro-grid__item:hover .intro-grid__image-wrapper img {
    transform: scale(1.05);
}

.intro-grid__text-wrapper {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
    transition: transform 0.3s ease;
}

.intro-grid__item:hover .intro-grid__text-wrapper {
    transform: scale(1.05);
}

.intro-grid__title {
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 1;
}

.intro-grid__link {
    display: inline-block;
    margin-top: 20px;
    font-family: var(--font-text);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 30px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.intro-grid__item:hover .intro-grid__link {
    background-color: #fff;
    color: var(--color-bg);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


/* 4. GENERIC PAGE STYLES
-------------------------------------------------- */
.page-hero {
    padding: 120px 50px;
    text-align: center;
    background-color: var(--color-dark);
    border-bottom: 1px solid var(--color-grey);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background-color: var(--color-accent);
    box-shadow: 0 0 15px 5px var(--color-accent);
}

.page-hero__title {
    font-size: clamp(4rem, 10vw, 8rem);
    color: #fff;
    margin-bottom: 20px;
}

.breadcrumb {
    color: #aaa;
}
.breadcrumb a {
    color: #aaa;
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: var(--color-accent);
}
.breadcrumb span {
    margin: 0 10px;
}


/* 5. ABOUT PAGE
-------------------------------------------------- */
.about-story, .about-philosophy {
    padding: 120px 50px;
}

.about-story__inner, .about-philosophy__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-philosophy__inner {
    direction: rtl; /* Reverse order */
}
.about-philosophy__inner > * {
    direction: ltr; /* Reset text direction */
}

.about-story__text p, .about-philosophy__text p {
    max-width: 60ch;
    margin-bottom: 1.5em;
}

.about-commitment {
    padding: 120px 50px;
    background-color: var(--color-dark);
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.commitment-item {
    text-align: center;
    border: 1px solid var(--color-grey);
    padding: 40px;
    transition: background-color 0.3s, transform 0.3s;
}

.commitment-item:hover {
    background-color: #1f1f1f;
    transform: translateY(-10px);
}

.commitment-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    margin-bottom: 30px;
}

.commitment-item h3 {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 15px;
}


/* 6. MENU PAGE
-------------------------------------------------- */
.menu-page-content {
    padding: 120px 50px;
}

.menu-page-content__inner {
    max-width: 1400px;
    margin: 0 auto;
}

.menu-category {
    margin-bottom: 100px;
}

.menu-category__title {
    font-size: 4rem;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.menu-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-grey);
}

.menu-category .menu-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#drinks .menu-card img {
    aspect-ratio: 16/9;
}

.menu-card:hover img {
    transform: scale(1.1);
}

.menu-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
}

.menu-card__info h3 {
    font-size: 2.5rem;
}

.menu-card__info p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent);
}

.menu-grid--sides {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.menu-card-simple {
    background-color: var(--color-dark);
    text-align: center;
    border: 1px solid var(--color-grey);
    transition: background-color 0.3s;
    overflow: hidden;
}

.menu-card-simple:hover {
    background-color: #1f1f1f;
}

.menu-card-simple__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-card-simple:hover .menu-card-simple__image {
    transform: scale(1.1);
}

.menu-card-simple__info {
    padding: 20px;
}

.menu-card-simple h3 {
    font-size: 2rem;
}

.menu-card-simple p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent);
}


/* 7. PRODUCT DETAIL PAGE
-------------------------------------------------- */
.product-page-content {
    padding: 120px 50px;
}

.product-page-content__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
}

.product-gallery__main-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid var(--color-grey);
}

.product-info__price {
    font-size: 2rem;
    font-family: var(--font-display);
    color: var(--color-accent);
    margin-bottom: 10px;
}

.product-info__name {
    font-size: 5rem;
    margin-bottom: 30px;
}

.product-info__description {
    margin-bottom: 40px;
    max-width: 65ch;
}

.product-info__details h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-accent);
}

.related-products {
    padding: 120px 50px;
    background-color: var(--color-dark);
}

.related-products__inner {
    max-width: 1400px;
    margin: 0 auto;
}


/* 8. LOCATION PAGE
-------------------------------------------------- */
.location-details {
    padding: 120px 50px;
}

.location-details__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.location-details__map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
    filter: grayscale(1) invert(0.9) contrast(1.2);
}

.info-block {
    margin-bottom: 40px;
}

.info-block h3 {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.location-gallery {
    padding: 120px 50px;
    background-color: var(--color-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.1);
}


/* 9. CAREERS PAGE
-------------------------------------------------- */
.careers-intro {
    padding: 120px 50px;
}

.careers-intro__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.careers-positions {
    padding: 120px 50px;
    background-color: var(--color-dark);
}

.positions-accordion {
    max-width: 900px;
    margin: 0 auto 60px;
    border-top: 1px solid var(--color-grey);
}

.position-item {
    border-bottom: 1px solid var(--color-grey);
}

.position-item__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    background: none;
    border: none;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s;
}
.position-item__header:hover {
    color: var(--color-accent);
}

.position-item__header h3 {
    font-size: 2.5rem;
}

.position-item__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.5s;
    padding: 0 20px;
}

.position-item__content p {
    margin-bottom: 1em;
}

.careers-apply {
    text-align: center;
}


/* 10. PRESS PAGE
-------------------------------------------------- */
.press-list {
    padding: 120px 50px;
}

.press-list__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.press-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--color-grey);
}
.press-item:first-child {
    border-top: 1px solid var(--color-grey);
}

.press-item__meta {
    color: #aaa;
    margin-bottom: 10px;
}

.press-item__title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}


/* 11. RESPONSIVE
-------------------------------------------------- */
@media (max-width: 1024px) {
    .header__nav { display: none; }
    .header__menu-btn {
        display: block;
        background: none;
        border: none;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
    }
    .header__menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        position: absolute;
        left: 0;
        transition: all 0.3s;
    }
    .header__menu-btn span:first-child { top: 0; }
    .header__menu-btn span:last-child { bottom: 0; }

    .header__menu-btn.is-active span:first-child {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    .header__menu-btn.is-active span:last-child {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    .intro-grid, .about-story__inner, .about-philosophy__inner, .commitment-grid, .product-page-content__inner, .location-details__inner, .careers-intro__inner, .press-item {
        grid-template-columns: 1fr;
    }
    
    .about-philosophy__inner { direction: ltr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .footer__inner { flex-direction: column; text-align: center; }
    .footer__info { margin-bottom: 40px; }
    .footer__nav ul { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 768px) {
    .header { padding: 0 20px; }
    .footer { padding: 60px 20px 20px; }
    .page-hero, .about-story, .about-philosophy, .about-commitment, .menu-page-content, .product-page-content, .related-products, .location-details, .location-gallery, .careers-intro, .careers-positions, .press-list {
        padding: 80px 20px;
    }
    .intro-grid { grid-template-columns: 1fr; }
    .intro-grid__item { height: 60vh; }
    .press-item { grid-template-columns: 1fr; gap: 30px; }
}
