/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #D8FD8E; /* Vibrant lime-green accent */
    --secondary: #726958; /* Muted warm-gray */
    --dark: #0D0D0D; /* Deep canvas background */
    --white: #FCFCFC; /* Core body text */
    --light: #F9EFE5; /* Warm cream accent heading */
    --gray: #191919;
    --gray400: #C5C5C5;

    /* Typographic Mappings */
    --font-inter: 'Inter Tight', sans-serif;
    --font-museo: var(--font-inter);
    --font-ahamono: var(--font-inter);

    /* Geometry Tokens */
    --navbar-height: 130px;

    /* offset to scroll detect js */
    --scroll-detect: 130px;
}

@media (max-width: 992px) {
    :root {
        --navbar-height: 80px;
        --scroll-detect: 80px;
    }
}

@media (max-width: 992px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 100%;
    }
}

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

/* Responsive Media Resets */
img,
svg {
    max-width: 100%;
    height: auto;
}

html.lenis {
    scroll-behavior: unset !important;
} 

/* Selecciona cualquier elemento que coincida con el hash actual en la URL */
:target {
    scroll-margin-top: var(--navbar-height);
}


body {
    background-color: var(--dark);
    color: var(--light);
    font-family: var(--font-museo);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base Typographical Alignments */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-museo);
    font-weight: 300;
    letter-spacing: 1px;
}

p {
    font-family: var(--font-museo);
    font-weight: 300;
}

/* General Link Transitions */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Typography Utilities */
.font-museo {
    font-family: var(--font-museo);
}

.font-ahamono {
    font-family: var(--font-ahamono);
}

.font-inter {
    font-family: var(--font-inter);
}

.text-light-color {
    color: var(--light);
}

.text-primary-color {
    color: var(--primary);
}

.text-gray-color {
    color: var(--gray);
}

.text-gray400-color {
    color: var(--gray400);
}

.text-dark-color {
    color: var(--dark);
}

.text-white-color {
    color: var(--white);
}

/* Max Width Helpers */
.max-w-lg-350 {
    max-width: 100%;
}

@media (min-width: 992px) {
    .max-w-lg-350 {
        max-width: 350px;
    }
}


/* Custom Offcanvas Drawer Styles */
.custom-sidebar {
    background-color: var(--dark) !important;
    width: 380px !important;
    max-width: 100% !important;
    /* Prevents overflow scroll-x on smaller mobile screens */
    border-left: 1px solid rgba(197, 197, 197, 0.15) !important;
}

.custom-sidebar .offcanvas-header {
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.btn-close-custom {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0.8;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.btn-close-custom:hover {
    color: var(--primary) !important;
    opacity: 1;
}

.sidebar-nav-item {
    font-size: 18px;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 300;
    display: block;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.sidebar-nav-item:hover {
    color: var(--primary);
}

.sidebar-contact-link {
    color: var(--light);
    font-size: 16px;
    letter-spacing: 1px;
}

.sidebar-contact-link:hover {
    color: var(--primary);
}

/* ==========================================================================
   MODULAR STYLESHEET REFERENCES
   Note: Hero splash styles are modularly located in css/page-header.css
   ========================================================================== */

/* Brand Logo Glow Pulse Animation */
.brand-pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: brandGlowPulse 3.8s ease-in-out infinite;
    transform-origin: center;
    will-change: transform, filter;
}

@keyframes brandGlowPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.15));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.85));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.15));
    }
}


/* main-pageheader */
#main-pageheader {
    position: relative;
    z-index: 100;
}

/* main-content */
#main-content {
    position: relative;
    z-index: 150;
} 