/* Srixon - Golf Equipment (Lumiere-style, golf green/gold theme) */

/* ===== FONTS ===== */
body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.font-display {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.font-body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== THEME COLORS (golf green / gold) ===== */
/* Primary: Golf green */
.bg-primary { background-color: #15803d; }
.bg-primary\/5 { background-color: rgba(21, 128, 61, 0.05); }
.bg-primary\/10 { background-color: rgba(21, 128, 61, 0.1); }
.bg-primary\/20 { background-color: rgba(21, 128, 61, 0.2); }
.bg-primary\/30 { background-color: rgba(21, 128, 61, 0.3); }
.text-primary { color: #15803d; }
.text-primary-foreground { color: #fff; }

/* Accent: Gold / amber */
.bg-accent { background-color: #ca8a04; }
.bg-accent\/10 { background-color: rgba(202, 138, 4, 0.1); }
.bg-accent\/15 { background-color: rgba(202, 138, 4, 0.15); }
.bg-accent\/20 { background-color: rgba(202, 138, 4, 0.2); }
.text-accent { color: #ca8a04; }

/* Foreground / background */
.bg-background { background-color: #fafaf9; }
.text-foreground { color: #1c1917; }
.text-muted-foreground { color: #57534e; }
.border-border { border-color: #e7e5e4; }
.border-muted-foreground\/50 { border-color: rgba(87, 83, 78, 0.5); }

/* ===== LAYOUT ===== */
.container-custom {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-custom { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
    .container-custom { padding-left: 2rem; padding-right: 2rem; }
}

.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* ===== GLASS CARD ===== */
.glass-card {
    background-color: rgba(250, 250, 249, 0.85);
    border: 1px solid rgba(231, 229, 228, 0.8);
    border-radius: 1rem;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}

/* ===== BUTTONS ===== */
.glass-button {
    background-color: rgba(250, 250, 249, 0.6);
    border: 1px solid rgba(231, 229, 228, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.glass-button:hover {
    background-color: rgba(250, 250, 249, 0.9);
}

.gradient-button {
    position: relative;
    background: linear-gradient(135deg, #15803d 0%, #ca8a04 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: opacity 0.2s, transform 0.2s;
}

.gradient-button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.gradient-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== TEXT GRADIENT ===== */
.text-gradient {
    background: linear-gradient(135deg, #15803d 0%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-light {
    background: linear-gradient(135deg, #86efac 0%, #fde047 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-teal-200 {
    color: #bbf7d0;
}

/* ===== LINK UNDERLINE ===== */
.link-underline {
    position: relative;
}

.link-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}

/* ===== HOVER LIFT ===== */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ===== LIQUID BLOB ===== */
.liquid-blob {
    position: absolute;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(40px);
    pointer-events: none;
    animation: liquidBlob 15s ease-in-out infinite;
}

@keyframes liquidBlob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0, 0); }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(2%, 2%); }
    50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; transform: translate(-1%, 1%); }
    75% { border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%; transform: translate(1%, -2%); }
}

/* ===== STAT NUMBER ===== */
.stat-number {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: #1c1917;
}

@media (min-width: 768px) {
    .stat-number { font-size: 3rem; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-600 { animation-delay: 0.6s; }

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== HEADER ===== */
#header:not(.scrolled) .header-brand {
    color: #fff;
}

#header:not(.scrolled) .header-brand .text-gradient {
    background: linear-gradient(135deg, #86efac 0%, #fde047 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#header:not(.scrolled) .header-nav-link {
    color: rgba(255, 255, 255, 0.9);
}

#header:not(.scrolled) .header-nav-link:hover {
    color: #fff;
}

#header:not(.scrolled) .header-burger {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

#header:not(.scrolled) .header-burger:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

#header:not(.scrolled) .header-brand img {
    filter: invert(1);
}

#header.scrolled .header-nav-link {
    color: #57534e;
}

#header.scrolled .header-nav-link:hover {
    color: #1c1917;
}

#header.scrolled .header-brand .text-gradient {
    background: linear-gradient(135deg, #15803d 0%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#header.scrolled {
    background-color: rgba(250, 250, 249, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

#mobile-menu.open {
    max-height: 500px !important;
    opacity: 1 !important;
}

/* ===== FAQ ACCORDION ===== */
.faq-content {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-content.collapsed {
    max-height: 0 !important;
    opacity: 0;
    overflow: hidden;
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

/* ===== FOCUS / ACCESSIBILITY ===== */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #15803d;
    outline-offset: 2px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

::selection {
    background-color: #15803d;
    color: white;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
