/* =========================================
   Variables & Theme Setup
   ========================================= */
:root {
    /* Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1f1f1f;

    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    --accent-gold: #D4AF37;
    --accent-gold-dim: #aa8c2c;
    --accent-emerald: #004D40;
    --accent-emerald-bright: #00695c;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 400;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   Typography & Utilities
   ========================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    display: block;
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.divider {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--accent-gold-dim);
    color: #fff;
}

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

.btn-secondary:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.btn-outline {
    border: 1px solid var(--text-muted);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-text {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-text:hover {
    gap: 12px;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-fast);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    /* Visibility gradient */
}

/* ... existing scrolled style ... */

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
    text-shadow: 0 4px 14px #000000;
    /* Pop against bg */
}

.hero-tagline {
    font-size: 1.2rem;
    color: #ffffff;
    /* Brighter */
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    background: rgba(0, 0, 0, 0.4);
    /* Back shade */
    backdrop-filter: blur(4px);
    /* Modern glass effect */
    padding: 8px 24px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo-symbol {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    transition: var(--transition-fast);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
}

.logo:hover .logo-symbol {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* Updated hero image */
    background: url('../assets/images/potclubs_co1_1173x.webp') no-repeat left center/cover;
    overflow: hidden;
}

/* Subtle texture overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231f1f1f' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.75;
    /* Increased from 0.5 for better legibility */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    /* Offset nav */
    opacity: 0;
    /* Animated in JS */
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
    font-weight: 700;
    text-shadow: 0 4px 20px #000000;
    color: #ffffff;
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    /* Subtle back shade */
    backdrop-filter: blur(4px);
    padding: 10px 30px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-tagline {
    font-size: 1.2rem;
    color: #ffffff;
    /* Brighter */
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    background: rgba(0, 0, 0, 0.4);
    /* Back shade */
    backdrop-filter: blur(4px);
    /* Modern glass effect */
    padding: 8px 24px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* =========================================
   About Section
   ========================================= */
.about-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    text-align: justify;
}

.about-image-container {
    height: 400px;
    position: relative;
    border: 1px solid var(--bg-secondary);
    box-shadow: 20px 20px 0px rgba(212, 175, 55, 0.05);
    /* Gold shadow hint */
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image-container:hover .about-image {
    transform: scale(1.05);
}

/* =========================================
   Membership Section
   ========================================= */
.membership-section {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.membership-card {
    background-color: var(--bg-primary);
    padding: 40px 30px;
    border: 1px solid var(--bg-tertiary);
    text-align: center;
    transition: var(--transition-fast);
    position: relative;
}

.membership-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.membership-card.featured {
    border: 1px solid var(--accent-gold);
    transform: scale(1.05);
    z-index: 10;
}

.membership-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    padding: 4px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.tier-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.price {
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-style: italic;
    margin-bottom: 30px;
}

.benefits-list {
    margin-bottom: 40px;
    text-align: left;
}

.benefits-list li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.benefits-list li i {
    color: var(--accent-gold);
    margin-top: 4px;
}

/* =========================================
   Menu Section
   ========================================= */
.menu-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-secondary);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.menu-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.menu-tab.active,
.menu-tab:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.menu-item {
    background-color: var(--bg-tertiary);
    padding: 30px;
    border-radius: 2px;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background-color: #252525;
    border-left-color: var(--accent-emerald);
}

.menu-item-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: grayscale(40%);
    transition: var(--transition-fast);
}

.menu-item:hover .menu-item-image {
    filter: grayscale(0%);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.item-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.origin {
    font-size: 0.8rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

/* =========================================
   Lounge & Events
   ========================================= */
.lounge-section {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.lounge-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lounge-visuals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 20px;
}

.visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--bg-tertiary);
}

.v1 {
    grid-column: 1 / 3;
}

.v2 {
    grid-column: 1 / 3;
}

.events-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    text-align: center;
    margin-right: 40px;
    min-width: 60px;
}

.day {
    display: block;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--accent-gold);
}

.month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.event-details {
    flex: 1;
}

.event-details h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.event-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =========================================
   Other Sections (Gallery, Contact, Footer)
   ========================================= */
.gallery-section {
    padding: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 400px;
    /* Placeholder height */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    background-color: #000;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    opacity: 1;
    transform: scale(1.1);
}

.contact-section {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.info-block {
    margin-top: 40px;
}

.info-block h4 {
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.info-block p {
    color: var(--text-secondary);
}

.contact-form {
    background-color: var(--bg-primary);
    padding: 40px;
    border: 1px solid var(--bg-tertiary);
}

.form-group {
    margin-bottom: 20px;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-tertiary);
    border: 1px solid transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: #252525;
}

.footer {
    background-color: #050505;
    padding: 80px 0 20px 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--bg-tertiary);
}

.footer-links a {
    margin: 0 15px;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.social-links a {
    margin-left: 20px;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--accent-gold);
}

.legal-disclaimer {
    text-align: center;
    padding-top: 20px;
    color: #444;
    font-size: 0.75rem;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-content,
    .lounge-layout,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-placeholder {
        order: -1;
        /* Image first on mobile */
    }

    .menu-categories {
        flex-wrap: wrap;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide for now, toggle in JS */
        /* Basic mobile menu styling would go here */
    }

    .hamburger {
        display: flex;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .social-links a {
        margin: 0 10px;
    }
}