/* =========================
   VOLTGUARD PREMIUM STYLE
========================= */

:root {
    --primary: #071B35;
    --secondary: #0044cc;
    --accent: #00B8FF;
    --light: #F5F8FC;
    --white: #ffffff;
    --text: #172033;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Armenian', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   REVEAL ANIMATION
========================= */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   HEADER
========================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 5%;
    z-index: 1000;
    background: rgba(7, 27, 53, 0.85);
    backdrop-filter: blur(12px);
    transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    display: block;
    height: 42px;
    width: auto;
}

/* =========================
   NAVIGATION
========================= */
nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent);
}

.nav-btn {
    display: none;
}

/* =========================
   BURGER MENU
========================= */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.burger-menu.active span:nth-child(2) {
    opacity: 0;
}
.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* =========================
   LANGUAGE SELECTOR
========================= */
.language-selector {
    display: flex;
    gap: 4px;
    margin-right: 15px;
    flex-shrink: 0;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 0;
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    letter-spacing: 0;
    text-align: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

.lang-btn:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

.lang-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 68, 204, 0.3);
}

/* =========================
   MOBILE NAV
========================= */
@media (max-width: 900px) {
    .burger-menu {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: 0.4s ease;
        padding: 40px 20px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    nav.open {
        right: 0;
    }

    nav a {
        color: white;
        font-size: 20px;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
        text-decoration: none;
    }

    nav a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--accent);
    }

    .nav-btn {
        display: block;
        background: var(--secondary);
        color: white;
        padding: 12px 30px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        width: auto;
    }

    .nav-btn:hover {
        background: #003399;
        color: white !important;
    }

    .logo img {
        height: 55px;
    }

    .lang-btn {
        width: 30px;
        min-width: 30px;
        max-width: 30px;
        font-size: 9px;
        padding: 3px 0;
    }
}

@media (max-width: 500px) {
    nav {
        width: 100%;
        max-width: 100%;
    }
    nav a {
        font-size: 18px;
        padding: 8px 16px;
    }
    .logo img {
        height: 40px;
    }
    .lang-btn {
        width: 26px;
        min-width: 26px;
        max-width: 26px;
        font-size: 8px;
        padding: 2px 0;
    }
    .language-selector {
        gap: 2px;
        margin-right: 8px;
    }
}

/* =========================
   HERO
========================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(5, 20, 40, 0.75), rgba(5, 20, 40, 0.75)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    color: white;
    position: relative;
    z-index: 2;
}

.subtitle {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero p {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.8;
}

.hero-buttons {
    margin-top: 40px;
}

.hero-buttons a {
    display: inline-block;
    padding: 15px 35px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    margin-right: 15px;
    transition: background 0.3s, transform 0.2s;
}

.hero-buttons a:hover {
    background: #003399;
    transform: translateY(-3px);
}

.hero-buttons .second {
    background: transparent;
    border: 1px solid white;
}

.hero-buttons .second:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* =========================
   SECTIONS
========================= */
.section {
    padding: 100px 0;
}

.section-title span {
    color: var(--secondary);
    font-weight: 700;
}

.section-title h2 {
    font-size: 42px;
    margin-top: 15px;
}

.text {
    margin-top: 30px;
    max-width: 800px;
    line-height: 1.8;
    font-size: 18px;
}

/* =========================
   ABOUT WITH BACKGROUND IMAGE
========================= */
.about-bg {
    background: 
        linear-gradient(rgba(7, 27, 53, 0.80), rgba(7, 27, 53, 0.80)),
        url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.about-bg .section-title span {
    color: var(--accent);
}

.about-bg .section-title h2 {
    color: white;
}

.about-bg .text {
    color: rgba(255, 255, 255, 0.9);
}

/* =========================
   SERVICES
========================= */
.services-bg {
    background: linear-gradient(rgba(7, 27, 53, 0.85), rgba(7, 27, 53, 0.85)), url('../images/services-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.services-bg .section-title span {
    color: var(--accent);
}
.services-bg .section-title h2 {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    padding: 0 0 25px 0;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
}

.service-card h3 {
    margin: 18px 0 10px;
    font-size: 20px;
    padding: 0 15px;
}

.service-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.85;
    padding: 0 15px;
    flex: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* =========================
   STATS
========================= */
.stats {
    background: var(--secondary);
    color: white;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    padding: 70px 5%;
}

.stats strong {
    font-size: 45px;
}
.stats p {
    margin-top: 10px;
}

/* =========================
   PROJECTS
========================= */
.projects {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.projects div {
    height: 260px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 20px;
    transition: transform 0.3s;
}

.projects div:hover {
    transform: scale(1.03);
}

/* =========================
   CONTACT
========================= */
.contact {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.contact h2 {
    font-size: 40px;
}

.contact p {
    margin: 30px;
    line-height: 2;
}

.contact a {
    color: var(--accent);
    text-decoration: none;
}

.contact-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary);
    border-radius: 30px;
    text-decoration: none;
    color: white;
    transition: background 0.3s, transform 0.2s;
}

.contact-btn:hover {
    background: #003399;
    transform: scale(1.05);
}

/* =========================
   FOOTER
========================= */
footer {
    background: #040E1C;
    color: white;
    text-align: center;
    padding: 25px;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 42px;
    }
    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .projects {
        grid-template-columns: 1fr;
    }
    .subtitle {
        font-size: 16px;
        display: block !important;
        text-align: center;
        margin-bottom: 15px;
    }
    .hero p {
        font-size: 16px;
        text-align: center;
    }
    .hero-buttons {
        text-align: center;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .service-card img {
        height: 160px;
    }
    .about-bg {
        background-attachment: scroll;
    }
    .services-bg {
        background-attachment: scroll;
    }
}

@media (max-width: 600px) {
    .stats {
        grid-template-columns: 1fr;
    }
    .hero-buttons a {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
    .hero h1 {
        font-size: 32px;
    }
    .subtitle {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-card img {
        height: 180px;
    }
    .section-title h2 {
        font-size: 30px;
    }
}