/* Reset */
:root {
    /* Colors */
    --color-white: white;
    --color-black: black;
    --color-accent: #89393E;
    --color-hub-accent: #063017;
    --text-muted: #666;
    --bg-light: #f1f1f1;
    --border-light: #eee;
    --border-medium: #ddd;
    --shadow-soft: rgba(0,0,0,0.2);

    /* Fonts */
    --font-primary: 'Playfair Display', Georgia, serif;
    --font-secondary: Georgia, 'Times New Roman', serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
}


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

html, body.landing {
    height: 100%;
    overflow: auto;
}

body {
    font-family: var(--font-primary);
}

/* ===== LANDING PAGE STYLES ===== */
body.landing {
    background: var(--color-white);
    color: var(--color-black);
    text-align: center;
}


.container {
    padding: 40px 20px;
}

/* Logo */
h1 {
    margin: 0;
    line-height: 0;
}

.logo {
    width: 200px;
    max-width: 80%;
    margin: 20px 0 10px;
}

/* Navigation Links Container */
.nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
    align-items: center;
}

.nav-links a {
    color: var(--color-black);
    text-decoration: none;
    font-size: 50px;
    font-family: var(--font-secondary);
    font-weight: 500;
    display: inline-block;
    transition: transform var(--transition-base);
}

.nav-links a:hover {
    transform: scale(1.1);
    color: var(--color-accent);
}

/* Specific styling for .hub link on landing page */
body.landing .nav-links a[href="hub.html"]:hover {
    color: var(--color-hub-accent);
}

.hub-description {
    margin: 20px 0;
    font-family: 'Playfair Display';
    text-align: center;
    font-size: 20px;
    line-height: 2;
}

.hub-features {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    margin-bottom: 20px;
}

.hub-features li {
    margin: 5px 0;
}

.hub-passes {
    margin-top: 20px;
    text-align: center;
}

.pass-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.pass-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Playfair Display', serif;
    margin-bottom: 40px;
}

