/* ===================================
   Namaste Himalaya - Restaurant Website
   Compiled from SASS/Compass
   =================================== */

/* ===================================
   Variables & Mixins
   =================================== */
:root {
    --color-white: #ffffff;
    --color-black: #000000;
    --color-primary: #b47c3b;
    --color-secondary: #2c2c2c;
    --color-text: #666;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-light-bg: #f8f8f8;
    --font-heading: 'Roboto Slab', serif;
    --font-body: 'Arial', sans-serif;
    --transition: all 0.3s ease;
}

@font-face {
    font-family: 'Billy Ohio';
    src: url('/fonts/billy_ohio/BillyOhio.woff2') format('woff2'),
        url('/fonts/billy_ohio/BillyOhio.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@keyframes textclip { to { background-position: 200% center; } }

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


/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-secondary);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.section-title--white {
    color: var(--color-white);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-subtitle--white {
    color: var(--color-white);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background: transparent;
    color: var(--color-primary);
}

.btn--secondary {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--secondary:hover {
    background: var(--color-white);
    color: var(--color-secondary);
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff24;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--color-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav__logo img {
    height: 60px;
    transition: var(--transition);
}

.logo-main {
    display: none;
}

.logo-white {
    display: block;
}

.header.scrolled .logo-main {
    display: block;
}

.header.scrolled .logo-white {
    display: none;
}

.nav__links {
    display: flex;
    gap: 2.5rem;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    transition: var(--transition);
}

.header.scrolled .nav__link {
    color: var(--color-secondary);
}

.nav__link:hover {
    color: var(--color-primary);
    text-shadow: 0 0 2px var(--color-primary);;
}

.nav__menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav__menu-icon span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

.header.scrolled .nav__menu-icon span {
    background: var(--color-secondary);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('/media/table-3.jpeg') center/cover no-repeat;
    color: var(--color-white);
    &:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 0;
    }
}
@media screen and (max-width: 600px) {
    .hero {
        padding-bottom: 4em;
    }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 7rem 2rem 0 2rem;
}

.hero__content .hero__title {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    color: var(--color-white);
    font-family: 'Billy Ohio', cursive;
    color: rgb(221, 171, 93);
}
@media screen and (max-width: 600px) {
   .hero__content .hero__title {
        font-size: 2.5em;
    }
}

.hero__content .animate-charcter{
    position: relative;
    background-image: linear-gradient(-225deg, #b66e09 0%, #aeb406 29%, #ffd700 67%, #e30606 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    display: inline-block;
    overflow: hidden;
    text-align: center;
    font-size: 4em;
    letter-spacing: 0.1em;
    margin: 0 0 15px 0;
    font-family: "Playball", Arial, Helvetica, sans-serif;
    padding: 0.4em 0;
}
@media screen and (max-width: 600px) {
    .hero__content .animate-charcter{
        font-size: 2.5em;
    }
}
.hero__content .animate-charcter .line_1,
.hero__content .animate-charcter .line_2{
    position: absolute;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #ffd700;
    z-index: 1;
    animation: lineanimate 4s linear infinite;
}

.hero__content .animate-charcter .line_1{
    top: 0;
}
.hero__content .animate-charcter .line_2{
    top: auto;
    bottom: 0;
    animation-delay: 2s;
}


.hero__content .hero__subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--color-white);
}

@media screen and (max-width: 600px) {
    .hero__content .hero__subtitle {
        font-size: 1.2em;
    }
}

.hero__content .hero__tagline {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero__content .hero__year {
    font-size: 1rem;
    letter-spacing: 5px;
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
}
@media screen and (max-width: 600px) {
    .hero__content .hero__year {
        letter-spacing: 0;
    }
}

.hero__content .small{
    margin-bottom: 0.5rem;
}
.hero__content a{
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hero__content .big_yellow{
    color: #FFD700;
}

.hero__scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}
@media screen and (max-width: 600px){
    .hero__scroll {
        bottom: 0.5rem;
    }
}

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

/* ===================================
   About Section
   =================================== */
.about {
    padding: 6rem 5% 10rem 5%;
    background: var(--color-white);
}
@media screen and (max-width: 600px) {
    .about {
        padding: 6rem 5%;
    }
}
    


.about__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about__content {
    padding-right: 3rem;
}

.about__text {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.about__img--1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.about__img--2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-top: 8rem;
}

/* ===================================
   Menu Preview Section
   =================================== */
.menu-preview {
    position: relative;
    padding: 8rem 5%;
    text-align: center;
    color: var(--color-white);
}

.menu-preview__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.menu-preview__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.menu-preview__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.menu-preview__text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.menu-preview__images {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.menu-preview__images img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 3px solid var(--color-white);
    transition: var(--transition) !important;
}

.menu-preview__images img:hover {
    transform: scale(1.05);
}

/* ===================================
   Specialties Section
   =================================== */
.specialties {
    padding: 6rem 5%;
    background: var(--color-light-bg);
}

.specialties__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

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

.dish {
    background: var(--color-white);
    overflow: hidden;
    transition: var(--transition);
}

.dish:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.dish__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.dish__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition) !important;
}

.dish:hover .dish__image img {
    transform: scale(1.1);
}

.dish__info {
    padding: 2rem;
    text-align: left;
}

.dish__name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.dish__desc {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.dish__price {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
}

.specialties__highlight {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--color-white);
}

.specialties__highlight-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.specialties__highlight-text {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ===================================
   Experience Section
   =================================== */
.experience {
    position: relative;
    padding: 8rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.experience__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.experience__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.experience__content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    padding-left: 5%;
}

.experience__text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.experience__images {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.experience__images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 3px solid var(--color-white);
}

/* ===================================
   Feedback Section
   =================================== */
.feedback {
    padding: 6rem 5%;
    background: var(--color-white);
}

.feedback__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.feedback__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feedback__card {
    background: var(--color-light-bg);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.feedback__image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-primary);
}

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

.feedback__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.feedback__text {
    font-family: var(--font-body);
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    padding: 6rem 5%;
    background: var(--color-white);
}

.gallery__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition) !important;
}

