/* style.css - Estilos para GMEADD LLC */

:root {
    /* === BRAND COLORS - Change these two values to update the site's theme === */
    --primary-color: #030C4D; /* Main deep color (e.g., Deep Blue) */
    --secondary-color: #F8A01B; /* Accent color (e.g., Gold) */
    /* ======================================================================== */
    
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    visibility: visible;
    opacity: 1;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(13, 44, 78, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


body {
    padding-top: 80px; /* Safety area for the fixed menu */
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    scroll-behavior: smooth;
}

/* --- Navigation Bar --- */
.navbar {
    background-color: #ffffff; /* Solid white background */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* More pronounced shadow for separation */
    transition: background-color 0.3s ease-in-out;
}
.navbar-brand img {
    height: 40px; /* Adjust logo height as needed */
    width: auto;
}
.nav-link {
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
}

/* --- Hero Section (Only for index.html) --- */
.hero-section {
    background: linear-gradient(rgba(13, 44, 78, 0.7), rgba(13, 44, 78, 0.7)), url('img/hero-01.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 12rem 0;
    text-align: center;
}
.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-section p {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 700px;
    margin: 1rem auto;
}

/* --- Section Styling --- */
.section {
    padding: 8rem 0;
    scroll-margin-top: 80px; /* MODIFIED: Offset for the fixed navbar */
}
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}
.bg-light-gray {
    background-color: var(--light-gray);
}

/* --- Image Separator --- */
.image-separator {
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* --- Services Section --- */
.service-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}
.service-card h3 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- Projects Section --- */
.project-main-image img {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    width: 100%;
    height: auto;
    object-fit: cover;
}
.project-description h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.project-description p {
    margin-bottom: 1.5rem;
}
.project-gallery .gallery-item img {
    width: 100%;
    height: 250px; /* Increased height for larger thumbnails */
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}
.project-gallery .gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 0.9;
}

/* --- Global Operations Section --- */
.country-flag {
    text-align: center;
}
.country-flag img {
    width: 64px;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
    opacity: 0.6;
    transition: opacity 0.3s ease-in-out;
}
.country-flag:hover img {
    opacity: 1;
}
.country-flag span {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
}

/* --- Contact Section --- */
.contact-info-item {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.contact-info-item i {
    font-size: 2.5rem; 
    color: var(--secondary-color);
    margin-bottom: 1.5rem; 
}
.contact-info-item a {
    text-decoration: none;
    color: var(--dark-gray);
    transition: color 0.3s;
}
.contact-info-item a:hover {
    color: var(--secondary-color);
}

/* --- Call to Action Button --- */
.cta-section {
    text-align: center;
    margin-top: 3rem;
}
.btn-cta {
    background-color: var(--secondary-color);
    color: #ffffff;
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.btn-cta:hover {
    background-color: #d89f13; /* A slightly darker gold */
    border-color: #d89f13;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* --- Footer --- */
.footer {
    background-color: var(--dark-gray);
    color: #ccc;
    padding: 3rem 0;
    font-size: 0.9rem;
}
.footer a {
    color: #ccc;
    text-decoration: none;
}
.footer a:hover {
    color: white;
}

/* --- Legal Pages Styling --- */
.legal-header {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0 3rem;
}
.legal-content {
    padding: 4rem 0;
}
.legal-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .project-gallery .gallery-item img {
        height: 200px;
    }
}
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .section {
        padding: 4rem 0;
        scroll-margin-top: 70px; /* MODIFIED: Adjusted offset for mobile navbar */
    }
    .contact-info-item {
        margin-bottom: 3rem;
    }
    .image-separator {
        background-attachment: scroll; /* Disable parallax on mobile for performance */
        min-height: 250px;
    }
    .project-gallery .gallery-item img {
        height: 160px;
    }
}
