/* ===================================
   OMER RANCH - PROFESSIONAL STYLE
   Inspired by James Bigley Ranches
   =================================== */

:root {
    /* ===================================
       PROFESSIONAL COLOR GRADING SYSTEM
       =================================== */
    
    /* Primary Green Palette - Refined & Graded */
    --primary-green: #2d5016;
    --primary-green-light: #3d6b1f;
    --primary-green-lighter: #4d7a28;
    --primary-green-dark: #1f380f;
    --primary-green-darker: #152008;
    
    /* Forest Green Palette */
    --forest-green: #3d6b1f;
    --forest-green-light: #4d7a28;
    --forest-green-lighter: #5d8a35;
    --forest-green-dark: #2d5016;
    --forest-green-darker: #1f380f;
    
    /* Sage Green Palette */
    --sage-green: #6b9d4e;
    --sage-green-light: #7aad5d;
    --sage-green-lighter: #8abd6c;
    --sage-green-dark: #5a8d3f;
    --sage-green-darker: #497d2f;
    
    /* Light Green Palette */
    --light-green: #8fbc8f;
    --light-green-light: #9fcc9f;
    --light-green-lighter: #afdcaf;
    --light-green-dark: #7fac7f;
    --light-green-darker: #6f9c6f;
    
    /* Earth Tones - Refined */
    --earth-brown: #6b4423;
    --earth-brown-light: #7a5432;
    --earth-brown-lighter: #896441;
    --earth-brown-dark: #5a3414;
    --earth-brown-darker: #492405;
    
    --bark-brown: #4a3728;
    --bark-brown-light: #5a4738;
    --bark-brown-lighter: #6a5748;
    --bark-brown-dark: #3a2718;
    --bark-brown-darker: #2a1708;
    
    /* Neutral Palette - Enhanced */
    --cream: #f5f5dc;
    --cream-light: #fafaf0;
    --cream-dark: #e8e8d0;
    --white: #ffffff;
    --white-soft: #fafafa;
    --white-warm: #fefefe;
    
    /* Text Colors - Improved Contrast */
    --text-dark: #2c1810;
    --text-dark-soft: #3d2818;
    --text-medium: #5a4a3a;
    --text-light: #ffffff;
    --text-light-soft: #f5f5f5;
    
    /* Gray Scale - Refined */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Legacy Gray (for compatibility) */
    --gray-light: var(--gray-100);
    --gray-medium: var(--gray-300);
    
    /* Accent Colors */
    --accent-gold: #d4af37;
    --accent-gold-light: #e4bf47;
    --accent-gold-lighter: #f4cf57;
    --accent-gold-dark: #c49f27;
    --accent-gold-darker: #b48f17;
    
    /* Color Grading Overlays */
    --overlay-dark: rgba(45, 80, 22, 0.8);
    --overlay-medium: rgba(45, 80, 22, 0.5);
    --overlay-light: rgba(45, 80, 22, 0.2);
    --overlay-warm: rgba(107, 68, 35, 0.3);
    --overlay-cool: rgba(61, 107, 31, 0.2);
    
    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--forest-green) 100%);
    --gradient-primary-reverse: linear-gradient(135deg, var(--forest-green) 0%, var(--primary-green) 100%);
    --gradient-warm: linear-gradient(135deg, var(--earth-brown) 0%, var(--bark-brown) 100%);
    --gradient-cool: linear-gradient(135deg, var(--sage-green) 0%, var(--light-green) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(45, 80, 22, 0.4) 0%, rgba(61, 107, 31, 0.3) 50%, rgba(107, 157, 78, 0.2) 100%);
    
    /* Shadow Colors - Color Graded */
    --shadow-sm: 0 2px 4px rgba(45, 80, 22, 0.1);
    --shadow-md: 0 4px 8px rgba(45, 80, 22, 0.15);
    --shadow-lg: 0 8px 16px rgba(45, 80, 22, 0.2);
    --shadow-xl: 0 12px 24px rgba(45, 80, 22, 0.25);
    --shadow-2xl: 0 16px 32px rgba(45, 80, 22, 0.3);
    --shadow-colored: 0 8px 24px rgba(45, 80, 22, 0.4);
    
    /* Border Colors */
    --border-light: rgba(107, 157, 78, 0.2);
    --border-medium: rgba(107, 157, 78, 0.4);
    --border-dark: rgba(45, 80, 22, 0.6);
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
    --transition-fast: all 0.15s ease;
    
    /* Color Grading Filters */
    --filter-warm: brightness(1.05) contrast(1.1) saturate(1.2);
    --filter-cool: brightness(0.95) contrast(1.05) saturate(0.9);
    --filter-vibrant: brightness(1.1) contrast(1.15) saturate(1.3);
    --filter-muted: brightness(0.9) contrast(0.95) saturate(0.8);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-blur: blur(10px);
}

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

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body.loading {
    overflow: hidden;
}

