/* ============================================
   AVPS Vanatorul si Pescarul Prahova - Premium Redesign
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-primary: #2D5016;
    --color-primary-dark: #1a3a0a;
    --color-primary-light: #4a7a2e;
    --color-secondary: #8B6914;
    --color-secondary-light: #a8842a;
    --color-accent: #C4A035;
    --color-accent-light: #E8D48B;
    --color-bg-light: #F5F0E8;
    --color-bg-cream: #FAF7F0;
    --color-bg-dark: #1C1410;
    --color-bg-wood: #2A1F17;
    --color-bg-card: rgba(255,255,255,0.95);
    --color-text-dark: #2C2C2C;
    --color-text-light: #F5F0E8;
    --color-text-muted: #7A7A7A;
    --color-border: #D4C5A9;
    --color-glass: rgba(26, 20, 16, 0.85);
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
    --max-width: 1200px;
    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
    --shadow-gold: 0 4px 20px rgba(196, 160, 53, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-cream);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    line-height: 1.3;
}

/* --- Keyframe Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(196, 160, 53, 0.3); }
    50% { box-shadow: 0 0 20px rgba(196, 160, 53, 0.6); }
}

@keyframes breathe {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Scroll animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Decorative Elements --- */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.ornament::before,
.ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.ornament-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light), var(--color-accent));
    margin: 15px auto;
    border-radius: 2px;
}

/* --- Wood Texture Background --- */
.wood-bg {
    background-color: var(--color-bg-wood);
    background-image:
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 50%, rgba(0,0,0,0.2) 100%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(0,0,0,0.03) 50px,
            rgba(0,0,0,0.03) 51px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 8px,
            rgba(0,0,0,0.015) 8px,
            rgba(0,0,0,0.015) 9px
        );
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    gap: 20px;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--color-text-light);
    transition: all var(--transition);
}

.logo-link:hover {
    color: var(--color-accent);
    transform: scale(1.02);
}

.logo-img {
    width: 75px;
    height: 75px;
    transition: all var(--transition);
    filter: drop-shadow(0 2px 6px rgba(196, 160, 53, 0.3));
}

.logo-link:hover .logo-img {
    filter: drop-shadow(0 2px 12px rgba(196, 160, 53, 0.6));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--color-text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

/* --- Main Navigation --- */
.main-nav {
    background-color: var(--color-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(196, 160, 53, 0.4);
    border-bottom: 1px solid rgba(196, 160, 53, 0.4);
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 22px;
    color: var(--color-text-light);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
}

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

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

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-link.active {
    color: var(--color-accent);
}

/* --- Dropdown Menu --- */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    background: var(--color-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(196, 160, 53, 0.2);
    border-top: 2px solid var(--color-accent);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    list-style: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    animation: slideDown 0.3s ease;
}

.nav-item:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 24px;
    color: rgba(245, 240, 232, 0.85);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
}

.dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(196, 160, 53, 0.15), transparent);
    transition: width var(--transition);
}

.dropdown-menu li a:hover::before {
    width: 100%;
}

.dropdown-menu li a:hover {
    color: var(--color-accent);
    padding-left: 30px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 6px 0;
    transition: all var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.hero-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Forest silhouette layers */
.hero-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-trees-back {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    opacity: 0.6;
}

.hero-trees-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    opacity: 0.8;
}

.hero-sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        #0a1628 0%,
        #1a2a3a 20%,
        #2a4a3a 40%,
        #3a5a2a 60%,
        #1a3a0a 80%,
        #0d1f06 100%
    );
    z-index: 1;
}

/* Animated stars */
.hero-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: breathe 3s ease-in-out infinite;
}

/* Fog effect */
.hero-fog {
    position: absolute;
    bottom: 15%;
    left: -10%;
    width: 120%;
    height: 30%;
    background: linear-gradient(
        to top,
        rgba(245, 240, 232, 0.06),
        transparent
    );
    z-index: 5;
    animation: breathe 8s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.5) 100%
    );
    z-index: 6;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 20px;
    max-width: 850px;
    animation: fadeInUp 1.2s ease;
}

