@import 'animations.css';
@import 'sections.css';

:root {
    /* Brand Manual Colors */
    --clr-brand-primary: #7A76B6;   /* PANTONE P 103-12 C */
    --clr-brand-secondary: #515151; /* PANTONE P 179-13 C */
    --clr-brand-accent: #A9ABAE;    /* PANTONE P 100-4 C */

    /* Mappings for usage */
    --clr-primary: #8681D4; /* Slightly more vibrant version of 7A76B6 */
    --clr-primary-dark: #6C66B8;
    --clr-secondary: var(--clr-brand-secondary);
    --clr-accent: var(--clr-brand-accent);
    --clr-glow: rgba(134, 129, 212, 0.4);

    /* Layout & Effects */
    --container-width: 1200px;
    --header-height: 65px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --backdrop-blur: blur(12px);
    --transition: all 0.3s ease;
    --radius-lg: 1.5rem;
    --radius-md: 0.75rem;
    --card-padding: 2.5rem;

    /* Typography: Gotham Alternative */
    --font-main: 'Montserrat', sans-serif;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-bold: 900;

    /* REFINED UNIFIED THEME (Premium Dark) */
    --bg-body: #0F1014;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-hero-ring: rgba(122, 118, 182, 0.1);
    --bg-navbar: rgba(15, 16, 20, 0.95);

    --text-main: #ffffff;
    --text-muted: #A9ABAE;
    --text-logo: #ffffff;

    --border-color: rgba(255, 255, 255, 0.08);

    --grad-glow: radial-gradient(circle at center, rgba(122, 118, 182, 0.3) 0%, transparent 70%);
    --grad-products: linear-gradient(to bottom, var(--bg-body), #15161a);

    /* BOOTSTRAP OVERRIDES */
    --bs-primary: var(--clr-brand-primary);
    --bs-primary-rgb: 122, 118, 182;
    --bs-body-font-family: var(--font-main);
    --bs-body-color: var(--text-main);
    --bs-body-bg: var(--bg-body);
}

.nav-logo-img {
    height: 30px;
    width: auto;
    max-width: 115px;
    object-fit: contain;
    display: block;
}

/* Base Reset & Fixes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll globally */
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    font-weight: var(--fw-regular);
    overflow-x: hidden; /* Double safety */
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-top: var(--header-height); /* Prevent content hiding behind navbar */
}

/* Force Text Colors using Variables (Overrides BS5 utilities) */
.text-primary { color: var(--clr-primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-main { color: var(--text-main) !important; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Text Logo Styles */
.logo-text {
    font-family: var(--font-main);
    font-weight: var(--fw-bold); /* Gotham Black equivalent */
    font-size: 2rem;
    color: var(--text-logo);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Fix alignment between different sized buttons */
    gap: 15px;
    z-index: 9999;
    pointer-events: none;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    text-decoration: none;
    pointer-events: auto;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* --- Button Refinement (Override BS5 Blue) --- */
.btn-primary {
    background-color: var(--clr-brand-primary);
    border-color: var(--clr-brand-primary);
    color: #ffffff;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--clr-primary) !important;
    border-color: var(--clr-primary) !important;
    box-shadow: 0 0 20px var(--clr-glow) !important;
}

.btn-primary:disabled {
    background-color: var(--clr-brand-secondary) !important;
    border-color: var(--clr-brand-secondary) !important;
    opacity: 0.7;
    cursor: not-allowed;
}

/* Very Subtle Pulse Animation for WhatsApp */
@keyframes floatPulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2); }
    50% { transform: scale(1.03); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); } /* Much smaller scale change */
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2); }
}

.btn-whatsapp {
    background: #25D366;
    animation: floatPulse 4s ease-in-out infinite; /* Slower = smoother */
}