/* ===================================
   SCROLL PROGRESS BAR
   =================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--sage-green), var(--accent-gold));
    z-index: 10001;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(45, 80, 22, 0.3);
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-colored);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-2xl);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

/* ===================================
   SECTION DIVIDERS
   =================================== */

.section-divider {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-divider.top {
    top: 0;
    transform: rotate(180deg);
}

.section-divider.bottom {
    bottom: 0;
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.section-divider .shape-fill {
    fill: var(--white);
}

/* ===================================
   LOADING SCREEN
   =================================== */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-green);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    display: none !important;
}

.loading-content {
    text-align: center;
    color: var(--white);
}

.logo-container {
    margin-bottom: 40px;
    position: relative;
}

.loading-logo {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    animation: logoPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    transition: all 0.3s ease;
}

/* Optional: Uncomment below for rotating logo animation */
/* .loading-logo {
    animation: logoPulse 2s ease-in-out infinite, logoRotate 3s linear infinite;
} */

.logo-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-text-large {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 4px;
    animation: logoGlow 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 20px;
}

.loading-progress {
    height: 100%;
    background: var(--white);
    border-radius: 2px;
    width: 0%;
    animation: loadingProgress 2s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.loading-text {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: loadingTextPulse 1.5s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 50px rgba(255, 255, 255, 0.5);
    }
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes loadingTextPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* ===================================
   TEXT ANIMATIONS
   =================================== */

/* Fade In Up */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-up-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.animate-fade-in-up-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* Slide In Left */
.animate-slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out 0.4s forwards;
}

/* Slide In Right */
.animate-slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out forwards;
}

/* Slide In Up */
.animate-slide-in-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease-out forwards;
}

/* Typewriter Effect */
.animate-typewriter {
    overflow: hidden;
    border-right: 3px solid var(--white);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 2px;
    animation: typewriter 2s steps(10, end) 0.5s forwards, blinkCursor 0.75s step-end infinite;
    opacity: 0;
}

.animate-typewriter.complete {
    border-right: none;
    animation: none;
}

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

/* Scale In */
.animate-scale-in {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.8s ease-out forwards;
}

/* Rotate In */
.animate-rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    animation: rotateIn 0.8s ease-out forwards;
}

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

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

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

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

@keyframes typewriter {
    from {
        width: 0;
        opacity: 1;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

@keyframes blinkCursor {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--white);
    }
}

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

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Scroll-triggered animations */
[data-scroll] .animate-fade-in-up,
[data-scroll] .animate-fade-in-up-delay,
[data-scroll] .animate-fade-in-up-delay-2,
[data-scroll] .animate-slide-in-left,
[data-scroll] .animate-slide-in-right,
[data-scroll] .animate-slide-in-up {
    opacity: 0;
}

[data-scroll].visible .animate-fade-in-up,
[data-scroll].visible .animate-fade-in-up-delay,
[data-scroll].visible .animate-fade-in-up-delay-2,
[data-scroll].visible .animate-slide-in-left,
[data-scroll].visible .animate-slide-in-right,
[data-scroll].visible .animate-slide-in-up {
    animation-play-state: running;
}

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

