﻿/* Basic Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #fff;
    overflow: hidden; /* Prevents scrollbars from appearing */
}

/* Video Background Styling */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Page Wrapper for all content */
.page-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 50px; /* Add more horizontal padding */
}

/* Logo Styling */
.logo-container {
    position: absolute;
    top: 30px;
    left: 50px;
    z-index: 10;
}

    .logo-container img {
        height: 80px;
        width: auto;
    }

/* --- NEW CSS FOR LANGUAGE SWITCHER --- */
.language-switcher {
    position: absolute;
    top: 30px;
    right: 50px;
    z-index: 10;
    display: flex;
    gap: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
}

    .language-switcher .lang-link {
        color: #fff;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 8px;
        opacity: 0.7;
        transition: opacity 0.3s ease;
    }

        .language-switcher .lang-link:hover {
            opacity: 1;
        }

        .language-switcher .lang-link.active {
            opacity: 1;
            font-weight: 700;
        }

    .language-switcher img {
        width: 24px;
        height: auto;
        border-radius: 3px;
    }
/* --- END OF NEW CSS --- */


/* Main Content Area for the two columns */
.main-content {
    display: flex;
    flex-direction: row; /* Side-by-side columns */
    align-items: center; /* Vertically align content */
    justify-content: center;
    gap: 60px; /* Space between columns */
    width: 100%;
    max-width: 1200px;
}

/* Left Column: Information */
.info-column {
    flex: 1; /* Allow it to grow */
    max-width: 550px;
    text-align: left;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* Adds shadow for readability */
}

    .info-column h1 {
        font-size: 4rem;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

.contact-details {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

    .contact-details p {
        margin: 8px 0;
    }

    .contact-details a {
        color: #cce7ff;
        text-decoration: none;
        transition: color 0.3s ease;
        display: inline-flex;
        align-items: center;
    }

        .contact-details a:hover {
            color: #fff;
            text-decoration: underline;
        }

    .contact-details i {
        margin-right: 15px;
    }

.services {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Right Column: Form */
.form-column {
    flex: 1;
    max-width: 480px;
}

.form-container {
    background-color: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

    .form-container h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 25px;
    }

/* Form Element Styling */
.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #ddd;
    }

    .form-group input, .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid #555;
        border-radius: 8px;
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 1rem;
    }

        .form-group input::placeholder, .form-group textarea::placeholder {
            color: #aaa;
        }

        .form-group input:focus, .form-group textarea:focus {
            outline: none;
            border-color: #4A90E2;
            box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.5);
        }

textarea {
    resize: vertical;
}

/* Submit Button Styling */
.submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: #4A90E2;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .submit-btn:hover {
        background-color: #357ABD;
    }

/* Footer Styling */
.location-footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    font-style: italic;
    color: #bbb;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    body, html {
        overflow: auto;
    }
    /* Allow scrolling on mobile */
    .page-wrapper {
        height: auto;
        min-height: 100vh;
        padding: 20px;
    }

    .logo-container {
        top: 20px;
        left: 20px;
    }

        .logo-container img {
            height: 60px;
        }

    .language-switcher {
        top: 20px;
        right: 20px;
    }
    /* Adjust switcher for mobile */

    .main-content {
        flex-direction: column; /* Stack columns vertically */
        margin-top: 100px; /* Push content below logo */
        gap: 40px;
    }

    .info-column {
        text-align: center; /* Center text when stacked */
        max-width: 600px;
    }

    .contact-details a {
        justify-content: center;
    }

    .info-column h1 {
        font-size: 3rem;
    }

    .contact-details {
        font-size: 1.2rem;
    }

    .location-footer {
        position: static; /* Let footer flow naturally */
        transform: none;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .logo-container img {
        height: 50px;
    }

    .language-switcher {
        gap: 10px;
        padding: 5px 10px;
    }

        .language-switcher .lang-link {
            font-size: 0.9rem;
        }

        .language-switcher img {
            width: 20px;
        }

    .info-column h1 {
        font-size: 2.2rem;
    }

    .contact-details {
        font-size: 1rem;
    }

    .services {
        font-size: 0.9rem;
    }

    .form-container {
        padding: 25px;
    }
}
