/* ==========================================================================
   1. ქართული ფონტების იმპორტი
   ========================================================================== */
@font-face {
    font-family: 'BPG_Header';
    src: url('../fonts/bpg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BPG_Header';
    src: url('../fonts/bpg_bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Arial_Geo';
    src: url('../fonts/arial_geo.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. ძირითადი სტილები და ნულიზაცია
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial_Geo', sans-serif;
    overflow-x: hidden;
    background-color: #0d0d0d;
    color: #ffffff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.full-page-section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   SITE FOOTER (PIXEL-PERFECT & SYMMETRICAL)
   ========================================================================== */
.site-footer {
    background-color: #0d0d0d;
    color: #e5e5e5;
    padding-top: 80px;
    font-family: inherit;
    border-top: 1px solid #1a1a1a;
}

/* 🎯 ორივე კონტეინერს აქვს აბსოლუტურად იდენტური ზომა და ფედინგი */
.site-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 60px 40px; /* 40px დაცვა კედლებიდან */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

/* 1. მარცხენა ბლოკი (ODA) - მიკრული პირველ წითელ ხაზზე */
.footer-logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    display: block;
    margin-bottom: 22px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #999999;
    max-width: 250px; /* იცავს მეორე წითელ ხაზს და სვამს 3-4 ხაზზე */
}

/* 2. შუა ბლოკი (ნავიგაცია) - იდეალურად გაცენტრებული გრიდში */
.site-footer__container > div:nth-child(2) {
    justify-self: center;
}

.footer-block-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 25px;
}

.footer-links, .footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact-info li {
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-links a, .footer-contact-info a {
    color: #999999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact-info a:hover {
    color: #ffffff;
}

/* 3. მარჯვენა ბლოკი (კონტაქტი) - იკეტება ბოლო წითელ ხაზზე */
.site-footer__contact {
    text-align: right; /* თავსებადია ნებისმიერ ენაზე ტექსტის სიგრძესთან */
}

.footer-contact-info span {
    color: #555555;
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

/* --------------------------------------------------------------------------
   ფუტერის ქვედა ზოლი (Copyright & Socials)
   -------------------------------------------------------------------------- */
.site-footer__bottom {
    border-top: 1px solid #1a1a1a;
    padding: 30px 0;
    font-size: 13px;
    color: #666666;
}

.footer-bottom-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* ზუსტად იგივე 40px, რაც ზედა კონტეინერში */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* სოციალური ლინკები - სინქრონშია კონტაქტის მარჯვენა კიდესთან */
.footer-socials {
    display: flex;
    gap: 25px;
}

.footer-socials a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: #ffffff;
}

/* ==========================================================================
   📱 რესპონსივი მობილურებისთვის (Mobile Reset)
   ========================================================================== */
@media (max-width: 768px) {
    .site-footer__container {
        grid-template-columns: 1fr; /* მობილურზე სათითაოდ ჩამწკრივდება */
        gap: 40px;
        padding: 0 20px 40px 20px;
    }

    /* მობილურზე ნავიგაცია ბრუნდება მარცხნივ სწორებაზე */
    .site-footer__container > div:nth-child(2) {
        justify-self: start;
    }

    .site-footer__contact {
        text-align: left; /* მობილურზე მარჯვნივ სწორება აღარ გვინდა */
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-bottom-wrap {
        padding: 0 20px;
        flex-direction: column-reverse;
        gap: 25px;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }
}