.gallery__item:hover img {
    transform: scale(1.1);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 6rem 5%;
    /* background: var(--color-secondary); */
    color: var(--color-white);
    text-align: center;
    background: url('/media/cover-homepage.jpg') center/cover no-repeat;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 0;
    }
}

.contact__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.contact__info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-bottom: 5rem;
}

.contact__title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.contact__link {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact__link:hover {
    color: var(--color-primary);
}

.contact__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: left;
}

.contact__heading {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.contact__column p {
    line-height: 1.8;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 2rem 5%;
    background: var(--color-black);
    color: var(--color-white);
    text-align: center;
}

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

.footer__text {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer__credit {
    font-size: 0.75rem;
    color: var(--color-text);
}

/* ===================================
   Responsive Design
   =================================== */
@media screen and (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .about__container,
    .experience {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about__content {
        padding-right: 0;
    }
    
    .experience__content {
        padding-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }
    
    .nav__links.active {
        right: 0;
    }
    
    .nav__link {
        color: var(--color-secondary);
    }
    
    .nav__menu-icon {
        display: flex;
        z-index: 1001;
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .hero__subtitle {
        font-size: 1.25rem;
    }
    
    .about__images {
        grid-template-columns: 1fr;
    }
    
    .about__img--1 {
        grid-row: 1;
    }
    
    .about__img--2 {
        margin-top: 0;
    }
    
    .menu-preview__images img {
        width: 150px;
        height: 150px;
    }
    
    .dishes {
        grid-template-columns: 1fr;
    }
    
    .experience__images {
        grid-template-columns: 1fr;
    }
    
    .contact__info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact__details {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav__logo img {
        height: 50px;
    }
    
    .menu-preview__images {
        gap: 1rem;
    }
    
    .menu-preview__images img {
        width: 120px;
        height: 120px;
    }
}