/* CSS VARIABLES */
:root {
    --max-width: 1200px;
    --nav-height: 100px;
    --brand-color: #25646b;
    --highlight-bg: rgba(37, 100, 107, 0.08);
    --text-main: #2d3436;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #fcfcfc;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 25px;
    height: 100%;
}

/* --- NAVIGATION --- */
nav {
    background: var(--white);
    height: var(--nav-height);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-flex {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-left, .nav-right { 
    flex: 1; 
    display: flex; 
    align-items: center; 
}

.nav-right { 
    justify-content: flex-end; 
    gap: 25px; 
}

.nav-center {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    height: 100%;
    padding: 0 10px;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    padding: 12px 14px;
    text-decoration: none;
    color: var(--brand-color);
    font-weight: 700;
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    white-space: nowrap;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.has-dropdown .nav-link::after {
    content: '▾';
    margin-left: 6px;
    font-size: 0.8rem;
    opacity: 0.5;
}

.nav-item:hover .nav-link {
    background-color: var(--highlight-bg);
    transform: translateY(-2px);
}

/* --- DROPDOWN MENU --- */
.dropdown-menu {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--brand-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background-color: var(--highlight-bg);
}

/* --- SEARCH & LANG --- */
.search-bar {
    background: #f1f3f5;
    border: 2px solid transparent;
    padding: 10px 16px;
    border-radius: 30px;
    outline: none;
    width: 140px;
    font-weight: 600;
    transition: all 0.3s;
}

.search-bar:focus { 
    border-color: var(--brand-color); 
    width: 180px; 
    background: #fff; 
}

.lang-switch { 
    font-size: 0.85rem; 
    font-weight: 800; 
    color: var(--brand-color); 
    white-space: nowrap; 
}

.lang-switch a { 
    text-decoration: none; 
    color: inherit; 
    opacity: 0.5; 
}

.lang-switch .active { 
    opacity: 1; 
}

/* --- MAIN PAGE CONTENT --- */
/* Hero (Home Page) */
.hero { 
    text-align: center; 
    padding: 120px 0; 
}

.hero h1 { 
    font-size: 3.5rem; 
    color: var(--brand-color); 
    margin-bottom: 20px; 
}

/* Sub-Page Content */
.page-header {
    background-color: #f1f5f5;
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

.page-title {
    color: var(--brand-color);
    font-size: 2.5rem;
    font-weight: 800;
}

.page-content {
    padding: 80px 0;
    flex: 1;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.sidebar-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--brand-color);
}

/* --- FOOTER --- */
footer {
    background-color: var(--brand-color);
    color: var(--white);
    padding: 60px 0 30px 0;
    margin-top: auto;
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 40px; 
    margin-bottom: 40px; 
}

.footer-logo h2 { font-size: 1.6rem; margin-bottom: 15px; }
.footer-logo p { font-size: 0.95rem; opacity: 0.8; max-width: 320px; }

.footer-links h4 { 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 1.5px; 
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }

.footer-links ul li a { 
    color: var(--white); 
    text-decoration: none; 
    opacity: 0.7; 
    font-size: 0.95rem; 
}

.footer-links ul li a:hover { opacity: 1; }

.footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: 30px; 
    text-align: center; 
    font-size: 0.85rem; 
    opacity: 0.5; 
}

/* --- RESPONSIVE QUERIES --- */

/* Hide nav menu earlier to prevent layout breaking */
@media (max-width: 1180px) {
    .nav-center { display: none; }
}

/* Stack content grid and sidebar on mobile */
@media (max-width: 1000px) {
    .content-grid { 
        grid-template-columns: 1fr; 
    }
}

/* --- UNDER CONSTRUCTION STYLES --- */

/* Centers the hero content vertically between nav and footer */
main.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1; /* This ensures it pushes the footer down */
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Extra large responsive text */
    color: var(--brand-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.8;
}

.construction-tag {
    display: inline-block;
    background-color: var(--highlight-bg);
    color: var(--brand-color);
    padding: 8px 24px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    border: 2px solid var(--brand-color);
}

.construction-line {
    width: 60px;
    height: 4px;
    background-color: var(--brand-color);
    margin: 40px auto 0;
    border-radius: 2px;
    opacity: 0.3;
}