/* Global Variables & Premium Theme */
@import 'filters.css';
@import 'cards.css';
@import 'details.css';
@import 'animations.css';

:root {
    /* Premium Palette - Nature & Luxury */
    --primary-color: #003B03;
    /* Deep Forest Green */
    --primary-light: #24a21b;
    /* Color 2: Green */
    --primary-dark: #002602;
    /* Darker shade */
    --secondary-color: #eadbb2;
    /* Color 3: Beige */
    --accent-color: #b37e1f;
    /* Color 4: Gold/Brown */

    --bg-body: #ffffff;
    --bg-offset: #f8faf9;
    /* Smoother off-white */
    --bg-card: #ffffff;

    --text-main: #1d1d1f;
    /* Soft Black */
    --text-muted: #6e6e73;
    /* Reduced contrast gray */
    --text-light: #a1a1a6;

    /* Modern Spacing & Depth */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 30px 60px -12px rgba(0, 59, 3, 0.15);
    /* Deep branded shadow */

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;

    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;

    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.glass-badge {
    background: none !important;
}

.glass-badge.animate-up.animate-on-scroll.is-visible {
    font-size: 24px;
}

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    font-weight: 700;
    font-size: 3.5rem;
}

h2 {
    font-weight: 600;
    font-size: 2.8rem;
}

h3 {
    font-weight: 600;
    font-size: 1.8rem;
}

h4 {
    font-weight: 600;
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(26, 66, 42, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 66, 42, 0.3);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img {
    height: 50px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: var(--shadow-premium);
    border-radius: var(--radius-sm);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    color: var(--text-main) !important;
}

.dropdown-menu a:hover {
    background: var(--bg-offset);
    color: var(--primary-color) !important;
    padding-left: 30px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 85vh !important;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f0f0f0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-body) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 59, 3, 0.6) 0%, rgba(26, 66, 42, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 60px;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 25px;
}

.separator {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 30px;
    border-radius: 4px;
}

.bg-offset {
    background-color: var(--bg-offset);
}

.bg-light {
    background-color: #fafbfb;
}

/* Background Textures - Optimized */
.bg-beige {
    background-image: url('../img/bg/beige.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.4);
}

.bg-green {
    background-image: url('../img/bg/green.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.bg-green::before,
.bg-beige::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.bg-green>.container,
.bg-beige>.container {
    position: relative;
    z-index: 2;
}

/* Grid & Cards */
.grid {
    display: grid;
    gap: 40px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.filter-bar {
    display: inline-flex;
    justify-content: center;
    background: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 60px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 12px 30px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 59, 3, 0.2);
}

/* Forms */
.form-control {
    width: 100%;
    padding: 18px 25px;
    border-radius: var(--radius-sm);
    border: 1px solid #e0e0e0;
    background: #fafafa;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 59, 3, 0.05);
}

/* VM Box */
.vm-box {
    background: white;
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--accent-color);
}

/* Milestones */
.milestone {
    position: relative;
    padding-left: 60px;
    margin-bottom: 60px;
    border-left: 2px solid rgba(179, 126, 31, 0.2);
}

.milestone::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 4px solid white;
    box-shadow: 0 0 0 1px var(--accent-color);
}

/* Contact Info */
.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 59, 3, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* Footer (Updated) */
.footer {
    background: var(--primary-dark);
    color: #d0d6d3;
    padding: 100px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
}

.footer h4 {
    color: white;
    font-family: var(--font-heading);
    margin-bottom: 30px;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.footer-links a {
    color: #d0d6d3;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(10px);
}


.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--radius-sm);
    padding: 15px;
    width: 100%;
}

.newsletter-btn {
    padding: 15px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-sm);
    width: 100%;
    margin-top: 10px;
    font-weight: 700;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 30, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    max-width: 550px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: var(--shadow-premium);
    /* Animation handled in JS or parent class */
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

/* Floating Chat */
.floating-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
    z-index: 999;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    opacity: 0;
    /* Animated in by main.js */
    transform: translateY(20px);
}

.floating-chat.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-chat:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
    background: #1da851;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease;
        box-shadow: var(--shadow-lg);
        padding: 40px;
        z-index: 1002;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1003;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Premium Contact Card Overlay */
.contact-card-premium {
    display: grid;
    grid-template-columns: 2fr 3fr;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px rgba(0, 59, 3, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.contact-info-side {
    background: var(--primary-color);
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.contact-info-side::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.info-item {
    display: flex;
    gap: 20px;
}

/* Guide Slider - Premium Infinite Loop with Fade */
.guide-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}



.guide-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 10px;
    /* For Owl margin */
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.guide-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guide-card:hover .guide-image img {
    transform: scale(1.05);
}

.guide-content {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guide-title {
    color: #b8860b;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
    text-transform: uppercase;
}

.guide-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}



.info-item .icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.info-item .text-wrap span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 5px;
}

.info-item .text-wrap p {
    font-size: 1.1rem;
    color: white;
    margin: 0;
    line-height: 1.4;
}

.social-connect .social-icons {
    display: flex;
    gap: 15px;
}

.social-connect a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-connect a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.contact-form-side {
    padding: 60px;
    background: white;
}

@media (max-width: 900px) {
    .contact-card-premium {
        grid-template-columns: 1fr;
    }

    .contact-info-side {
        padding: 40px;
    }

    .contact-form-side {
        padding: 40px;
    }
}