/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 4.5rem;

    /*========== Colors ==========*/
    --first-color: #C8A456;          /* Royal Gold */
    --first-color-alt: #B38C2D;      /* Darker Gold */
    --title-color: #FFFFFF;          /* White */
    --text-color: #E0E0E0;          /* Light Gray */
    --text-color-light: #999999;    /* Muted Gray */
    --body-color: #1A1A1A;          /* Dark Background */
    --container-color: #2A2A2A;     /* Slightly Lighter Dark */
    --card-color: #232323;          /* Card Background */
    --overlay-color: rgba(0,0,0,0.8); /* Dark Overlay */

    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;
    --title-font: 'Playfair Display', serif;
    --biggest-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;

    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;

    /*========== Margins ==========*/
    --mb-1: .5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;
    --mb-6: 3rem;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 3.5rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--body-color);
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    font-family: var(--title-font);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--first-color);
}

img {
    max-width: 100%;
    height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
    padding: 7rem 0 2rem;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--first-color);
}

.section__title {
    text-align: center;
    margin-bottom: var(--mb-4);
}

.section__title h2 {
    font-size: var(--h1-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
    position: relative;
    display: inline-block;
}

.section__title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background-color: var(--first-color);
}

.section__title span {
    font-size: var(--small-font-size);
    color: var(--first-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    width: calc(100% - 2rem);
    margin-left: auto;
    margin-right: auto;
}

.button {
    display: inline-block;
    background-color: var(--first-color);
    color: var(--body-color);
    padding: 1rem 2rem;
    border-radius: 0;
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--first-color-alt);
    transition: width 0.3s ease;
    z-index: -1;
}

.button:hover::before {
    width: 100%;
}

