/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-glass: rgba(255, 255, 255, 0.85);

    --primary-blue: #0f172a;
    --accent-blue: #2563eb;
    --light-blue: rgba(239, 246, 255, 0.9);
    --blue-glow-rgb: 37, 99, 235;

    --text-main: #0f172a;
    --text-muted: #334155;
    --border-color: rgba(37, 99, 235, 0.25);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
    --transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Global Animations --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1.5deg);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(var(--blue-glow-rgb), 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(var(--blue-glow-rgb), 0.6);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* --- Resets & Clean Background --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeInUp 0.8s ease-out;
}

h1,
h2,
h3,
.brand-name {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.urdu-inline {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 0.9em;
    color: var(--accent-blue);
}

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

/* --- Header Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0.8rem 5%;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-link img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    transition: var(--transition);
}

.logo-link:hover img {
    transform: rotate(360deg) scale(1.08);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
}

.v-line {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

nav {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: var(--transition);
    position: relative;
}

nav a:not(.order-btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition);
}

nav a:not(.order-btn):hover::after {
    width: 100%;
}

nav a:not(.order-btn):hover {
    color: var(--accent-blue);
}

nav .order-btn {
    background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
    color: #ffffff;
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    transition: var(--transition);
}

nav .order-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-blue);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero Section with Background Image --- */
/* --- Hero Section with Background Image --- */
#top.hero-with-bg {
    padding: 150px 8% 90px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 3.5rem;

    /* Removed linear-gradient overlay to show background image at full opacity */
    background-image: url('images/Background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-bottom: 1px solid var(--border-color);
}

#top>div:first-child {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 1s ease-out;
}

#top span:first-child {
    display: inline-block;
    background: var(--light-blue);
    color: var(--accent-blue);
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--border-color);
    margin-bottom: 1.2rem;
}

#top h1 {
    font-size: 3.2rem;
    line-height: 1.18;
    margin-bottom: 1.2rem;
}

#top h1 span {
    color: var(--accent-blue);
    font-style: italic;
}

#top p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.visit-menu-btn {
    background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
    color: #ffffff;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    transition: var(--transition);
}

.visit-menu-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.6);
}

.hero-ratings-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--primary-blue);
    flex-wrap: wrap;
}

.typewriter-container {
    background: var(--light-blue);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    color: var(--accent-blue);
    font-size: 0.85rem;
}

.cursor {
    color: var(--accent-blue);
    animation: blink 0.7s infinite;
}

#top img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-blue);
    animation: float 4s ease-in-out infinite, pulseGlow 3.5s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

/* --- Sections Glassmorphism Container --- */
section {
    padding: 90px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

#about {
    text-align: center;
    max-width: 850px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#about h2 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

#about h2 span {
    color: var(--accent-blue);
}

#about p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 600;
}

#about>div>div:last-child {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

#about span {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--primary-blue);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

#about span:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue);
}

/* Menu Grid */
.sub-badge {
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 800;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 600;
}

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

.menu-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.menu-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-blue);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
}

.menu-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 2;
}

.card-body {
    padding: 1.4rem;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
}

/* Visit & Booking */
.visit-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    padding: 3.5rem 5%;
}

.visit-badge {
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.visit-details,
.booking-card,
.visit-hours {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    border-radius: 18px;
    max-width: 600px;
    margin: 0 auto 1.8rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.booking-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.booking-card input {
    width: 100%;
    padding: 0.85rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition);
}

.booking-card input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.booking-btn {
    width: 100%;
    padding: 0.95rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Contact Section */
#contact {
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    margin-top: 3rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.5rem 0;
    align-items: center;
}

.contact-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    color: var(--text-muted);
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-actions a {
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

.contact-actions a[href^="tel"] {
    background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.contact-actions a[href^="tel"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.contact-actions a[target="_blank"] {
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    background: #ffffff;
}

.contact-actions a[target="_blank"]:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
}

/* Footer */
footer {
    max-width: 1200px;
    margin: 3rem auto 1rem;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    font-weight: 600;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

footer img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--accent-blue);
}

/* --- Responsive Layout for Mobile Devices --- */
@media (max-width: 768px) {
    body {
        background-color: var(--bg-main);
    }

    #top.hero-with-bg {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 110px;
        padding-bottom: 60px;
        gap: 2rem;
        background-position: center center;
        background-size: cover;
    }

    #top>div:first-child {
        padding: 1.5rem;
    }

    #top h1 {
        font-size: 2rem;
    }

    #top img {
        width: 220px;
        height: 220px;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 240px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        flex-direction: column;
        padding: 1.8rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transition: var(--transition);
    }

    nav.active {
        right: 4%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}