/* =========================
   VARIABLES
========================= */
:root {
    --primary-dark: #0e1b23;
    --accent-gold: #d4af37;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --card-bg: rgba(255, 255, 255, 0.04);
    --clr-service: #3498db;
    --clr-mission: #e67e22;
    --clr-vision: #9b59b6;
    --clr-values: #1abc9c;
    --clr-assess: #95a5a6;
    --clr-target: #e74c3c;
    --clr-present: #e67e22;
    --clr-negotiate: #3498db;
    --clr-close: #2ecc71;
    --clr-grow: #d4af37;
    --clr-whatsapp: #25d366;
    --clr-email: #5dade2;
    --clr-phone: #f39c12;
}

/* =========================
   GLOBAL STYLES
========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--primary-dark); 
    color: var(--text-white); 
    line-height: 1.6; 
    overflow-x: hidden;
}

/* =========================
   STICKY NAVBAR
========================= */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(14, 27, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent-gold); }

/* =========================
   HEADER & LOGO AREA
========================= */
header { 
	width: 100%; 
	padding: 20px 0 0; 
	text-align: center; 
}

.main-logo-img { 
    max-width: 480px; 
    width: 90%; 
    height: auto; 
    display: inline-block;
    /* High quality rendering */
    image-rendering: -webkit-optimize-contrast;
}

/* =========================
   BANNER MANAGEMENT
========================= */
/* Container for the section to ensure it breaks out of any page wrappers */
.banner-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0;
    overflow: hidden;
}

.banner-container {
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 500px; /* Optimal height for desktop commercial display */
    background-image: linear-gradient(rgba(10, 20, 31, 0.2), rgba(10, 20, 31, 0.2)), 
                      url('../img/prinexo-banner2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid rgba(225, 177, 44, 0.3); /* Subtle gold accent border */
    border-bottom: 1px solid rgba(225, 177, 44, 0.3);
}

/* Responsive adjustment for Mobile Devices */
@media (max-width: 768px) {
    .hero-image {
        height: 300px; /* Keeps the banner proportional on smaller screens */
    }
}

/* =========================
   LANGUAGE SWITCHER
========================= */
.lang-switcher {
    position: fixed;
    top: 65px;
    right: 25px;
    z-index: 9999;
    display: flex;
    gap: 12px;
    background: rgba(14, 27, 35, 0.8);
    padding: 10px;
    border-radius: 50px;
    border: 1px solid var(--accent-gold);
    backdrop-filter: blur(8px);
}
.lang-switcher img {
    width: 28px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 4px;
}
.lang-switcher img:hover { transform: scale(1.2); }

/* =========================
   HERO SECTION
========================= */
.hero-section { width: 100%; display: flex; justify-content: center; text-align: center; padding: 20px 20px 20px; }
.hero-section .section-container-inner { align-items: center; }

h1 { color: var(--accent-gold); font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 15px; }
h2 { color: var(--text-gray); text-transform: uppercase; font-size: clamp(0.8rem, 2vw, 1.1rem); letter-spacing: 2px; }

.cta-button {
    display: inline-block;
    margin-top: 35px;
    padding: 18px 45px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* =========================
   CARDS & SECTIONS
========================= */
.section-container { width: 100%; display: flex; justify-content: center; padding: 60px 20px; }
.no-top-padding { padding-top: 0; }
.section-container-inner { max-width: 1200px; width: 100%; display: flex; flex-direction: column; align-items: center; }

.lead-text { font-size: 1.1rem; max-width: 900px; margin: 0 auto 40px; color: var(--text-gray); text-align: center; }
.section-title {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    letter-spacing: 3px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: ""; position: absolute; bottom: 0; left: 20%; width: 60%; height: 2px; background: var(--accent-gold);
}

.about-grid-four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; width: 100%; }
.full-width { grid-column: 1 / -1; }

.info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 35px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--accent-gold);
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
.info-card i { font-size: 2.5rem; margin-bottom: 15px; }
.info-card h4 { text-transform: uppercase; margin-bottom: 12px; font-size: 1rem; }

