/* ================= GLOBAL STYLES ================= */
/* This file ensures consistency across all pages */

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

/* ================= CSS VARIABLES ================= */
:root {
    /* Colors */
    --primary-green: #1f513a;
    --primary-green-dark: #163d2c;
    --primary-green-light: #2d5c46;
    --accent-green: #38644f;
    --bright-green: #2bb24c;
    --beige: #f1ede4;
    --beige-dark: #d9d4cb;
    --gray-light: #f3f4f3;
    --gray-medium: #6b7280;
    --gray-dark: #2d2d2d;
    --text-primary: #1f2d2a;
    --text-secondary: #6b7478;
    --white: #ffffff;
    --black: #000000;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
    --font-size-4xl: 28px;
    --font-size-5xl: 32px;
    --font-size-6xl: 36px;
    --font-size-7xl: 40px;
    --font-size-8xl: 45px;
    --font-size-9xl: 48px;
    --font-size-10xl: 60px;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 20px;
    --spacing-xl: 24px;
    --spacing-2xl: 32px;
    --spacing-3xl: 40px;
    --spacing-4xl: 48px;
    --spacing-5xl: 60px;
    --spacing-6xl: 80px;
    --spacing-7xl: 100px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 30px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 10px 25px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ================= RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: var(--font-family);
    cursor: pointer;
    border: none;
    outline: none;
    transition: all var(--transition-base);
}

button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* ================= UTILITY CLASSES ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.container-wide {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* ================= BUTTONS ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 14px 28px;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    text-align: center;
}

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

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

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

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

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

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

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

.btn-white:hover {
    background-color: var(--gray-light);
}

/* ================= CARDS ================= */
.card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

/* ================= BADGES ================= */
.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-medium);
    margin-bottom: var(--spacing-md);
}

/* ================= SECTIONS ================= */
.section {
    padding: var(--spacing-7xl) 0;
}

.section-sm {
    padding: var(--spacing-5xl) 0;
}

.section-lg {
    padding: var(--spacing-7xl) 0;
}

.section-title {
    font-size: var(--font-size-6xl);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.2;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-medium);
    line-height: 1.8;
    max-width: 700px;
}

/* ================= GRID LAYOUTS ================= */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-3xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-2xl);
}

/* ================= RESPONSIVE GRID ================= */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: var(--spacing-5xl) 0;
    }
    
    .section-title {
        font-size: var(--font-size-4xl);
    }
}

/* ================= COMING SOON MODAL ================= */
.coming-soon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.coming-soon-overlay.active {
    opacity: 1;
    visibility: visible;
}

.coming-soon-modal {
    background-color: var(--white);
    padding: var(--spacing-5xl);
    border-radius: var(--radius-2xl);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.coming-soon-overlay.active .coming-soon-modal {
    transform: scale(1);
}

.coming-soon-modal h2 {
    font-size: var(--font-size-3xl);
    color: var(--primary-green);
    margin-bottom: var(--spacing-md);
}

.coming-soon-modal p {
    font-size: var(--font-size-lg);
    color: var(--gray-medium);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.coming-soon-modal .btn {
    min-width: 150px;
}

/* ================= ACCESSIBILITY ================= */
/* Only show focus ring for keyboard navigation — not mouse clicks */
:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--accent-green);
    outline-offset: 2px;
}

/* ================= RESPONSIVE NAV & SIDE MENU ================= */
:root {
    --lime-green: #c1e166; /* The accent color from the reference */
    --menu-bg: #0a1410;    /* Very dark green/black */
    --menu-item-hover: rgba(193, 225, 102, 0.1);
}

/* HAMBURGER TRIGGER */
.hamburger-menu {
    display: none;
    width: 50px;
    height: 50px;
    background-color: var(--lime-green);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.hamburger-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--black);
    transition: all 0.3s ease;
}

/* SIDE MENU OVERLAY */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* SIDE MENU PANEL */
.side-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--menu-bg);
    z-index: 2001;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    padding: 30px;
    color: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay.active .side-menu-panel {
    right: 0;
}

/* MENU HEADER */
.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.side-menu-logo img {
    height: 35px;
}

.side-menu-close {
    width: 50px;
    height: 50px;
    background-color: var(--lime-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--black);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.side-menu-close:hover {
    transform: rotate(90deg);
}

/* MENU NAV */
.side-menu-nav {
    flex: 1;
    overflow-y: auto;
}

.side-menu-nav ul {
    list-style: none;
    padding: 0;
}

.side-menu-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-menu-nav ul li a, 
.side-menu-nav ul li .menu-expand-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    transition: color 0.3s ease;
}

.side-menu-nav ul li a:hover,
.side-menu-nav ul li .menu-expand-btn:hover {
    color: var(--lime-green);
}

/* ACCORDION / SUBMENU */
.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background-color: rgba(255, 255, 255, 0.03);
    margin: 0 -30px;
    padding: 0 30px;
}

.submenu.active {
    max-height: 500px;
    transition: max-height 0.5s ease-in-out;
    padding-bottom: 20px;
}

.submenu ul li {
    border-bottom: none;
}

.submenu ul li a {
    padding: 12px 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.menu-expand-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.menu-expand-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 50%;
}

.menu-expand-btn.active i {
    transform: rotate(180deg);
}

/* MENU FOOTER (Removed) */

/* RESPONSIVE OVERRIDES */
@media (max-width: 1024px) {
    .navMainList, .navContactButton {
        display: none !important;
    }

    .hamburger-menu {
        display: flex !important;
        margin: 0 !important;
    }

    .navbarCon {
        padding: 10px 20px !important;
        width: 92% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .imagesNavConList {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .imageList {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        width: auto !important;
        margin: 0 !important;
    }

    .imagesNavConList .imageList img {
        height: 30px !important;
        width: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .side-menu-panel {
        max-width: 100%;
    }
}

/* Body lock */
body.menu-open {
    overflow: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ================= PRINT STYLES ================= */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
    }
}
