:root {
    --ocean-blue: #006994;
    --steel-grey: #B0C4DE;
    --industrial-grey: #37474F;
    --white: #ffffff;
    --light-bg: #ECEFF1;
    
    --font-head: 'Titillium Web', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--light-bg);
    color: var(--industrial-grey);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Info Bar */
.port-info-bar { background: var(--industrial-grey); color: var(--steel-grey); font-size: 0.8rem; padding: 5px 0; text-align: center; font-family: var(--font-head); letter-spacing: 1px; }
.port-info-bar span { margin: 0 15px; }

/* Header */
.maritime-header { background: var(--white); padding: 15px 0; box-shadow: 0 4px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--ocean-blue); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--ocean-blue); display: flex; align-items: center; gap: 10px; }
.steel { color: var(--industrial-grey); }
.anchor { font-size: 1.8rem; transform: rotate(-15deg); display: inline-block; }

.port-nav a { margin-left: 20px; font-weight: 700; color: #555; font-family: var(--font-head); font-size: 1.1rem; }
.port-nav a:hover, .port-nav a.active { color: var(--ocean-blue); }

.btn-blue { background: var(--ocean-blue); color: var(--white) !important; padding: 8px 20px; border-radius: 4px; font-weight: bold; font-family: var(--font-head); }
.btn-blue:hover { background: var(--industrial-grey); }

/* Mobile Menu */
.mobile-toggle { display: none; font-family: var(--font-head); font-weight: bold; cursor: pointer; border: 2px solid var(--ocean-blue); color: var(--ocean-blue); padding: 5px 10px; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--industrial-grey); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; border-left: 5px solid var(--ocean-blue); }
.mobile-menu.open { right: 0; }
.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: 2px solid var(--white); color: var(--white); font-size: 2rem; cursor: pointer; padding: 0 10px; }
.mobile-menu a { font-family: var(--font-head); font-size: 2rem; color: var(--white); margin: 15px 0; font-weight: bold; }

/* Hero */
.hero-port { height: 80vh; background-size: cover; background-position: center; position: relative; }
.hero-blue-overlay { width: 100%; height: 100%; background: linear-gradient(to right, rgba(0, 105, 148, 0.85) 0%, rgba(0, 105, 148, 0.2) 100%); display: flex; align-items: center; }
.hero-content { margin-left: 10%; color: var(--white); max-width: 600px; }
.port-code { font-family: 'Courier New', monospace; background: rgba(0,0,0,0.5); padding: 5px 10px; font-weight: bold; border: 1px solid var(--steel-grey); display: inline-block; margin-bottom: 15px; }
.hero-content h1 { font-family: var(--font-head); font-size: 4rem; line-height: 1; margin-bottom: 20px; text-shadow: 2px 2px 0 rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; border-left: 5px solid var(--steel-grey); padding-left: 15px; }

.vessel-schedule { background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); padding: 20px; border: 1px solid var(--steel-grey); border-radius: 4px; }
.vessel-schedule h3 { font-family: var(--font-head); color: var(--steel-grey); margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 5px; }
.vessel-schedule ul { list-style: none; font-family: 'Courier New', monospace; font-size: 0.9rem; }
.vessel-schedule li { margin-bottom: 5px; }

/* Operations */
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-family: var(--font-head); font-size: 3rem; color: var(--industrial-grey); margin-bottom: 10px; }
.steel-bar { width: 100px; height: 10px; background: var(--steel-grey); margin: 0 auto; border-radius: 5px; }
.steel-bar.left { margin: 20px 0; }

.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.op-card { background: var(--white); border: 1px solid #ccc; transition: 0.3s; }
.op-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-5px); }
.op-card img { width: 100%; height: 250px; object-fit: cover; border-bottom: 5px solid var(--ocean-blue); }
.op-content { padding: 25px; }
.op-content h3 { font-family: var(--font-head); font-size: 1.5rem; color: var(--ocean-blue); margin-bottom: 10px; }

/* Stats */
.port-stats { background: var(--industrial-grey); color: var(--white); padding: 50px 0; margin-top: 50px; border-top: 5px solid var(--steel-grey); }
.stats-row { display: flex; justify-content: space-around; text-align: center; }
.stat-item strong { display: block; font-family: var(--font-head); font-size: 4rem; color: var(--steel-grey); line-height: 1; }
.stat-item span { font-weight: bold; letter-spacing: 2px; font-size: 1rem; }

