/* Palette: Navy Blue, Gold, White, Light Grey */
:root {
    --navy: #002147;
    --navy-light: #003366;
    --gold: #D4AF37;
    --gold-light: #E5C580;
    --white: #FFFFFF;
    --grey: #F4F4F4;
    --text: #333333;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--white);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }

/* Ticker */
.market-ticker { background: var(--navy); color: var(--white); font-size: 0.8rem; padding: 8px 0; overflow: hidden; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ticker-content { display: inline-block; padding-left: 100%; animation: ticker 25s linear infinite; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Header */
.port-header { background: var(--white); padding: 25px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.header-row { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-serif); font-size: 1.8rem; color: var(--navy); font-weight: 700; letter-spacing: 1px; }
.gold-anchor { color: var(--gold); margin: 0 5px; font-size: 1.5rem; }

.marine-nav a { margin-left: 30px; font-weight: 600; color: #555; font-size: 0.95rem; text-transform: uppercase; }
.marine-nav a:hover, .marine-nav a.active { color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 5px; }

.btn-login { border: 1px solid var(--navy); color: var(--navy); padding: 8px 20px; font-size: 0.8rem; text-transform: uppercase; margin-left: 20px; font-weight: 600; }
.btn-login:hover { background: var(--navy); color: var(--white); }

.mobile-toggle { display: none; background: transparent; border: none; font-family: var(--font-serif); font-size: 1.2rem; cursor: pointer; color: var(--navy); }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100%; background: var(--navy); z-index: 2000; padding: 50px; transition: 0.4s; border-left: 3px solid var(--gold); }
.mobile-menu.active { right: 0; }
.close-btn { background: none; border: none; color: var(--white); font-size: 1.5rem; margin-bottom: 30px; cursor: pointer; }
.mobile-menu a { display: block; color: var(--white); font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }

@media (max-width: 900px) {
    .marine-nav, .btn-login { display: none; }
    .mobile-toggle { display: block; }
}

/* Hero */
.hero-port { height: 80vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 33, 71, 0.6); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 800px; border: 1px solid rgba(212, 175, 55, 0.3); padding: 50px; background: rgba(0,0,0,0.2); backdrop-filter: blur(3px); }

.since { font-family: var(--font-serif); letter-spacing: 3px; color: var(--gold); display: block; margin-bottom: 15px; font-size: 0.9rem; }
.hero-content h1 { font-family: var(--font-serif); font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; }
.gold-separator { width: 80px; height: 3px; background: var(--gold); margin: 0 auto 30px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; font-weight: 300; }

.btn-gold { background: var(--gold); color: var(--navy); padding: 15px 40px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer; transition: 0.3s; display: inline-block; }
.btn-gold:hover { background: var(--white); }
.btn-outline { border: 2px solid var(--white); color: var(--white); padding: 13px 40px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-left: 15px; display: inline-block; }
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* Services Preview */
.section-title h2 { font-family: var(--font-serif); font-size: 2.5rem; color: var(--navy); margin-bottom: 15px; }
.separator-small { width: 50px; height: 3px; background: var(--gold); margin: 0 auto 40px; }
.text-center { text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-box { background: var(--grey); padding: 40px 30px; border-radius: 4px; border: 1px solid #ddd; transition: 0.3s; text-align: center; }
.service-box:hover { transform: translateY(-5px); border-color: var(--gold); background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.icon { font-size: 3rem; margin-bottom: 20px; }
.service-box h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); margin-bottom: 15px; }

/* Location Banner */
.location-banner { background: var(--navy); color: var(--white); padding: 60px 0; margin-top: 50px; }
.loc-flex { display: flex; justify-content: space-between; align-items: center; }
.loc-text h3 { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); margin-bottom: 5px; }
.btn-white { background: var(--white); color: var(--navy); padding: 12px 30px; font-weight: 700; border-radius: 4px; }
.btn-white:hover { background: var(--gold); }

/* About */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-txt h1 { font-family: var(--font-serif); font-size: 3rem; color: var(--navy); line-height: 1.2; margin-bottom: 20px; }
.gold-separator.left { margin: 0 0 30px 0; }
.values-list { list-style: none; margin-top: 30px; }
.values-list li { margin-bottom: 15px; padding-left: 25px; position: relative; font-weight: 600; color: var(--navy); font-family: var(--font-serif); font-size: 1.1rem; }
.values-list li::before { content: '⚓'; position: absolute; left: 0; color: var(--gold); font-size: 0.8rem; top: 5px; }
.about-img img { border: 10px solid var(--white); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

/* Services List */
.services-list { max-width: 900px; margin: 0 auto; }
.s-row { display: flex; align-items: center; gap: 40px; margin-bottom: 50px; border-bottom: 1px solid #eee; padding-bottom: 30px; }
.s-row:last-child { border-bottom: none; }
.s-icon { font-size: 4rem; color: var(--gold); opacity: 0.8; }
.s-content h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); margin-bottom: 10px; }

/* Contact */
.contact-frame { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--white); padding: 60px; box-shadow: 0 5px 30px rgba(0,0,0,0.05); border-top: 5px solid var(--gold); }
.contact-details h2 { font-family: var(--font-serif); color: var(--navy); font-size: 2rem; margin-bottom: 20px; }
.address-block { margin-top: 30px; line-height: 1.8; color: #555; }
.address-block strong { color: var(--gold); display: block; margin-bottom: 10px; font-family: var(--font-serif); font-size: 1.1rem; }

.navy-form .form-group { margin-bottom: 20px; }
.navy-form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 5px; font-size: 0.9rem; }
.navy-form input, .navy-form select, .navy-form textarea { width: 100%; padding: 10px; border: 1px solid #ccc; font-family: var(--font-sans); background: var(--grey); }
.navy-form input:focus, .navy-form select:focus, .navy-form textarea:focus { border-color: var(--navy); outline: none; }
.btn-navy { background: var(--navy); color: var(--white); border: none; padding: 15px; width: 100%; font-weight: 700; cursor: pointer; transition: 0.3s; text-transform: uppercase; }
.btn-navy:hover { background: var(--gold); }

/* Legal */
.legal-doc { max-width: 800px; margin: 0 auto; background: var(--white); padding: 60px; border: 1px solid #eee; }
.legal-doc h1 { font-family: var(--font-serif); color: var(--navy); }

/* Footer */
.port-footer { background: #00152e; color: #aaa; padding: 60px 0 20px; margin-top: 100px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.f-brand h4 { font-family: var(--font-serif); color: var(--white); margin-bottom: 5px; letter-spacing: 1px; }
.f-nav a { margin-left: 20px; color: #aaa; }
.f-nav a:hover { color: var(--gold); }
.copyright { text-align: center; font-size: 0.8rem; border-top: 1px solid #333; padding-top: 20px; }

@media (max-width: 900px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .grid-3, .about-split, .s-row, .contact-frame, .loc-flex { grid-template-columns: 1fr; flex-direction: column; }
    .loc-text { margin-bottom: 20px; text-align: center; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}