/* ==========================================================================
   HARMAURY - Premium Futuristic Design System
   ========================================================================== */

:root {
    /* Brand Colors */
    --navy: #1B2B5E;
    --navy-light: #2A3F82;
    --navy-dark: #0D1636;
    --gold: #C8A951;
    --gold-light: #E0C87E;
    --paper: #FFFFFF;
    
    /* Futuristic / Glass Variables */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(200, 169, 81, 0.3); /* Gold tint */
    --glass-blur: blur(16px);
    --glow-gold: 0 0 20px rgba(200, 169, 81, 0.4);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Utilities */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--navy-dark);
    color: var(--paper);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(200, 169, 81, 0.08), transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(27, 43, 94, 0.5), transparent 50%),
        url('assets/favicon.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 80vh;
    opacity: 0.03; /* Extremely faded */
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   GLASSMORPHISM & UTILITIES
   ========================================================================== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.w-100 { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-dark);
    box-shadow: var(--glow-gold);
}

.btn-gold:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(200, 169, 81, 0.6);
}

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

.btn-outline:hover {
    background: rgba(200, 169, 81, 0.1);
    box-shadow: var(--glow-gold);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(13, 22, 54, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 169, 81, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    transition: var(--transition-smooth);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { width: 100%; }

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 4px 12px;
}

.lang-switcher a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition-smooth);
}

.lang-switcher a.active {
    color: var(--gold);
    pointer-events: none;
}

.lang-switcher a:hover {
    color: var(--paper);
}

.lang-switcher span {
    color: rgba(255,255,255,0.2);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--paper);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    z-index: 2;
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(200, 169, 81, 0.1);
    border: 1px solid rgba(200, 169, 81, 0.3);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    background: linear-gradient(to right, var(--paper), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    height: 70vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(0.85) contrast(1.1);
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(27, 43, 94, 0.6), transparent);
    pointer-events: none;
}

/* ==========================================================================
   PILLARS STRIP
   ========================================================================== */
.pillars-wrapper {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.pillars-strip {
    display: flex;
    gap: 20px;
}

.pillar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    flex: 1;
    transition: var(--transition-smooth);
}

.pillar:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--glow-gold);
}

/* ==========================================================================
   BENTO GRID (SERVICES)
   ========================================================================== */
.section-padding { padding: 70px 0; }

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
}

.bento-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.7);
}

.bento-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px;
    background: linear-gradient(to top, var(--navy-dark) 0%, transparent 100%);
    z-index: 2;
}

.bento-overlay h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.bento-overlay p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.bento-card:hover .bento-img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.bento-card:hover {
    border-color: var(--gold);
    box-shadow: var(--glow-gold);
}

.bento-card:hover .bento-overlay p {
    opacity: 1;
    transform: translateY(0);
}

.bento-pill {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--gold);
    color: var(--navy-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 2;
}

/* Bento Placements */
.bento-main { grid-column: span 2; grid-row: span 2; }
.bento-sm-a { grid-column: span 1; grid-row: span 1; }
.bento-sm-b { grid-column: span 1; grid-row: span 1; }
.bento-wide { grid-column: span 2; grid-row: span 1; }

/* ==========================================================================
   EXPERTISE PME
   ========================================================================== */
.b2b-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.b2b-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
}

.b2b-image img {
    width: 100%; height: 100%; object-fit: cover;
}

.b2b-list {
    list-style: none;
    margin-top: 32px;
}

.b2b-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
}

.b2b-list i {
    color: var(--gold);
    margin-top: 4px;
}

/* ==========================================================================
   ENGAGEMENT
   ========================================================================== */
.commits-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.commit {
    text-align: left;
    padding: 20px;
    border-left: 2px solid rgba(200, 169, 81, 0.3);
    transition: var(--transition-smooth);
}

.commit:hover {
    border-left-color: var(--gold);
    background: rgba(255,255,255,0.02);
}

.c-num {
    font-size: 2rem;
    font-weight: 900;
    opacity: 0.5;
    display: block;
    margin-bottom: 8px;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-form-wrapper {
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

.custom-form input,
.custom-form select,
.custom-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--paper);
    padding: 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(200, 169, 81, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--navy-dark);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand p {
    max-width: 300px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h5 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255, 255, 255, 0.6); }
.footer-col a:hover { color: var(--paper); }

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 169, 81, 0.3);
    border-radius: 50%;
    color: var(--gold);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: var(--glow-gold);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .bento-main { grid-column: span 2; grid-row: span 1; height: 350px;}
    .bento-sm-a, .bento-sm-b { grid-column: span 1; height: 300px;}
    .bento-wide { grid-column: span 2; height: 300px;}
}

@media (max-width: 992px) {
    .hero-layout { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-cta { justify-content: center; }
    .hero-image-wrapper { width: 100%; height: 50vh; }
    .b2b-grid { grid-template-columns: 1fr; }
    .commits-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Typo & Spacing */
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .hero { padding-bottom: 40px; }
    .pillars-wrapper { margin-top: 20px; }
    .section-padding { padding: 50px 0; }
    .section-header h2 { font-size: 2rem; }
    
    /* Pillars */
    .pillars-strip { flex-direction: column; gap: 12px; }
    .pillar { padding: 16px; justify-content: center; }
    
    /* Mobile Menu */
    .nav-links { 
        display: flex; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: rgba(13, 22, 54, 0.98); 
        backdrop-filter: blur(20px); 
        padding: 24px; 
        gap: 24px; 
        border-bottom: 1px solid rgba(200, 169, 81, 0.2); 
        transform: translateY(-150%); 
        opacity: 0; 
        visibility: hidden; 
        transition: var(--transition-smooth);
        z-index: 999;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .mobile-toggle { display: block; z-index: 1001; }
    
    /* Layout */
    .bento-grid { grid-template-columns: 1fr; gap: 16px; }
    .bento-main, .bento-sm-a, .bento-sm-b, .bento-wide { grid-column: span 1; min-height: 280px; height: auto; }
    
    .commits-row { grid-template-columns: 1fr; gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-links { flex-direction: column; gap: 30px; }
    .contact-form-wrapper { padding: 24px !important; }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: #20BA56;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}
