/* =========================
   CONTACT HERO
========================= */

.contact-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 80px 8%;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.65)
        ),
        url("images/contact-banner.jpg");

    background-size: cover;
    background-position: center;
}

.contact-hero-content {
    max-width: 800px;
    color: white;
}

.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.contact-hero h1 {
    font-size: clamp(40px, 6vw, 70px);
    margin-bottom: 20px;
}

.contact-hero p {
    max-width: 650px;
    margin: auto;
    line-height: 1.8;
    font-size: 18px;
}

.hero-btn,
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 30px;
    padding: 14px 25px;

    text-decoration: none;
    font-weight: 600;

    border-radius: 5px;
}


/* =========================
   CONTACT SECTION
========================= */

.contact-section {
    padding: 100px 8%;
    background-color: rgb(43, 41, 41);
}

.contact-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}


/* CONTACT INFO */

.contact-info h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-info > p {
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;

    text-decoration: none;
}

.contact-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

.contact-item h3 {
    margin: 0 0 5px;
}

.contact-item p {
    margin: 0;
}


/* SOCIAL LINKS */

.social-links {
    margin-top: 45px;
}

.social-links h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    border-radius: 50%;

    transition: 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
}


/* =========================
   FORM
========================= */

.contact-form-wrapper {
    padding: 40px;

    border-radius: 12px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.form-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.form-header p {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #ddd;
    border-radius: 5px;

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition: 0.3s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #555;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.submit-btn {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 15px;

    border: none;
    border-radius: 5px;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
}

#form-message {
    text-align: center;
    margin-top: 15px;
}


/* =========================
   CTA
========================= */

.contact-cta {
    padding: 100px 8%;
    text-align: center;
}

.cta-content {
    max-width: 750px;
    margin: auto;
}

.cta-content h2 {
    font-size: 45px;
    margin: 15px 0;
}

.cta-content p {
    line-height: 1.8;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 80px 8% 0;
    background: #111;
    color: #fff;
}


/* MAIN FOOTER */

.footer-container {
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-column h2 {
    font-size: 26px;
    margin-bottom: 18px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-about p {
    max-width: 380px;
    line-height: 1.8;
    color: #bbb;
}


/* QUICK LINKS */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;

    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}


/* SOCIAL ICONS */

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-socials a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #444;
    border-radius: 50%;

    color: #fff;
    text-decoration: none;

    transition: 0.3s ease;
}

.footer-socials a:hover {
    transform: translateY(-4px);
    background: #fff;
    color: #111;
}


/* =========================
   FAQ
========================= */

.footer-faq details {
    border-bottom: 1px solid #333;
    padding: 12px 0;
}

.footer-faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;

    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.footer-faq summary::after {
    content: "+";
    font-size: 20px;
}

.footer-faq details[open] summary::after {
    content: "−";
}

.footer-faq p {
    color: #aaa;
    line-height: 1.7;
    font-size: 14px;
    margin-top: 10px;
}


/* =========================
   MAP
========================= */

.footer-map-section {
    max-width: 1250px;
    margin: 70px auto 0;
}

.footer-map-header {
    margin-bottom: 20px;
}

.footer-map-header h3 {
    margin-bottom: 8px;
}

.footer-map-header p {
    color: #aaa;
}

.footer-map {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
    max-width: 1250px;
    margin: 50px auto 0;

    padding: 25px 0;

    border-top: 1px solid #333;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #aaa;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: #fff;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .site-footer {
        padding: 60px 6% 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 800px) {

    .contact-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info h2 {
        font-size: 34px;
    }

    .cta-content h2 {
        font-size: 35px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

}



/* =========================================
   PAGE PRELOADER
   ========================================= */

.page-preloader {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #050505;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}


/* =========================================
   PRELOADER CONTENT
   ========================================= */

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    animation: preloaderReveal 0.8s ease;
}


/* =========================================
   LOGO
   ========================================= */

.preloader-logo {
    width: 130px;
    max-width: 40vw;
    height: auto;

    object-fit: contain;

    animation: logoPulse 1.5s ease-in-out infinite;
}


/* =========================================
   LOADING LINE
   ========================================= */

.preloader-loader {
    width: 100px;
    height: 2px;

    margin-top: 30px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.15);
}


.preloader-loader span {
    display: block;

    width: 40%;
    height: 100%;

    background: #ffffff;

    animation: loadingLine 1.2s ease-in-out infinite;
}


/* =========================================
   LOADING ANIMATIONS
   ========================================= */

@keyframes logoPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(0.97);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

}


@keyframes loadingLine {

    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(250%);
    }

}


@keyframes preloaderReveal {

    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* =========================================
   HIDE PRELOADER
   ========================================= */

.page-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    .preloader-logo,
    .preloader-loader span,
    .preloader-content {
        animation: none;
    }

}
