/* ===========================
   VARIABLES / GLOBAL SETTINGS
=========================== */
:root {
    --primary-orange: #FF6700;
    --secondary-orange: #FF4500;
    --highlight-color: #f8c146;
    --bg-dark: #111;
    --card-bg: #1c1c1c;
    --font-primary: 'Oswald', serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: #fff;
    margin: 0;
    padding: 0;
}

h1,h2,h3,h4,h5,h6,p {
    margin: 0;
    padding: 0;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-primary);
}

/* ===========================
   BUTTONS (Base + Variants)
=========================== */
.btn {
    font-family: var(--font-primary);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-orange);
    transform: scale(1.05);
    filter: brightness(1.2);
}

.btn-danger {
    background-color: var(--secondary-orange);
    color: #fff;
}

.btn-danger:hover {
    background-color: var(--primary-orange);
    transform: scale(1.05);
    filter: brightness(1.3);
}

/* Utility class for hover zoom + brightness (images) */
.img-hover {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.img-hover:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.gradient-text {
    background: linear-gradient(to right, #ff6700, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}
/* ===========================
   NAVBAR
=========================== */
.gradient-navbar {
    background: linear-gradient(to right, #ff6600, #c73900);
}

.navbar-brand,
.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: normal;
    color: #fff;
    font-size: 1.3rem;
    padding: 0.8rem 1rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-orange);
    transform: scale(1.05);
}

.navbar-collapse {
    text-align: center; /* mobile dropdown aligns middle */
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0; /* removes extra vertical space */
}

.nav-logo {
    height: 50px;   /* adjust: 40–60px ideal */
    width: auto;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, var(--primary-orange) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/subtle-pattern.png'); /* optional subtle pattern */
    opacity: 0.1;
    pointer-events: none;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 3px 3px 0 #000;
    margin-top: 20px;
}

.hero p {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 #000;
}

.hero .btn {
    background-color: var(--primary-orange);
    color: #fff;
}

.hero .btn:hover {
    background-color: var(--secondary-orange);
    filter: brightness(1.2);
}

.hero-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);

}

/* ===========================
   FEATURED BURGERS / CARDS
=========================== */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--card-bg);
    color: #fff;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.card-img-wrapper {
    width: 100%;
    border-radius: 15px 15px 0 0;
}

.card-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Card text */
.card-body h5 {
    font-weight: 900;
    color: var(--primary-orange);
}

.card-body p {
    font-weight: bold;
    color: #fff;
}

/* Buttons on cards */
section.container .btn {
    background-color: var(--secondary-orange);
     outline: none;      /* remove blue focus outline */
    box-shadow: none;   /* remove focus shadow if any */
    border: none;       /* optional, in case default border shows */
}

section.container .btn:hover {
    background-color: var(--primary-orange);
    filter: brightness(1.2);
}

/* ===========================
   ORDER SECTION
=========================== */
.order-section {
    background-color: #000;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.order-section a.btn {
    background-color: var(--secondary-orange);
    color: #fff;
    font-weight: bold;
}

.order-section a.btn:hover {
    filter: brightness(1.3);
}

/* ===========================
   ABOUT / CONTACT SECTIONS
=========================== */
.about-row .col-md-6 {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-row .col-md-6 h3 {
    color: var(--primary-orange);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight:bold;
}

.about-row .col-md-6 p {
    font-weight: normal;
    font-size: 1.8rem;
    line-height: 1.8;
}

.about-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
}

/* CONTACT HERO - Text right, Image left */
.contact-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000 0%, var(--primary-orange) 100%);
    padding: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-hero .hero-text {
    flex: 1 1 300px;
    text-align: right;
}

.contact-hero .hero-image {
    flex: 1 1 300px;
    text-align: left;
}

.contact-hero img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.contact-hero h1 {
  text-shadow: 2px 2px 4px rgba(0,0,0,1); /* slightly smaller offset and blur */
}

.contact-hero p {
  text-shadow: 1.5px 1.5px 3px rgba(0,0,0,1); /* subtle but visible */
}


/* ==========================
   Smooth Hover Effects for Images
========================== */

/* Apply transitions to all relevant images */
.hero-img,
.hero-img-hover,
.card-img-top,
.card-img-wrapper img,
.contact-hero img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effects */
.hero-img:hover,
.hero-img-hover:hover,
.contact-hero img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Menu for about page */

.menu-list {
    margin-top: 15px;
    padding-left: 20px;
}

