/* style.css */
:root {
    --bg-main: #04101F;
    --bg-section: #07192E;
    --accent-blue: #0EA5E9;
    --secondary-blue: #1E40AF;
    --text-white: #FFFFFF;
    --text-gray: #94A3B8;
    --border-color: rgba(255,255,255,0.08);
    --card-bg: rgba(7,25,46,0.85);
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.text-accent { color: var(--accent-blue) !important; }
.text-gray { color: var(--text-gray) !important; }
.bg-section { background-color: var(--bg-section) !important; }
.border { border-color: var(--border-color) !important; }

/* Header */
.header-glass {
    background: rgba(4, 16, 31, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.main-nav ul li a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.main-nav ul li a:hover {
    color: var(--accent-blue);
}
.dropdown-menu-dark {
    background-color: var(--bg-section);
    border: 1px solid var(--border-color);
}
.dropdown-item { font-size: 14px; }
.dropdown-item:hover { background-color: var(--secondary-blue); color: #fff; }

/* Typography */
.hero-title {
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
@media (min-width: 992px) { .hero-title { font-size: 46px; } }
@media (min-width: 1200px) { .hero-title { font-size: 48px; } }

/* Label Badge */
.label-badge {
    color: var(--accent-blue);
    font-size: 13px;
    letter-spacing: 1.5px;
}

/* Buttons */
.btn {
    font-size: 15px;
    padding: 12px 24px;
}
.btn-primary-custom {
    background: #1A56DB;
    color: var(--text-white);
    border: 1px solid #1A56DB;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.btn-primary-custom:hover {
    background: #1E40AF;
    border-color: #1E40AF;
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 86, 219, 0.3);
}

.btn-outline-custom {
    background: rgba(255,255,255,0.02);
    color: var(--text-white);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text-white);
    border-color: rgba(255,255,255,0.3);
}

/* Glass Card */
.glass-card {
    background: rgba(7, 25, 46, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.solution-card {
    right: 0;
    top: 35%;
    transform: translateY(-50%);
    width: 420px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}
.solution-card li {
    font-size: 14px;
    color: #cbd5e1;
}

/* Hero Overlay */
.hero-overlay {
    background: linear-gradient(90deg, rgba(4, 16, 31, 1) 0%, rgba(4, 16, 31, 0.95) 35%, rgba(4, 16, 31, 0.8) 55%, rgba(4, 16, 31, 0.3) 75%, rgba(4, 16, 31, 0) 100%);
}
.hero-overlay-bottom {
    background: linear-gradient(to top, rgba(4, 16, 31, 1) 0%, rgba(4, 16, 31, 0) 100%);
}
@media (max-width: 991px) {
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(4, 16, 31, 0.95) 0%, rgba(4, 16, 31, 0.9) 50%, rgba(4, 16, 31, 0.4) 100%);
    }
    .solution-card {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin-top: 2rem;
    }
}

/* Hover Utilities for Images */
.hover-opacity-100 { opacity: 0 !important; transition: all 0.3s ease; }
a:hover > .hover-opacity-100 { opacity: 1 !important; }
.hover-scale { transition: transform 0.3s ease, opacity 0.3s ease; }
a:hover > .hover-scale { transform: scale(1.05); opacity: 1 !important; }

/* Desktop Dropdown Hover */
@media (min-width: 1200px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Mobile Header Layout Fix */
@media (max-width: 480px) {
    #mainHeader .row {
        flex-wrap: nowrap !important;
    }
    #mainHeader .logo-box {
        width: 38px !important;
        height: 38px !important;
    }
    #mainHeader .logo-box i {
        font-size: 1.2rem !important;
    }
    #mainHeader .ms-3 {
        margin-left: 0.5rem !important;
    }
    #mainHeader span.text-gray {
        display: none !important;
    }
    #mainHeader a[href^="tel:"] {
        font-size: 13px !important;
        letter-spacing: -0.5px;
    }
    #mainHeader .fs-4 {
        font-size: 1.1rem !important;
    }
    #mainHeader .btn-outline-light {
        padding: 0.2rem 0.4rem !important;
    }
    #mainHeader .btn-outline-light i {
        font-size: 1.25rem !important;
    }
}

/* Hero Mobile Layout Fixes */
.hero-content-row {
    padding-top: 90px;
}
@media (max-width: 767.98px) {
    .hero-content-row {
        padding-top: 50px;
        min-height: auto !important;
        padding-bottom: 30px;
    }
}

/* Features */
.content-article p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.content-article ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.features-strip {
    background: transparent;
}
.feature-item { 
    transition: background 0.3s ease; 
    padding: 24px 16px;
}
.feature-item:hover { background: rgba(255,255,255,0.02); }
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Products */
.product-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    min-height: 440px;
    background: linear-gradient(180deg, rgba(7,25,46,0.8) 0%, rgba(4,16,31,0.9) 100%);
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2) !important;
}
.product-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    border-radius: 0 0 12px 12px;
}
.product-card:hover .product-img {
    opacity: 1;
    transform: scale(1.02);
}

/* Info Cards */
.info-card {
    transition: transform 0.3s ease;
}
.info-card:hover {
    transform: translateY(-5px);
}
.map-bg {
    background-image: radial-gradient(circle, rgba(14, 165, 233, 0.4) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.15;
}

/* Floating Buttons */
.floating-social {
    bottom: 30px;
    right: 30px;
}
.social-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}
.social-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.8);
    border-color: rgba(255,255,255,0.5);
}
.social-btn.whatsapp { background-color: #25D366 !important; color: white; }
.social-btn.telegram { background-color: #0088cc !important; color: white; }
.social-label {
    position: absolute;
    bottom: -24px;
    font-size: 11px;
    color: #fff;
    font-weight: 500;
}