.pass-label {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.pass-price {
    font-size: 1em;
    color: #333;
}


/* Icons Container */
.icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/* Individual icon containers */
.socials, .address, .phone {
    margin: 0;
}

.socials img, .address img, .phone img {
    width: 40px;
    height: 40px;
    transition: transform var(--transition-fast);
}

.socials img:hover, .address img:hover, .phone img:hover {
    transform: scale(1.1);
}

.socials a, .address a, .phone a {
    display: inline-block;
    position: relative;
}

.icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.socials a:hover .icon-hover,
.address a:hover .icon-hover,
.phone a:hover .icon-hover {
    opacity: 1;
}

.socials a:hover .icon-normal,
.address a:hover .icon-normal,
.phone a:hover .icon-normal {
    opacity: 0;
}

/* Address Text */
.address-text {
    margin-top: 10px;
    font-size: 20px;
    color: var(--color-black);
}


.address-text address {
    margin: 0;
    font-weight: 400;
    font-style: normal;
}

/* Description */
.description {
    margin: 0 0 40px;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

/* Hours */
.hours {
    margin: 50px 0 40px;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.hours-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hours p {
    margin: 3px 0;
    font-weight: 400;
}

/* ===== MENU PAGE STYLES ===== */
body.menu {
    background: var(--color-white);
    color: var(--color-black);
    padding: 20px;
    font-family: var(--font-primary);
}

.menu-container {
    max-width: 800px;
    margin: 0 auto;
}

.menu-logo {
    width: 150px;
    display: block;
    margin: 20px auto 40px;
    cursor: pointer;
    transition: opacity var(--transition-base);
}

a .menu-logo:hover {
    opacity: 0.8;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab {
    padding: 15px 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    border: none;
    background: none;
    color: var(--text-muted);
    font-family: var(--font-primary);
    transition: all var(--transition-base);
}

.tab.active {
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: -2px;
}

.tab:hover {
    color: var(--color-accent);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Category Headers */
h2 {
    font-size: 28px;
    margin: 30px 0 20px;
    color: var(--color-black);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
    font-weight: 600;
    font-family: var(--font-primary);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.category-price {
    font-size: 36px;
    color: var(--color-black);
    font-weight: 600;
}

/* Menu Items */
.menu-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px 0;
}

.item-name {
    font-weight: 500;
    font-size: 22px;
    flex: 1;
}

.item-price {
    font-weight: 600;
    color: var(--color-black);
    margin-left: 20px;
    font-size: 22px;
}

.item-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Menu Notes */
.menu-note {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-medium);
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

.menu-note p {
    margin-bottom: 8px;
}

.menu-note strong {
    color: var(--color-black);
}

/* Menu Header */
.menu-header {
    background: var(--color-white);
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left a,
.header-right a {
    display: flex;
    align-items: center;
}

.header-left img {
    width: 28px;
    height: 28px;
    transition: transform var(--transition-fast);
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-right img {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-fast);
}

/* Icon Swap Animation */
.header-left a,
.header-right a,
.lang-dropbtn {
    position: relative;
}

.header-left .hover-icon,
.header-right .hover-icon {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.header-left a:hover .normal-icon,
.header-right a:hover .normal-icon,
.lang-dropbtn:hover .normal-icon {
    opacity: 0;
}

.header-left a:hover .hover-icon,
.header-right a:hover .hover-icon,
.lang-dropbtn:hover .hover-icon {
    opacity: 1;
    transform: scale(1.1);
}

.header-left .normal-icon,
.header-right .normal-icon {
    transition: opacity var(--transition-fast);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-dropbtn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 20px);
    background-color: var(--color-white);
    min-width: 60px;
    box-shadow: 0px 8px 16px 0px var(--shadow-soft);
    z-index: 101;
    border-radius: 4px;
    overflow: hidden;
}

.lang-dropdown-content a {
    color: var(--color-black);
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-family: var(--font-primary);
    font-size: 14px;
    text-align: center;
    transition: background-color var(--transition-fast);
}

.lang-dropdown-content a:hover {
    background-color: var(--bg-light);
}

.lang-dropdown.show .lang-dropdown-content {
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .logo {
        width: 150px;
    }

    .nav-links a {
        font-size: 36px;
    }

    .description, .hours, .address-text {
        font-size: 16px;
    }

    .hours-title {
        font-size: 16px;
    }
    
    /* Menu Page Mobile */
    .menu-logo {
        width: 120px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 22px;
    }

    .category-price {
        font-size: 26px;
    }

    .item-name, .item-price {
        font-size: 18px;
    }
    
    .menu-item {
        align-items: flex-start;
    }
}

/* ===== GALLERY STYLES ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Mobile optimization for gallery */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 4px 6px var(--shadow-soft);
}

.gallery-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px var(--shadow-soft);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mode for scrolling large images */
.lightbox.scroll-mode {
    display: block; /* Allows native scrolling */
    padding: 20px;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    cursor: zoom-in;
    transition: max-width var(--transition-base), max-height var(--transition-base);
}

.lightbox-content.zoomed {
    max-width: 100%;
    max-height: none;
    width: auto;
    height: auto;
    cursor: zoom-out;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition-fast);
    z-index: 1001;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lightbox-close:hover {
    color: #ccc;
    background: rgba(255,255,255,0.1);
}

/* Lightbox Navigation */
.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: var(--transition-base);
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 1002;
    background: rgba(0,0,0,0.3);
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Hide navigation buttons on mobile touch, use swipe instead or keep them if preferred */
@media (max-width: 600px) {
    .lightbox-prev, .lightbox-next {
        padding: 10px;
        font-size: 24px;
        background: rgba(0,0,0,0.5); /* Make more visible on mobile */
    }
}

/* ===== HUB PAGE STYLES ===== */
body.hub-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
    background: var(--color-white); /* Clean background like menu */
    color: var(--color-black);
}

body.hub-page .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hub-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 100px; /* Large */
    margin: 0;
    line-height: 1;
    color: var(--color-black);
}

.hub-subtitle {
    font-family: var(--font-primary);
    font-weight: 300; /* Thinner */
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 40px;
    letter-spacing: 1px;
    color: var(--color-black);
}

.hub-pricing {
    font-family: var(--font-primary);
    font-size: 20px;
    margin-bottom: 60px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Override nav link styles for hub page */
body.hub-page .nav-links a {
    color: var(--color-black);
}

body.hub-page .nav-links a:hover {
    color: var(--color-hub-accent);
}

/* Keep chaduna link red on hub page */
body.hub-page .nav-links a[href="index.html"]:hover {
    color: var(--color-accent);
}

body.hub-page .address-text {
    color: var(--color-black);
}

/* Hub page specific icon handling */
body.hub-page .socials img, 
body.hub-page .address img {
    filter: none; /* Default black icons */
}


/* Revert inversion for the hover icon so it displays true green */
body.hub-page .socials a:hover .icon-hover,
body.hub-page .address a:hover .icon-hover {
    filter: none;
}


/* Responsive adjustments for Hub */
@media (max-width: 768px) {
    .hub-title {
        font-size: 60px;
    }
    .hub-subtitle {
        font-size: 20px;
    }
    .hub-pricing {
        font-size: 18px;
        flex-direction: column;
        gap: 15px;
    }
}