/*=============== HEADER ===============*/
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.header.scroll-header {
    background-color: var(--body-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav__logo {
    color: var(--first-color);
    font-family: var(--title-font);
    font-size: 1.5rem;
    font-weight: var(--font-semi-bold);
    letter-spacing: 2px;
}

.nav__logo img {
    width: auto;
    height: 50px;
}

.nav__list {
    display: flex;
    column-gap: 2rem;
}

.nav__link {
    color: var(--title-color);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--first-color);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle {
    font-size: 1.3rem;
    cursor: pointer;
}

/* Show menu */
.show-menu {
    top: calc(var(--header-height) + 1rem);
}

/*=============== HOME ===============*/
.hero {
    background: linear-gradient(var(--overlay-color), var(--overlay-color)), url('../images/cafe-7454951_1280.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero__title {
    font-size: var(--biggest-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-3);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero__description {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-4);
    color: var(--text-color);
}

.hero__subtitle {
    display: block;
    color: var(--first-color);
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: var(--mb-4);
}

.button--ghost {
    background-color: transparent;
    border: 2px solid var(--first-color);
    color: var(--first-color);
}

.button--ghost:hover {
    background-color: var(--first-color);
    color: var(--body-color);
}

/*=============== ABOUT ===============*/
.about__content {
    display: grid;
    gap: 4rem;
    align-items: center;
    background-color: var(--card-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.about__img {
    position: relative;
    overflow: hidden;
}

.about__img img {
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.about__img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--first-color) 0%, transparent 100%);
    opacity: 0.3;
    z-index: 1;
}

.about__text {
    color: var(--text-color);
}

.about__text p {
    margin-bottom: var(--mb-2);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: var(--mb-4);
    text-align: center;
}

.stats__number {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-semi-bold);
    color: var(--first-color);
}

.stats__text {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

/*=============== MENU ===============*/
.menu__content {
    display: grid;
    gap: 2rem;
}

.menu__category {
    background-color: var(--card-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu__category:hover {
    transform: translateY(-10px);
}

.menu__category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--first-color) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu__category:hover::before {
    opacity: 0.1;
}

.menu__category h3 {
    color: var(--first-color);
    margin-bottom: var(--mb-3);
    text-align: center;
    font-size: var(--h2-font-size);
}

.menu__item {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: var(--mb-3);
    padding-bottom: var(--mb-2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.menu__item-name {
    flex: 1;
    font-weight: var(--font-medium);
    color: var(--title-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.menu__item-price {
    color: var(--first-color);
    font-weight: var(--font-semi-bold);
    font-size: var(--h3-font-size);
}

.menu__item-description {
    width: 100%;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    margin-top: 0.5rem;
}

/*=============== SPECIALTIES ===============*/
.specialties__content {
    display: grid;
    gap: 2rem;
}

.specialty__card {
    background-color: var(--card-color);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.specialty__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--first-color) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.specialty__card:hover {
    transform: translateY(-10px);
}

.specialty__card:hover::before {
    opacity: 0.1;
}

.specialty__img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: var(--mb-2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.specialty__title {
    color: var(--first-color);
    margin-bottom: var(--mb-1);
    font-size: var(--h2-font-size);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/*=============== CONTACT ===============*/
.contact__content {
    background-color: var(--card-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.contact__info {
    display: grid;
    gap: 2rem;
}

.contact__card {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact__card:hover {
    transform: translateY(-10px);
    border-color: var(--first-color);
}

.contact__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--first-color) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact__card:hover::before {
    opacity: 0.1;
}

.contact__card i {
    font-size: 2.5rem;
    color: var(--first-color);
    margin-bottom: var(--mb-2);
}

.contact__card h3 {
    color: var(--first-color);
    margin-bottom: var(--mb-1);
}

.footer__logo {
    margin-bottom: var(--mb-3);
}

.footer__logo h3 {
    color: var(--first-color);
    font-size: 1.5rem;
    margin-bottom: var(--mb-1);
}

.footer__logo p {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}

/*=============== FOOTER ===============*/
.footer {
    background-color: var(--card-color);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--first-color) 50%, 
        transparent 100%);
}

.footer__content {
    text-align: center;
}

.footer__social {
    margin-bottom: var(--mb-3);
}

.footer__social-link {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer__social-link:hover {
    color: var(--first-color);
}

.footer__copy {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

/* Footer Credits */
.footer__credits {
    margin-top: 1rem;
    text-align: center;
}

.footer__credits p {
    color: var(--text-color-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer__credits a {
    color: var(--first-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer__credits a:hover {
    color: var(--first-color-alt);
}

/* Image Credits Accordion */
.footer__image-credits {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.image-credits-toggle {
    background: none;
    border: 1px solid var(--first-color);
    color: var(--first-color);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.image-credits-toggle:hover {
    background: var(--first-color);
    color: var(--container-color);
}

.image-credits-toggle i {
    transition: transform 0.3s ease;
}

.image-credits-toggle.active i {
    transform: rotate(180deg);
}

.image-credits-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 0;
}

.image-credits-content.show {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
}

.footer__image-credits p {
    color: var(--text-color-light);
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer__image-credits a {
    color: var(--first-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer__image-credits a:hover {
    color: var(--first-color-alt);
}

/*=============== SCROLL UP ===============*/
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    background-color: var(--first-color);
    padding: 0.7rem;
    border-radius: 4px;
    z-index: var(--z-tooltip);
    transition: 0.4s;
    opacity: 0.8;
}

.scrollup:hover {
    opacity: 1;
    background-color: var(--first-color-alt);
}

.scrollup i {
    color: var(--body-color);
    font-size: 1.2rem;
}

/* Show scroll */
.show-scroll {
    bottom: 5rem;
}

/*=============== MEDIA QUERIES ===============*/
/* For medium devices */
@media screen and (min-width: 568px) {
    .specialties__content,
    .contact__info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 768px) {
    body {
        margin: 0;
    }

    .nav {
        height: calc(var(--header-height) + 1.5rem);
    }

    .nav__list {
        flex-direction: row;
        column-gap: 2.5rem;
    }

    .nav__toggle {
        display: none;
    }

    .about__content {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* For large devices */
@media screen and (min-width: 1024px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__container {
        max-width: 800px;
    }

    .specialties__content {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact__info {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Add gradient overlays */
.section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--body-color) 0%,
        transparent 100%
    );
    opacity: 0.1;
    pointer-events: none;
}

/* Enhanced card hover effects */
.menu__category,
.specialty__card,
.contact__card {
    position: relative;
    overflow: hidden;
}

.menu__category::before,
.specialty__card::before,
.contact__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--first-color) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu__category:hover::before,
.specialty__card:hover::before,
.contact__card:hover::before {
    opacity: 0.1;
}

/* Enhance typography */
.section__title h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.menu__item-name,
.specialty__title {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Add subtle animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__content,
.section__title,
.menu__category,
.specialty__card,
.contact__card {
    animation: fadeIn 1s ease-out forwards;
}

/* Media Queries */
@media screen and (max-width: 767px) {
    .hero__buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .about__stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 968px) {
    .hero__buttons {
        gap: 2rem;
    }

    .button {
        padding: 1.25rem 2.5rem;
    }

    .stats__number {
        font-size: 2.5rem;
    }
} 