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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    scroll-behavior: smooth;
    padding-top: 80px;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(255,255,255,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFD700;
}

.nav-logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 20px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 25px;
    display: inline-block;
}

.nav-link:hover {
    color: #000;
    background: #FFD700;
    border-color: #FFA500;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #000;
    background: #FFD700;
    border-color: #FFA500;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #4682B4;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content .logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid #FFD700;
    object-fit: cover;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: #FF6B6B;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}

.cta-button:hover {
    background: #FF5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

/* About Section */
.about {
    padding: 80px 0;
    background: #000;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 30px;
}

.story {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #ccc;
}

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

.service-item {
    text-align: center;
    padding: 30px;
    background: #111;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.service-item h3 {
    color: #FFD700;
    margin-bottom: 15px;
}

/* Games Section */
.games {
    padding: 80px 0;
    background: #000;
}

.games h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.section-desc {
    text-align: center;
    color: #ccc;
    margin-bottom: 50px;
}

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

.game-category {
    text-align: center;
    background: #111;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.game-category:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.game-category img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.game-category h3 {
    color: #FFD700;
    margin-bottom: 10px;
}

/* Menu Section */
.menu {
    padding: 80px 0;
    background: #f8f9fa;
}

.menu h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #4682B4;
    margin-bottom: 50px;
}

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

.menu-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.menu-category h3 {
    color: #4682B4;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #000;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #111;
    border-radius: 10px;
}

.contact-item i {
    font-size: 2rem;
    color: #FFD700;
    margin-right: 10px;
    min-width: 50px;
}

.contact-item h3 {
    color: #FFD700;
    margin-bottom: 5px;
}

.contact-item a {
    color: #FFD700;
    text-decoration: none;
}

.contact-item a:hover {
    color: #FFA500;
}

/* Membership Section */
.membership {
    padding: 80px 0;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    color: white;
}

.membership h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.membership-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.membership-benefits ul {
    list-style: none;
}

.membership-benefits li {
    padding: 10px 0;
    font-size: 1.1rem;
}

.membership-benefits i {
    color: #FFD700;
    margin-right: 10px;
}

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

.membership-cta h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.membership-cta p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Page Hero Sections */
.jubensha-hero,
.about-hero,
.contact-hero {
    padding: 120px 0 80px;
    background: #000;
    color: white;
    text-align: center;
}

.jubensha-hero .logo,
.about-hero .logo,
.contact-hero .logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #FFD700;
    object-fit: cover;
}

.jubensha-hero h1,
.about-hero h1,
.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #FFD700;
}

.hero-desc {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Active Navigation Link */
.nav-link.active {
    color: #4682B4;
}

.nav-link.active::after {
    width: 100%;
}

/* How to Play Section */
.how-to-play {
    padding: 80px 0;
    background: #000;
}

.how-to-play h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 50px;
}

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

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #FFD700;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    color: #FFD700;
    margin-bottom: 15px;
}

/* Booking CTA */
.booking-cta {
    padding: 80px 0;
    background: #000;
    text-align: center;
}

.booking-cta h2 {
    color: #FFD700;
    margin-bottom: 20px;
}

/* About Content */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.about-text h2 {
    color: #FFD700;
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #000;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 50px;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background: #000;
}

.mission h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 50px;
}

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

.mission-item {
    text-align: center;
    padding: 30px;
    background: #111;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

.mission-item h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Booking Section */
.booking-section {
    padding: 80px 0;
    background: #000;
}

.booking-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 50px;
}

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

.booking-step {
    text-align: center;
    padding: 30px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 2rem;
    color: #000;
}

.booking-step h3 {
    color: #FFD700;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #000;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 50px;
}

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

.faq-item {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

.faq-item h3 {
    color: #FFD700;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 15px;
    }
    
    .nav-logo span {
        font-size: 1.1rem;
    }
    
    .nav-logo img {
        width: 35px;
        height: 35px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(255,255,255,0.1);
        padding: 20px 0;
        gap: 15px;
        height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 5px 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 12px 20px;
        display: block;
        width: 80%;
        margin: 0 auto;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger span {
        background: #FFD700;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero {
        height: 80vh;
        padding: 20px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .tagline {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 20px;
    }
    
    .hero-content .logo {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .about h2, .games h2, .contact h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .services {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .service-item {
        padding: 20px;
    }
    
    .game-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .community-photo, .leaderboard-photo {
        height: 250px;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .steps-grid, .booking-steps, .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* iPhone Specific Fixes */
@media screen and (max-width: 480px) {
    body {
        -webkit-text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
    }
    
    .hero {
        height: 100vh;
        height: -webkit-fill-available;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
        height: calc(-webkit-fill-available - 60px);
    }
    
    input, button, select, textarea {
        -webkit-appearance: none;
        border-radius: 0;
    }
    
    .cta-button {
        -webkit-appearance: none;
        border-radius: 50px;
    }
}

/* Image Slider Styles */
.image-slider {
    padding: 80px 0;
    background: #000;
}

.image-slider h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 50px;
}

.slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.8);
    color: #000;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: #FFD700;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .slide img {
        height: 200px;
    }
    
    .prev, .next {
        padding: 8px 12px;
        font-size: 1rem;
    }
    
    .prev {
        left: 5px;
    }
    
    .next {
        right: 5px;
    }
    
    .image-slider h2 {
        font-size: 1.8rem;
    }
}

/* Hero Background Slideshow */
.boardgame-hero {
    position: relative;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.boardgame-hero .hero-content {
    position: relative;
    z-index: 3;
}

/* Community Section */
.community-section {
    padding: 80px 0;
    background: #000;
}

.community-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.community-image {
    text-align: center;
    margin: 30px 0;
}

.community-photo {
    max-width: 800px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.community-item {
    text-align: center;
    padding: 30px 20px;
    background: #111;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.community-item:hover {
    transform: translateY(-5px);
}

.community-item i {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.community-item h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.community-item p {
    color: #ccc;
    line-height: 1.6;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1200px;
    max-height: 90%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.close:hover {
    color: #FFD700;
}

.community-photo {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.community-photo:hover {
    transform: scale(1.02);
}

/* Leaderboard Section */
.leaderboard-section {
    margin-top: 50px;
    text-align: center;
}

.leaderboard-section h3 {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 15px;
}

.leaderboard-desc {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

.leaderboard-photo {
    max-width: 800px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.leaderboard-photo:hover {
    transform: scale(1.02);
}

/* Social Media Links Fix */
.social-link {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.social-link i {
    font-size: 0.9rem;
    color: #FFD700;
    margin-right: 3px;
    width: 12px;
    text-align: center;
}

.social-link a {
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
}

.social-link a:hover {
    color: #FFD700;
}