/**
 * BogeyConcept Golf Club - Premium Stylesheet
 * Elegant, Modern, Exclusive Design
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    /* BogeyConcept Brand Colors - Navy & Lime */
    --primary-navy: #1e3a5f;
    --dark-navy: #0f1f3d;
    --light-navy: #2d4a6f;
    
    /* Lime Green Accent */
    --lime-green: #a4d233;
    --lime-light: #c5e86c;
    --lime-dark: #8ab82a;
    
    /* Legacy mappings for compatibility */
    --primary-green: #1e3a5f;
    --light-green: #2d4a6f;
    --dark-green: #0f1f3d;
    
    /* Accent Colors */
    --gold: #a4d233;
    --gold-light: #c5e86c;
    --gold-dark: #8ab82a;
    
    /* Neutrals */
    --white: #ffffff;
    --cream: #faf8f3;
    --gray-light: #f5f5f5;
    --gray: #9ca3af;
    --gray-dark: #4b5563;
    --black: #1f2937;
    
    
    /* Fonts */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Montserrat', sans-serif;

    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container, .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

section {
    max-width: 100%;
    overflow-x: hidden;
}

html, body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    position: relative;
}



h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    ont-style: italic;
    color: var(--dark-green);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

a:hover {
    color: var(--gold);
}

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

/* ================================
   NAVBAR - FIXED
   ================================ */
.navbar-golf {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar-golf.scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    padding: 0.25rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green) !important;
    letter-spacing: 1px;
    padding: 0.25rem 0;
}

.navbar-brand:hover {
    color: var(--gold) !important;
}

.nav-link {
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-dark) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Dropdown Menu - Desktop - FIXED SCROLLBAR ISSUE */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
    animation: fadeInDown 0.3s ease;
}

/* Force remove scrollbar on dropdown */
.navbar-nav .dropdown-menu,
.dropdown-menu.show {
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    height: auto !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    color: var(--gray-dark);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, var(--cream), transparent);
    color: var(--primary-green);
    padding-left: 2rem;
}

.dropdown-item i {
    color: var(--gold);
    width: 20px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.dropdown-divider {
    margin: 0.5rem 1rem;
    border-color: var(--gold);
    opacity: 0.2;
}

.btn-member {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white) !important;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-member:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
}

/* Mobile Navbar Styles */
@media (max-width: 991px) {
    .navbar-toggler {
        border: 2px solid var(--primary-green);
        padding: 0.5rem 0.75rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(30, 58, 95, 0.25);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30, 58, 95, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: var(--shadow-md);
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .btn-member {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .navbar-nav .dropdown-menu {
        border: none;
        border-left: 3px solid var(--gold);
        margin-left: 1rem;
        background: var(--cream);
        box-shadow: none;
        margin-top: 0;
        animation: none;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .dropdown-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .dropdown-item:hover {
        background: rgba(164, 210, 51, 0.1);
        padding-left: 1.5rem;
    }
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    animation: slowZoom 30s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(15, 31, 61, 0.7),
        rgba(30, 58, 95, 0.5)
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 4.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    color: var(--white);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--gold-light);
    font-family: var(--font-accent);
}

.hero-gold-line {
    width: 100px;
    height: 3px;
    background: var(--gold);
    margin: 2rem auto;
    box-shadow: 0 0 20px var(--gold);
}

.btn-hero {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    margin: 0 0.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-hero-primary {
    background: var(--gold);
    color: var(--dark-green);
    box-shadow: 0 8px 20px rgba(164, 210, 51, 0.4);
}

.btn-hero-primary:hover {
    background: var(--gold-light);
    color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(164, 210, 51, 0.6);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* ================================
   SECTION STYLES
   ================================ */
section {
    padding: 5rem 0;
}

.section-bg-light {
    background: var(--cream);
}

.section-bg-dark {
    background: var(--primary-green);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.section-bg-dark .section-title h2 {
    color: var(--white);
}

.section-title .gold-line {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   CARD STYLES
   ================================ */
.card-golf {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    height: 100%;
}

.card-golf:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-golf-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.card-golf-body {
    padding: 1.5rem;
}

.card-golf-category {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-green);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-golf-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-green);
}

.card-golf-text {
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.card-golf-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.card-golf-footer {
    padding: 1rem 1.5rem;
    background: var(--gray-light);
    border-top: 1px solid #e5e7eb;
}

/* ================================
   BUTTONS
   ================================ */
.btn-golf {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-golf-primary {
    background: var(--primary-green);
    color: var(--white);
}

.btn-golf-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-golf-gold {
    background: var(--gold);
    color: var(--dark-green);
}

.btn-golf-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-golf-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-golf-outline:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--dark-green);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    color: var(--dark-green);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ================================
   ANIMATIONS
   ================================ */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content p {
        font-size: 0.9rem !important;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    .btn-hero {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }
    
    .btn-golf {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .card-golf-title {
        font-size: 1.2rem;
    }
    
    .card-golf-text {
        font-size: 0.9rem;
    }
    
    .card-golf-meta {
        font-size: 0.8rem;
    }
    
    .card-golf-category {
        font-size: 0.75rem;
        padding: 0.2rem 0.8rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 1rem !important;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .footer h5 {
        font-size: 1.1rem;
    }
    
    .footer {
        font-size: 0.9rem;
    }
    
    .stat-box h3 {
        font-size: 2rem !important;
    }
    
    .stat-box p {
        font-size: 0.9rem !important;
    }
    
    .stat-box i {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 13px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .btn-hero {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .card-golf-title {
        font-size: 1.1rem;
    }
}