/* About & Contact */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.text-area h1 { font-family: var(--font-head); font-size: 3rem; color: var(--ocean-blue); }
.service-list { list-style: none; margin-top: 30px; font-weight: bold; color: var(--industrial-grey); }
.service-list li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.service-list li::before { content: '⚓'; position: absolute; left: 0; color: var(--ocean-blue); font-size: 0.8rem; top: 4px; }
.img-area img { width: 100%; border: 10px solid var(--white); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.tech-spec { background: var(--ocean-blue); color: var(--white); padding: 10px; text-align: center; font-weight: bold; margin-top: -5px; position: relative; z-index: 1; width: 80%; margin-left: auto; margin-right: auto; }

.contact-terminal { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--white); padding: 50px; border: 1px solid #ddd; }
.info-sidebar { background: var(--light-bg); padding: 30px; border-left: 5px solid var(--ocean-blue); }
.info-sidebar h2 { font-family: var(--font-head); color: var(--industrial-grey); margin-bottom: 20px; }
.port-data p { margin-bottom: 10px; font-weight: bold; }

.industrial-form .form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.input-wrap { flex: 1; }
.industrial-form label { display: block; font-weight: bold; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 5px; color: var(--ocean-blue); }
.industrial-form input, .industrial-form select, .industrial-form textarea { width: 100%; padding: 12px; border: 2px solid #ddd; background: var(--light-bg); font-family: var(--font-body); }
.industrial-form input:focus { border-color: var(--ocean-blue); outline: none; }
.btn-submit { width: 100%; background: var(--industrial-grey); color: var(--white); border: none; padding: 15px; font-family: var(--font-head); font-weight: bold; font-size: 1.2rem; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background: var(--ocean-blue); }

/* Partners & Legal */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.partner-box { background: var(--white); padding: 30px; border: 1px solid #ccc; border-radius: 4px; }
.partner-box.highlight { border-color: var(--ocean-blue); background: #f0f7fa; }
.p-header { font-family: var(--font-head); font-weight: bold; font-size: 1.3rem; margin-bottom: 15px; color: var(--industrial-grey); }
.partner-box p { font-style: italic; color: #555; margin-bottom: 20px; }
.p-role { font-weight: bold; color: var(--ocean-blue); font-size: 0.8rem; text-transform: uppercase; }

.legal-doc { max-width: 800px; margin: 0 auto; background: var(--white); padding: 60px; border: 1px solid #ddd; }
.legal-doc h1 { font-family: var(--font-head); color: var(--ocean-blue); }
.legal-doc h3 { color: var(--industrial-grey); margin-top: 30px; border-bottom: 2px solid var(--steel-grey); padding-bottom: 5px; display: inline-block; }

/* Footer */
.maritime-footer { background: #263238; color: #ccc; padding: 60px 0 20px; margin-top: 80px; border-top: 5px solid var(--ocean-blue); }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #37474f; padding-bottom: 30px; margin-bottom: 20px; }
.f-col h4 { color: var(--white); font-family: var(--font-head); margin-bottom: 5px; font-size: 1.5rem; }
.f-col.right a { color: var(--steel-grey); margin-left: 20px; font-weight: bold; }
.f-col.right a:hover { color: var(--white); }
.copyright { text-align: center; font-size: 0.8rem; font-family: var(--font-head); }

/* Cookie */
.cookie-port { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--industrial-grey); color: var(--white); padding: 15px; display: flex; justify-content: center; align-items: center; gap: 20px; z-index: 9999; transform: translateY(100%); transition: 0.5s; }
.cookie-port.active { transform: translateY(0); }
.cookie-port button { background: var(--ocean-blue); color: var(--white); border: none; padding: 5px 20px; font-family: var(--font-head); font-weight: bold; cursor: pointer; }

@media (max-width: 900px) {
    .port-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 3rem; }
    .ops-grid, .about-grid, .partner-grid, .contact-terminal, .stats-row, .industrial-form .form-row { grid-template-columns: 1fr; }
    .stats-row { gap: 30px; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
}