/* Palette Border Overrides */
.service-card { border-top-color: var(--clr-service); } .service-card i, .service-card h4 { color: var(--clr-service); }
.mission-card { border-top-color: var(--clr-mission); } .mission-card i, .mission-card h4 { color: var(--clr-mission); }
.vision-card { border-top-color: var(--clr-vision); } .vision-card i, .vision-card h4 { color: var(--clr-vision); }
.values-card { border-top-color: var(--clr-values); } .values-card i, .values-card h4 { color: var(--clr-values); }
.assess-card { border-top-color: var(--clr-assess); } .assess-card i, .assess-card h4 { color: var(--clr-assess); }
.target-card { border-top-color: var(--clr-target); } .target-card i, .target-card h4 { color: var(--clr-target); }
.present-card { border-top-color: var(--clr-present); } .present-card i, .present-card h4 { color: var(--clr-present); }
.negotiate-card { border-top-color: var(--clr-negotiate); } .negotiate-card i, .negotiate-card h4 { color: var(--clr-negotiate); }
.close-card { border-top-color: var(--clr-close); } .close-card i, .close-card h4 { color: var(--clr-close); }
.grow-card { border-top-color: var(--clr-grow); } .grow-card i, .grow-card h4 { color: var(--clr-grow); }
.commission-card { border: 2px solid var(--accent-gold); } .commission-card i, .commission-card h4 { color: var(--accent-gold); }

/* =========================
   CONTACT & HOURS
========================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; width: 100%; align-items: start; }
.business-hours-list { background: rgba(255, 255, 255, 0.02); padding: 20px; border-radius: 8px; border: 1px solid rgba(212, 175, 55, 0.1); }
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.day-label { font-weight: 700; text-transform: uppercase; font-size: 0.8rem; }
.time-slot { color: var(--accent-gold); font-size: 0.9rem; }

.contact-row { display: flex; gap: 15px; margin-top: 20px; }
.contact-link { text-decoration: none; flex: 1; padding: 20px 10px; border-top-width: 4px; text-align: center; }
.contact-link span { font-size: 0.75rem; color: #fff; text-transform: uppercase; font-weight: bold; margin-top: 10px; display: block; }

.whatsapp-card { border-top-color: var(--clr-whatsapp); } .whatsapp-card i { color: var(--clr-whatsapp); }
.email-card { border-top-color: var(--clr-email); } .email-card i { color: var(--clr-email); }
.phone-card { border-top-color: var(--clr-phone); } .phone-card i { color: var(--clr-phone); }

/* =========================
   FOOTER
========================= */
footer { background: var(--accent-gold); color: var(--primary-dark); text-align: center; padding: 10px; font-weight: bold; }

#about {
    scroll-margin-top: 80px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) { .about-grid-four, .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .nav-links { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-row { flex-direction: column; }
	header { text-align: right; }
	.lang-switcher { top:10px; }
}
@media (max-width: 480px) { .about-grid-four, .process-grid { grid-template-columns: 1fr; } }


/* =========================
   MODAL STYLES
========================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 27, 35, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--primary-dark);
    border: 1px solid var(--accent-gold);
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 1.5rem;
    color: var(--accent-gold);
    cursor: pointer;
}

.modal-content h3 {
    color: var(--accent-gold);
    margin-top: 30px;
	margin-bottom: 15px;
    text-transform: uppercase;
	text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-family: 'Montserrat', sans-serif;
    border-radius: 5px;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

#businessForm .cta-button {
    width: 100%;
    border: none;
    cursor: pointer;
	margin-top: 0px;
}

#businessForm {
    position: relative; /* Necessary to contain the absolute overlay */
}

#form-result {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark); /* Matches your modal background */
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    padding: 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--accent-gold);
}