.hero-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 15px rgba(196, 160, 53, 0.4));
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
    letter-spacing: 2px;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light), var(--color-accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(245, 240, 232, 0.85);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--color-accent);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    animation: fadeIn 2s ease 1s both;
}

.hero-scroll span {
    display: block;
    margin-top: 8px;
    width: 20px;
    height: 30px;
    border: 2px solid var(--color-accent);
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.hero-scroll span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: float 1.5s ease-in-out infinite;
}

/* --- Page Hero (smaller, for subpages) --- */
.page-hero {
    min-height: 300px;
    height: auto;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-hero .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(26, 20, 16, 0.7) 0%,
        rgba(26, 58, 10, 0.6) 100%
    );
}

.page-hero .hero-content {
    max-width: 700px;
    padding: 40px 20px;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.page-hero .subtitle {
    margin-bottom: 0;
    color: var(--color-accent-light);
    font-size: 1.1rem;
    font-style: italic;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    animation: none;
    -webkit-text-fill-color: var(--color-accent-light);
    background: none;
}

/* Page hero with background image */
.page-hero-img {
    background-color: var(--color-bg-dark);
}

.page-hero-img .hero-bg {
    opacity: 1;
    background-size: cover;
    background-position: center;
}

/* --- Page content enhanced --- */
.page-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-intro > p:first-child {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-text-dark);
}

.page-intro > p:first-child::first-letter {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    float: left;
    color: var(--color-primary);
    line-height: 0.8;
    margin-right: 8px;
    margin-top: 5px;
}

/* Image banner in content */
.content-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin: 30px 0;
}

.content-image-wide {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

/* Two column with image */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin: 40px 0;
}

.content-split img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Info box */
.info-box {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--color-text-light);
    padding: 30px;
    border-radius: var(--radius-md);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(196,160,53,0.15) 0%, transparent 70%);
}

.info-box h3 {
    color: var(--color-accent);
    margin-bottom: 12px;
}

.info-box p {
    color: rgba(245, 240, 232, 0.9);
    line-height: 1.8;
}

/* Feature list with icons */
.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-list li {
    padding: 20px;
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--color-accent);
    transition: all var(--transition);
}

.feature-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-list li strong {
    display: block;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    flex: 1;
}

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

.section {
    padding: 80px 0;
    position: relative;
}

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

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-text-light);
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ============================================
   FEATURE CARDS (Homepage)
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 197, 169, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
    transform: scaleX(0);
    transition: transform var(--transition-slow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    color: var(--color-primary);
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    color: var(--color-accent);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* ============================================
   SERVICES LIST (redesigned)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-item {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 197, 169, 0.2);
}

.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-item:hover::after {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
}

.service-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Legacy services-list support (for subpages) */
.services-list {
    list-style: none;
}

.services-list li {
    padding: 20px 25px;
    margin-bottom: 15px;
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.services-list li:hover {
    border-left-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.services-list li h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-primary-dark);
}

.services-list li p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ============================================
   ABOUT SECTION (with image)
   ============================================ */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 18px;
    color: var(--color-text-dark);
}

.about-text p:first-child::first-letter {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    float: left;
    color: var(--color-primary);
    line-height: 0.8;
    margin-right: 8px;
    margin-top: 4px;
}

.about-image {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-frame::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(196, 160, 53, 0.3);
    border-radius: calc(var(--radius-lg) - 4px);
    z-index: 2;
    pointer-events: none;
}

.about-scene {
    height: 400px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-scene svg {
    width: 80%;
    height: 80%;
    color: rgba(255,255,255,0.1);
}

/* Floating accent box */
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
    color: var(--color-bg-dark);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-gold);
    z-index: 3;
    text-align: center;
}

.about-badge .badge-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge .badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ============================================
   CARDS (generic)
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    border: 1px solid rgba(212, 197, 169, 0.2);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 200px;
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card-body p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
}