.btn-whatsapp:hover {
    animation: none; /* Pause on hover */
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.btn-up {
    background: var(--clr-brand-secondary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    /* Smaller size request */
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
}

.btn-up.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-up:hover {
    background: var(--clr-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Layout Utilities & Other Styles ... (Keeping existing styles below) */

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

@media (min-width: 768px) {
    .section {
        padding: 100px 0;
        scroll-margin-top: 90px;
    }
}

.text-center { text-align: center; }
.text-primary { color: var(--clr-primary); }
.d-none { display: none !important; }
.d-flex { display: flex; }
.gap-2 { gap: 0.5rem; }
.align-items-center { align-items: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: var(--fw-medium);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    transition: var(--transition);
    text-align: center;
}



/* Navbar Link Colors */
.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: var(--fw-medium);
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--clr-primary) !important;
}

/* Mobile Menu Fix */
@media (max-width: 991px) {
    .navbar > .container {
        position: relative; /* Context for absolute collapse */
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        background: var(--bg-navbar);
        backdrop-filter: var(--backdrop-blur);
        padding: 1.5rem;
        margin-top: 0.5rem !important;
        border: 1px solid var(--border-color);
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        border-radius: 1.25rem;
        z-index: 1000;
    }



    .navbar-nav {
        gap: 0.5rem !important;
        margin: 0 !important;
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
        border-radius: 0.75rem;
        width: 100%;
        text-align: left; /* Standard mobile menu alignment */
    }

    .nav-link:hover {
        background: var(--bg-card);
    }
}

/* Icon Button (Theme/Lang) */
.btn-icon {
    width: 40px; /* Fixed equal width */
    height: 40px; /* Fixed equal height */
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-icon:hover {
    color: var(--clr-primary);
    background: var(--bg-hero-ring);
}

/* Typography Overrides */
h1, h2, h3, h4 {
    color: var(--text-main);
    line-height: 1.2;
    font-weight: var(--fw-bold); /* Gotham Black headlines */
}

h1.display {
    font-size: 2.5rem;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    h1.display {
        font-size: 4rem;
    }
}

p.lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    font-weight: var(--fw-regular); /* Gotham Book body */
}

@media (min-width: 768px) {
    p.lead {
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-navbar);
    backdrop-filter: var(--backdrop-blur);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.navbar .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
    flex-shrink: 0; /* Prevent crushing */
}



.nav-group {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Tight gap for mobile to avoid overflow */
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .nav-group {
        gap: 2rem;
    }
}

.nav-links {
    display: none;
    gap: 2.5rem;
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: var(--text-muted);
    font-weight: var(--fw-medium);
    font-size: 0.9rem;
    text-transform: uppercase; /* More corporate */
    letter-spacing: 0.05em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-main);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
}

@media (min-width: 900px) {
    .mobile-toggle {
        display: none;
    }
}

/* Buttons Polish */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    text-align: center;
    line-height: 1;
    position: relative;
    overflow: hidden;
    outline: none !important;
}

@media (min-width: 768px) {
    .hero .btn {
        min-width: 220px;
    }
}

@media (max-width: 576px) {
    .hero .btn {
        width: 100%;
        min-width: 0;
    }
}

.btn-primary {
    background: var(--clr-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(122, 118, 182, 0.4);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: var(--clr-primary-dark) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 118, 182, 0.5) !important;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover, .btn-outline:focus, .btn-outline:active {
    border-color: var(--clr-primary) !important;
    background: var(--bg-card) !important;
    color: var(--clr-primary) !important;
    box-shadow: 0 0 0 4px rgba(122, 118, 182, 0.1) !important;
}

/* Custom List Accent Styles */
.accent-list {
    list-style: none;
    padding-left: 0;
}

.accent-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.accent-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--clr-primary);
    font-weight: bold;
}

/* Icon Button (Theme/Lang) - Refined */
.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-icon:hover {
    color: var(--clr-primary);
    background: var(--bg-hero-ring);
}

/* Language Toggle specific polish */
#lang-toggle {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.2rem;
    /* Removed the pixelated border, use background or just text */
}

/* Mobile Menu content */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height)); /* Full height */
    background: var(--bg-body);
    padding: 2rem;
    /* transform: translateX(100%);  Slide from right instead of top */
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    font-size: 1.5rem;
    color: var(--text-main);
    border-bottom: none; /* Cleaner look */
    font-weight: 700;
}
/* --- Abstract Decorative Elements --- */
.bg-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.decor-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    mix-blend-mode: screen;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--clr-primary);
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--clr-primary-dark);
    bottom: -100px;
    left: -100px;
}

.decor-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid var(--clr-primary);
    border-radius: 50%;
    opacity: 0.1;
}

.ring-1 {
    top: 20%;
    left: 5%;
}

.ring-2 {
    bottom: 10%;
    right: 10%;
    width: 150px;
    height: 150px;
}

.decor-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--clr-primary);
    border-radius: 50%;
    opacity: 0.2;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-primary), transparent);
    z-index: -1;
    opacity: 0.1;
}

.decor-square {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid var(--clr-primary);
    opacity: 0.05;
    pointer-events: none;
}

/* Utilities */
.opacity-75 { opacity: 0.75; }
.hover-opacity-100:hover { opacity: 1 !important; }
.transition-all { transition: all 0.3s ease; }
.hover-translate-y:hover { transform: translateY(-2px); }
