:root {
    --color-bg: #ffffff;
    --color-bg-light: #f4f6f9;
    --color-bg-dark: #0B1D3A;
    --color-text: #1a1a1a;
    --color-text-light: #ffffff;
    --color-text-muted: #666666;
    --color-accent: #d4af37;
    --color-accent-hover: #c49b2b;
    --font-primary: 'Montserrat', sans-serif;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section { padding: 6rem 0; }
.bg-dark { background-color: var(--color-bg-dark); }
.bg-light { background-color: var(--color-bg-light); }
.text-light { color: var(--color-text-light); }
.text-center { text-align: center; }

.section-title {
    font-size: 2.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.accent-line {
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    margin-bottom: 2rem;
}

.accent-line.center {
    margin: 0 auto 3rem auto;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--color-accent);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 75px;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover {
    color: var(--color-accent);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switch button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
    transition: var(--transition);
}

.lang-switch button.active, .lang-switch button:hover {
    color: var(--color-accent);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-bg-dark);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(11, 29, 58, 0.8), rgba(11, 29, 58, 0.9)), url('img/baku.jpg?q=80&w=2000&auto=format&fit=crop') center/cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
    color: var(--color-text-light);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 2.5rem;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background-color: var(--color-bg-light);
    padding: 3rem;
    border-left: 4px solid var(--color-accent);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-bg-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-box {
    position: relative;
    background-color: var(--color-bg-dark);
    padding: 2.5rem 2rem;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 4px;
    transition: var(--transition);
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 29, 58, 0.75);
    z-index: 1;
    transition: var(--transition);
}

.service-box:hover::before {
    background: rgba(11, 29, 58, 0.4); 
}

.service-box h3 {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    transition: var(--transition);
}

.service-box:hover h3 {
    color: var(--color-accent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    position: relative;
    background-color: var(--color-bg-dark);
    background-size: cover;
    background-position: center;
    min-height: 350px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(11, 29, 58, 0.2);
}


.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(11, 29, 58, 0.95) 0%, rgba(11, 29, 58, 0.1) 100%);
    z-index: 1;
    transition: var(--transition);
}

.portfolio-card:hover::before {
    background: linear-gradient(to top, rgba(11, 29, 58, 0.95) 0%, rgba(11, 29, 58, 0.3) 100%);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    width: 100%;
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.8rem;
}

.card-content h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 0.95rem;
    color: #d1d5db;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background-color: #eaeaea;
    border: 1px solid #eaeaea;
}

.partner-item {
    background-color: var(--color-bg);
    padding: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: var(--transition);
}

.partner-item:hover {
    color: var(--color-accent);
}

.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #a0aec0;
    letter-spacing: 1px;
}

.contact-list {
    margin-top: 1rem;
}

.contact-list li {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
}

.contact-list strong {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #94a3b8;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .about-wrapper, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: 0.4s ease-in-out;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
    }

    .nav-controls {
        gap: 1rem;
    }
    
    .about-stats {
        padding: 2rem;
    }
}