.card-link:hover {
    color: var(--color-primary);
    gap: 10px;
}

.card-link::after {
    content: '\2192';
}

/* ============================================
   TEXT BLOCKS
   ============================================ */
.text-block {
    max-width: 800px;
    margin: 0 auto;
}

.text-block p {
    margin-bottom: 18px;
    font-size: 1.08rem;
    line-height: 1.9;
}

.text-image-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-image-block.reverse {
    direction: rtl;
}

.text-image-block.reverse > * {
    direction: ltr;
}

.image-placeholder {
    height: 300px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
    font-size: 2rem;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
    padding: 35px 20px;
    color: var(--color-text-light);
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
}

/* ============================================
   SPECIES / INFO CARDS
   ============================================ */
.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.species-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.species-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.species-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.species-card h4 {
    font-size: 1rem;
    color: var(--color-primary-dark);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    height: 220px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background-color: var(--color-primary);
}

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

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

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255,255,255,0.3);
    font-size: 2rem;
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition);
}

.lightbox-close:hover {
    color: var(--color-accent);
}

/* ============================================
   NEWS / EVENTS
   ============================================ */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.news-card {
    display: flex;
    gap: 0;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(212, 197, 169, 0.2);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.news-date {
    min-width: 100px;
    padding: 20px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--color-text-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date .day {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    color: var(--color-accent);
}

.news-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0.8;
}

.news-body {
    padding: 20px 25px;
    flex: 1;
}

.news-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.news-body p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--color-primary-dark);
}

.contact-details {
    list-style: none;
}

.contact-details li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 197, 169, 0.3);
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-details .label {
    font-weight: 700;
    min-width: 90px;
    color: var(--color-primary-dark);
    font-size: 0.9rem;
}

.contact-form {
    background: var(--color-bg-card);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 197, 169, 0.2);
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--color-primary-dark);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(212, 197, 169, 0.4);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: rgba(250, 247, 240, 0.5);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(45, 80, 22, 0.1);
    background-color: white;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.map-container {
    margin-top: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* ============================================
   DIRECTIONS
   ============================================ */
.directions {
    margin-top: 40px;
}

.directions h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.direction-item {
    padding: 20px 25px;
    margin-bottom: 12px;
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.direction-item:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-primary);
}

.direction-item h4 {
    font-size: 0.95rem;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.direction-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-text-light);
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.4);
    color: var(--color-text-light);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    color: var(--color-text-light);
    box-shadow: 0 4px 15px rgba(139, 105, 20, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 105, 20, 0.4);
    color: var(--color-text-light);
}

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

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-bg-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(245, 240, 232, 0.6);
    color: var(--color-text-light);
}