/* ===================================
   NAVIGATION
   =================================== */

.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary-green);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: none;
}

.nav-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 1px;
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
    padding: 5px 0;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px 40px 100px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    will-change: transform;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.75) contrast(1.15) saturate(1.2);
    transition: filter 0.6s ease, transform 0.1s ease-out;
    will-change: transform;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(45, 80, 22, 0.75) 0%,
        rgba(45, 80, 22, 0.55) 30%,
        rgba(61, 107, 31, 0.45) 60%,
        rgba(107, 157, 78, 0.35) 100%
    );
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    z-index: 2;
    position: relative;
    width: 100%;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(45, 80, 22, 0.95);
    color: var(--text-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 25px;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease-out, badgePulse 2s ease-in-out 1s infinite;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.4);
}

.hero-badge::before {
    content: '⭐';
    font-size: 14px;
    animation: badgeIconSpin 3s linear infinite;
}

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

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(45, 80, 22, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(45, 80, 22, 0.6);
    }
}

@keyframes badgeIconSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 3px;
    line-height: 1.1;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(45, 80, 22, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 25px;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.8),
        2px 2px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.4s both;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    max-width: 750px;
    margin: 0 auto 40px;
    font-weight: 400;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.8),
        2px 2px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 50px 0;
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-item {
    background: rgba(255, 255, 255, 0.98);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(107, 157, 78, 0.2);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 157, 78, 0.15), transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover::after {
    width: 300px;
    height: 300px;
}

.stat-item:hover {
    transform: translateY(-8px) rotateX(2deg) scale(1.03);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(107, 157, 78, 0.4);
    background: var(--white);
    border-color: var(--sage-green);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.2) rotateY(360deg);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 8px;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--forest-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 50px;
    background: var(--gradient-primary);
    color: var(--text-light);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(45, 80, 22, 0.5),
        0 0 0 3px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: none;
    margin-top: 20px;
    animation: fadeInUp 1s ease-out 1s both, ctaPulse 2.5s ease-in-out 1.5s infinite;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary-reverse);
    transition: left 0.5s ease;
    z-index: 0;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(45, 80, 22, 0.6),
        0 0 0 3px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover::after {
    width: 400px;
    height: 400px;
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

.button-arrow {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(8px);
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(45, 80, 22, 0.5),
            0 0 0 3px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 10px 30px rgba(45, 80, 22, 0.7),
            0 0 0 6px rgba(255, 255, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

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

/* ===================================
   SCROLL INDICATOR
   =================================== */

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 0.7;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 8px;
    gap: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    background: rgba(45, 80, 22, 0.2);
}

.scroll-arrow span {
    display: block;
    width: 6px;
    height: 6px;
    border-left: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(-45deg);
    animation: scrollDown 2s infinite;
}

.scroll-arrow span:nth-child(1) {
    animation-delay: 0s;
}

.scroll-arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: rotate(-45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(-45deg) translate(5px, 5px);
    }
}

/* ===================================
   SECTIONS
   =================================== */

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-green);
    color: var(--text-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--forest-green);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

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

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(107, 157, 78, 0.1), transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.feature-item:hover::after {
    transform: scale(1);
}

.feature-item:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
    border-color: var(--sage-green);
    background: var(--white-soft);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2) rotateY(360deg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
}

/* ===================================
   PROPERTY SECTION
   =================================== */

.property-section {
    background: var(--white);
}

.property-grid {
    margin-bottom: 60px;
}

.property-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(107, 157, 78, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.property-card:hover::before {
    opacity: 1;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.property-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.property-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.property-card:hover .property-image::after {
    opacity: 1;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0.95) contrast(1.05) saturate(1.1);
}

.property-card:hover .property-image img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1) contrast(1.1) saturate(1.2);
}

.property-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    background: var(--primary-green);
    color: var(--text-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
}

