:root {
    /* Color Palette - Light Brown / Premium Theme */
    --bg-light: #fdf8f4;
    --bg-alt: #f5ede4;
    --bg-dark: #2d1e12;
    --primary: #8b5e3c;
    --primary-light: #a67c52;
    --secondary: #d7b494;
    --accent: #5d3a1a;
    --text-main: #3c2a1a;
    --text-muted: #6e5541;
    --text-light: #ffffff;
    --gold: #c5a059;
    
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(60, 42, 26, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    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='%238b5e3c' fill-opacity='0.03'%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");
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4, .brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(253, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

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

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 101;
}

.menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.menu-btn:hover span:nth-child(2) {
    transform: translateX(5px);
}

.brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.header-brand-text {
    font-family: 'Ruslan Display', cursive;
    font-size: 1.5rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
}

header.scrolled-deep .header-brand-text {
    opacity: 1;
    visibility: visible;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.scroll-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.scroll-nav-btn svg {
    width: 20px;
    height: 20px;
}

.scroll-nav-btn:hover {
    background: var(--accent);
    color: var(--bg-light);
}

.cta-small {
    padding: 10px 20px;
    background: var(--accent);
    color: var(--bg-light);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 94, 60, 0.3);
}

.cta-small:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -24%; /* Hidden by default */
    width: 24%;
    height: 100vh;
    background-color: var(--bg-alt);
    z-index: 200;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Smoother, faster transition */
    box-shadow: 20px 0 50px rgba(0,0,0,0.1);
    will-change: transform; /* Hint for browser optimization */
    padding: 6rem 2rem; /* Adjusted padding to lift sections */
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    transform: translateX(100%);
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    line-height: 1;
}

.sidebar-logo {
    text-align: center;
    margin-bottom: 4rem;
}

.sidebar-logo img {
    width: 375px; /* Increased 2.5x from 150px */
    height: auto;
    mix-blend-mode: multiply;
}

.nav-links li {
    margin-bottom: 2rem;
}

.nav-links a {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
    display: block;
    position: relative;
    width: fit-content;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--primary);
    padding-left: 15px;
    opacity: 1;
}

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

.nav-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

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

.sidebar-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.nav-links {
    flex-grow: 1; /* Pushes the footer down */
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 30, 18, 0.4);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--bg-alt) 0%, var(--bg-light) 100%);
    z-index: -1;
}

.hero-logo {
    width: 1800px; /* Even larger as requested */
    max-width: 98vw;
    max-height: 55vh; /* Increased back slightly since it's cropped now */
    object-fit: contain;
    margin-bottom: 0.5rem;
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(1.0); /* Toned down to prevent overexposure */
    animation: float 6s ease-in-out infinite;
    will-change: transform;
    background-color: transparent; 
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent); /* Same color as other brand text */
    line-height: 1.1;
}

.hero h1 .accent {
    display: block;
    font-size: 3.5rem;
    font-family: 'Ruslan Display', cursive;
    letter-spacing: 5px;
    color: var(--accent); /* Consistent color */
    margin-top: 0;
    text-transform: uppercase;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    opacity: 1; /* Show immediately, browser will swap font when ready */
}



.club-type {
    font-size: 1.25rem; /* Reduced by 30% approx */
    font-family: 'Ruslan Display', cursive;
    color: var(--accent);
    margin-bottom: 3rem; /* Added margin since subtitle is gone */
    letter-spacing: 2px;
}

.subtitle {
    display: none; /* Removed as requested */
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn.primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 10px 20px rgba(93, 58, 26, 0.2);
}

.btn.secondary {
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.btn.primary:hover {
    background-color: var(--primary);
}

/* Info Section */
.info-section {
    padding: 100px 0;
    background-color: white;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start; /* Alignment with image top */
}

.info-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.features {
    margin-top: 2rem;
}

.features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.features li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 900;
}

.visual-card {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--bg-alt);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.visual-card:hover .about-img {
    transform: scale(1.05);
}

.card-inner {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--secondary);
    border-radius: 10px;
}

/* Info Section Improvements */
.info-section.alt-bg {
    background-color: var(--bg-alt);
}

.info-grid.reverse {
    direction: rtl;
}

.info-grid.reverse .info-text {
    direction: ltr;
}

.info-grid.reverse .info-visual {
    direction: ltr;
}

/* Gallery Section */
.gallery-section {
    padding: 65px 0 100px; /* Reduced top padding by 35% (100 -> 65) */
    background-color: var(--bg-light); /* Soft cream instead of pure white */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark Section (Tournaments) */
.dark-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.t-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
}

.t-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    transform: scale(1.05);
    border: none;
}

.t-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.t-date {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 700;
}

.t-card.featured .t-date {
    color: white;
    opacity: 0.8;
}

.t-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.t-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.t-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-weight: 600;
}

.t-card.featured .t-link {
    background: white;
    color: var(--accent);
    border: none;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.max-icon-circle {
    border: 2.5px solid var(--gold);
    border-radius: 50%;
    width: 60px !important;
    height: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--gold);
}

.contact-item:hover .contact-icon {
    /* No hover effects as requested */
}

.contact-item span {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--gold);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--gold);
}

@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background-color: var(--bg-alt);
    padding: 40px 0 30px; /* Reduced padding to lift information higher */
    border-top: 1px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 20px; /* Reduced from 60px */
}

.footer-text-logo {
    font-family: 'Ruslan Display', cursive;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    color: var(--text-main);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--accent);
}

.footer-btn {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.footer-btn:hover {
    color: var(--primary);
    padding-left: 10px;
}


.footer-brand p {
    max-width: 300px;
    color: var(--text-muted);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px; /* Reduced from 40px */
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        width: 50%;
        left: -50%;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .info-section, .gallery-section, .dark-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 80%;
        left: -80%;
    }
    .hero h1 {
        font-size: 4.2rem;
    }
    .hero h1 .accent {
        font-size: 3.3rem;
    }
    .club-type {
        font-size: 1.2rem;
    }
    .header-brand-text {
        font-size: 1.1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .nav-links a {
        font-size: 1.5rem;
    }
    .hero-logo {
        max-height: 35vh;
        mix-blend-mode: multiply; 
        filter: contrast(1.1) brightness(1.0);
        isolation: isolate;
    }
    .hero {
        height: auto;
        min-height: 80vh;
        padding-bottom: 2rem;
    }
    .hero-bg {
        background: #fdf8f4 !important;
    }
    .hero-content {
        padding-bottom: 1rem;
    }
    .info-section, .gallery-section, .dark-section {
        padding: 30px 0;
    }
    footer {
        padding: 30px 0 20px;
    }
    .section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
        left: -100%;
    }
    .header-brand-text {
        display: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero h1 .accent {
        font-size: 1.8rem;
    }
    .hero-btns {
        flex-direction: column;
        padding: 0 2rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-btns.fade-in { animation-delay: 0.4s; }
.subtitle.fade-in { animation-delay: 0.2s; }