.btn-outline-light:hover {
    background: rgba(245, 240, 232, 0.1);
    border-color: var(--color-text-light);
    color: var(--color-text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #1a4a2a 100%);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%23ffffff' 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");
}

.cta-section h2 {
    color: var(--color-text-light);
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-section .btn {
    position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    color: var(--color-text-light);
    margin-top: auto;
    position: relative;
}

.footer-main {
    padding: 50px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid-4 {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
}

.footer-col p,
.footer-col li {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.7);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: rgba(245, 240, 232, 0.7);
    transition: all var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-col ul li a:hover {
    color: var(--color-accent);
    padding-left: 8px;
}

.footer-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(196, 160, 53, 0.3);
    color: var(--color-accent);
    transition: all var(--transition);
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.social-links a:hover {
    background: var(--color-accent);
    color: var(--color-bg-dark);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 20px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(245, 240, 232, 0.4);
}

/* ============================================
   SUBPAGE CONTENT
   ============================================ */
.page-content {
    padding: 60px 0;
}

.page-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
}

.page-content h3 {
    font-size: 1.3rem;
    margin: 25px 0 12px;
    color: var(--color-primary-dark);
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.page-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nav-link {
        padding: 14px 16px;
        font-size: 0.78rem;
    }

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

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

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        position: relative;
    }

    .nav-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 8px 15px;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-glass);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(196, 160, 53, 0.3);
        box-shadow: var(--shadow-lg);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background-color: rgba(0,0,0,0.2);
        transform: none;
        border-top: none;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu li a {
        padding-left: 40px;
        font-size: 0.72rem;
    }

    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .hero-logo {
        width: 110px;
        height: 110px;
    }

    .hero-scroll {
        display: none;
    }

    .page-hero {
        min-height: 220px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero .hero-content {
        padding: 30px 15px;
    }

    .content-split {
        grid-template-columns: 1fr;
    }

    .content-image {
        height: 220px;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .text-image-block {
        grid-template-columns: 1fr;
    }

    .text-image-block.reverse {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .services-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        border-radius: var(--radius-md);
    }

    .news-card {
        flex-direction: column;
    }

    .news-date {
        flex-direction: row;
        gap: 10px;
        min-width: auto;
        padding: 12px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .logo-img {
        width: 55px;
        height: 55px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 15px;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .subtitle {
        font-size: 0.95rem;
    }

    .hero-logo {
        width: 90px;
        height: 90px;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .species-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.5);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   FLOATING PHONE BUTTON
   ============================================ */
.floating-phone {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
    color: var(--color-bg-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(196, 160, 53, 0.4);
    z-index: 900;
    transition: all var(--transition);
    text-decoration: none;
    animation: pulseGlow 3s ease-in-out infinite;
}

.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(196, 160, 53, 0.6);
    color: var(--color-bg-dark);
}

.floating-phone svg {
    width: 26px;
    height: 26px;
}

.floating-phone-tooltip {
    position: absolute;
    right: 68px;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    pointer-events: none;
}

.floating-phone-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--color-bg-dark);
    border-right: none;
}

.floating-phone:hover .floating-phone-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   GDPR COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 20px 30px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 2000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(196, 160, 53, 0.3);
}

.cookie-banner.show {
    display: flex;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner p {
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 700px;
    color: rgba(245, 240, 232, 0.85);
}

.cookie-banner a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 22px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
}

.cookie-accept {
    background: var(--color-accent);
    color: var(--color-bg-dark);
}

.cookie-accept:hover {
    background: var(--color-accent-light);
}

.cookie-decline {
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid rgba(245, 240, 232, 0.3);
}

.cookie-decline:hover {
    border-color: var(--color-text-light);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 18px 20px;
        gap: 15px;
    }

    .floating-phone {
        bottom: 85px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-phone-tooltip {
        display: none;
    }

    .back-to-top {
        bottom: 25px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 100px;
    height: 100px;
    animation: float 2s ease-in-out infinite;
    margin-bottom: 20px;
}

.loader-bar {
    width: 120px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    border-radius: 2px;
    animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 2px solid var(--color-border);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.gallery-masonry {
    columns: 3;
    column-gap: 15px;
}

.gallery-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 15px;
    height: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-masonry .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .gallery-masonry {
        columns: 2;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        columns: 1;
    }
}

/* ============================================
   404 PAGE
   ============================================ */
.page-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: var(--color-bg-cream);
}

.page-404 h1 {
    font-size: 8rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0 rgba(196, 160, 53, 0.2);
}

.page-404 h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.page-404 p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   VALUES / MISSION CARDS
   ============================================ */
.values-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(196, 160, 53, 0.2);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition);
}

.values-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(196, 160, 53, 0.4);
    transform: translateY(-5px);
}

.values-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    color: var(--color-accent);
}

.values-card h3 {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.values-card p {
    color: rgba(245, 240, 232, 0.75);
    font-size: 0.93rem;
    line-height: 1.8;
}

/* Footer 4 columns responsive */
@media (max-width: 1024px) {
    .footer-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid-4 {
        grid-template-columns: 1fr;
    }
}