.property-info {
    padding: 40px;
}

.property-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.property-price {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--earth-brown);
    margin-bottom: 25px;
}

.property-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-medium);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 12px;
    color: var(--forest-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 600;
}

.property-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.property-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px;
    background: var(--gray-light);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon-large {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-box h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

/* ===================================
   ACTIVITIES SECTION
   =================================== */

.activities-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.activity-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.activity-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(107, 157, 78, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.activity-card:hover {
    transform: translateY(-8px) translateZ(20px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--sage-green);
}

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

.activity-card:hover::after {
    opacity: 1;
}

.activity-icon {
    font-size: 56px;
    margin-bottom: 20px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
    position: relative;
    z-index: 1;
}

.activity-card:hover .activity-icon {
    transform: scale(1.15) rotateZ(5deg);
}

.activity-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.activity-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.activity-card > p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.activity-features {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid var(--gray-medium);
}

.activity-features li {
    font-size: 15px;
    color: var(--forest-green);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.activity-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

/* ===================================
   VISIT SECTION
   =================================== */

.visit-section {
    background: var(--white);
}

.visit-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.visit-form {
    background: var(--white-soft);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.visit-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
}

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

.submit-button {
    width: 100%;
    padding: 16px;
    background: var(--primary-green);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(45, 80, 22, 0.3);
    margin-top: 10px;
}

.submit-button:hover {
    background: var(--forest-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.4);
}

.btn-arrow {
    font-size: 20px;
    transition: var(--transition);
}

.submit-button:hover .btn-arrow {
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--white-soft);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sage-green);
}

.info-card.highlight {
    background: linear-gradient(135deg, rgba(107, 157, 78, 0.1), rgba(143, 188, 143, 0.1));
    border: 2px solid var(--primary-green);
    box-shadow: var(--shadow-colored);
}

.info-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.info-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.contact-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: var(--white);
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    background: var(--primary-green);
    color: var(--white);
}

.contact-icon {
    font-size: 20px;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 60px 40px 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    opacity: 0.3;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
}

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

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--light-green);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.footer-column a {
    display: block;
    color: var(--light-green);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-column p {
    font-size: 14px;
    color: var(--light-green);
    margin-bottom: 8px;
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(143, 188, 143, 0.3);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--light-green);
    margin-bottom: 5px;
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */

[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   SUCCESS MESSAGE
   =================================== */

.success-message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 20px 30px;
    background: var(--primary-green);
    color: var(--text-light);
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    z-index: 10000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.5s ease-out;
}

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

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--white);
        width: 280px;
        padding: 40px 30px;
        gap: 25px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--gray-medium);
        height: calc(100vh - 70px);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .property-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .nav-content {
        padding: 15px 20px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 100px 20px 80px;
    }
    
    .hero-title {
        font-size: 42px;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
        max-width: 90%;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 8px 20px;
    }
    
    .hero-badge::before {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 400px;
    }
    
    .stat-item {
        padding: 30px 20px;
    }
    
    .stat-icon {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 46px;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 16px;
    }
    
    .scroll-indicator {
        bottom: 30px;
    }
    
    .scroll-arrow {
        width: 28px;
        height: 46px;
    }
    
    .property-details {
        grid-template-columns: 1fr;
    }
    
    .property-features {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 15px 70px;
    }
    
    .hero-title {
        font-size: 32px;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-badge {
        font-size: 10px;
        padding: 7px 16px;
        gap: 6px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-stats {
        max-width: 320px;
    }
    
    .stat-item {
        padding: 25px 20px;
    }
    
    .stat-icon {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .cta-button {
        padding: 16px 35px;
        font-size: 15px;
    }
    
    .scroll-indicator {
        bottom: 25px;
    }
    
    .scroll-arrow {
        width: 26px;
        height: 42px;
    }
    
    .property-info {
        padding: 25px;
    }
    
    .activity-card {
        padding: 25px;
    }
    
    .visit-form {
        padding: 25px;
    }
}