.menu-list li {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

/* Gallery page background matches navbar/hero gradient */
.gallery-section {
    background: linear-gradient(135deg, #000 0%, var(--primary-orange) 100%);
    color: #fff;
    min-height: 100vh;
    padding: 50px 0;
}

.gallery-section h1,
.gallery-section h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.gallery-section p {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 30px;
}

/* ===========================
   FIXED CARD EFFECTS ONLY
=========================== */

.gallery-item {
    cursor: pointer;
    overflow: hidden; /* FIX: prevents image from spilling outside card */
    position: relative;
}

/* FIX: prevents layout shift and keeps smooth animation */
.gallery-item img {
    transition: transform 0.3s ease;
    width: 100%;     /* FIX: ensures proper scaling */
    display: block;  /* FIX: removes tiny gaps under images */
}

/* FIX: safe hover zoom (no layout breaking) */
.gallery-item:hover img {
    transform: scale(1.08); /* slightly reduced to avoid overflow issues */
}

/* FIX: overlay stability */
.overlay {
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;

    position: absolute; /* FIX: ensures overlay always stays on image */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    pointer-events: none; /* FIX: prevents hover flicker bug */
}

/* smooth hover */
.gallery-item:hover .overlay {
    opacity: 1;
}

/* Hero slideshow */
#heroCarousel {
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

.carousel-inner img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 20px;
}

/* Clickable feel */
.clickable-card {
    cursor: pointer;
    background: rgba(0, 0, 0, 0.35); /* semi-transparent black */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 103, 0, 0.2);
    color: #fff;
}

.clickable-card:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
    transition: 0.3s ease;
}

/* Modal animation */
.modal-animate {
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===========================
   MODAL GLASSMORPHISM UPGRADE
=========================== */

.custom-modal {
    background: rgba(17, 17, 17, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 103, 0, 0.25);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    animation: modalZoom 0.35s ease;
}

@keyframes modalZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* IMAGE */
.modal-img {
    width: auto;
    max-width: 100%;
    max-height: 400px;
    height: auto;

    display: block;
    margin: 0 auto;

    object-fit: contain; /* KEY FIX — prevents squishing */
    
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(255, 103, 0, 0.25);
}

/* TITLE (GRADIENT ORANGE LIKE NAVBAR) */
.modal-title-text {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(to right, #ff6700, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* DESCRIPTION */
.modal-desc {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-top: 20px; /* space from title */
}

/* TAGLINE */
.modal-tagline {
    font-style: italic;
    font-size: 1rem;
    color: #fff;
    margin-top: 25px; /* more space from desc */
}

/* BUTTONS */
.modal-buttons a {
    padding: 10px 25px;
    border-radius: 12px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s ease;
    border: 2px solid var(--primary-orange);
    background: transparent;
    color: #fff;
}

/* HOVER EFFECT */
.modal-buttons a:hover {
    background: var(--primary-orange);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 103, 0, 0.4);
}

/* ===========================
   FOOTER
=========================== */
footer {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 40px 20px 20px 20px;
}

footer h5, footer p, footer li, footer a {
    color: #fff;
}

footer a:hover {
    color: var(--highlight-color);
}

footer a img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

footer a img:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
}

footer .list-unstyled li a {
    transition: color 0.3s ease, transform 0.2s ease;
}

footer .list-unstyled li a:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

/* ==========================
   FOOTER QUICKLINKS HOVER EFFECT
========================== */
footer ul li a {
    position: relative;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -4px;
    background-color: var(--primary-orange); /* accent color */
    transition: width 0.3s ease;
}

footer ul li a:hover {
    color: var(--primary-orange);
}

footer ul li a:hover::after {
    width: 100%;
}

/* ===========================
   RESPONSIVE MEDIA QUERIES
=========================== */
@media (max-width: 768px) {
    /* Hero */
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.2rem; }

    /* Contact hero */
    .contact-hero {
        flex-direction: column;
        text-align: center;
    }
    .contact-hero .hero-text {
        text-align: center;
        order: 2;
        margin-top: 1rem;
    }
    .contact-hero .hero-image {
        order: 1;
        text-align: center;
    }

        /* About page */
    .about-row .col-md-6 h3 {
        font-size: 1.8rem;
    }

    .about-row .col-md-6 p {
        font-size: 1.2rem;
    }

    .menu-list li {
        font-size: 1.2rem;
    }

    /* Contact page hero text */
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 1.2rem;
    }

    /* Footer */
    footer h5 { font-size: 1.2rem; margin-bottom: 0.5rem; }
    footer p, footer li a { font-size: 0.95rem; }
    footer a img { max-height: 50px; }
    footer .row { text-align: center; }
}
