/* Palette: Brick Red, Steel Blue, Canvas, Dark Grey */
:root {
    --brick: #8B3A3A;
    --brick-light: #a64d4d;
    --steel: #4682B4;
    --canvas: #F5F5DC;
    --grey: #2F2F2F;
    --text: #333333;
    
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--canvas);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1100px; 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; border-radius: 4px; }

/* Header */
.harbor-header { background: var(--grey); padding: 20px 0; position: sticky; top: 0; z-index: 1000; color: #fff; border-bottom: 5px solid var(--brick); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-serif); font-size: 1.8rem; color: #fff; font-weight: 900; letter-spacing: 1px; }
.brick-block { background: var(--brick); padding: 2px 5px; margin-left: 5px; }

.port-status { font-family: var(--font-sans); font-size: 0.8rem; color: var(--steel); border: 1px solid var(--steel); padding: 5px 10px; }
.port-status span { margin: 0 5px; }

.dock-nav a { margin-left: 20px; font-family: var(--font-sans); font-weight: 500; color: #ccc; text-transform: uppercase; font-size: 0.9rem; }
.dock-nav a:hover, .dock-nav a.active { color: var(--steel); }

.mobile-anchor { display: none; background: transparent; border: 1px solid #fff; color: #fff; padding: 5px 10px; cursor: pointer; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100%; background: var(--brick); z-index: 2000; padding: 50px; transition: 0.4s; }
.mobile-menu.active { right: 0; }
.close-btn { background: none; border: none; font-size: 1rem; color: #fff; margin-bottom: 30px; cursor: pointer; border-bottom: 1px solid #fff; }
.mobile-menu a { display: block; font-family: var(--font-serif); font-size: 1.5rem; color: #fff; margin-bottom: 20px; }

@media (max-width: 900px) {
    .dock-nav, .port-status { display: none; }
    .mobile-anchor { display: block; }
}

/* Hero */
.hero-harbor { 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; filter: sepia(30%); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(47, 47, 47, 0.7); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 800px; padding: 40px; border: 2px solid var(--brick); background: rgba(0,0,0,0.5); }

.est { font-family: var(--font-serif); font-style: italic; color: var(--steel); display: block; margin-bottom: 10px; }
.hero-content h1 { font-family: var(--font-serif); font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 900; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; font-weight: 300; }

.btn-container { display: flex; justify-content: center; gap: 20px; }
.btn-brick { background: var(--brick); color: #fff; padding: 15px 30px; font-weight: 700; text-transform: uppercase; border: none; cursor: pointer; transition: 0.3s; }
.btn-brick:hover { background: var(--brick-light); }
.btn-steel { background: var(--steel); color: #fff; padding: 15px 30px; font-weight: 700; text-transform: uppercase; border: none; cursor: pointer; transition: 0.3s; }
.btn-steel:hover { background: #5b9bd5; }

/* Flow Section */
.section-head h2 { font-family: var(--font-serif); font-size: 2.5rem; color: var(--grey); margin-bottom: 10px; }
.wave-separator { color: var(--steel); font-size: 1.5rem; margin-bottom: 40px; letter-spacing: 5px; }
.text-center { text-align: center; }

.flow-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.flow-card { background: #fff; padding: 30px; border: 1px solid #ccc; flex: 1; text-align: center; box-shadow: 5px 5px 0 var(--brick); transition: 0.3s; }
.flow-card:hover { transform: translateY(-5px); }
.icon { font-size: 3rem; margin-bottom: 15px; }
.flow-card h3 { font-family: var(--font-serif); margin-bottom: 10px; color: var(--brick); }
.flow-arrow { font-size: 2rem; color: var(--steel); }

/* Brick Banner */
.brick-banner { background: var(--brick); color: #fff; padding: 60px 0; margin-top: 50px; text-align: center; background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.05) 10px, rgba(0,0,0,0.05) 20px); }
.banner-content h3 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 10px; }

/* About */
.about-brick { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-text h1 { font-family: var(--font-serif); font-size: 3rem; color: var(--grey); line-height: 1.1; margin-bottom: 20px; }
.brick-line { width: 80px; height: 6px; background: var(--brick); margin-bottom: 30px; }
.brick-line.left { margin-right: auto; }
.check-list { list-style: none; margin-top: 30px; }
.check-list li { margin-bottom: 10px; padding-left: 25px; position: relative; font-weight: 700; color: var(--grey); }
.check-list li::before { content: '⚓'; position: absolute; left: 0; color: var(--steel); font-size: 0.8rem; top: 4px; }
.about-img img { border: 10px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Services List */
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-panel { background: #fff; border: 1px solid #ccc; display: flex; padding: 30px; align-items: flex-start; gap: 20px; transition: 0.3s; }
.service-panel:hover { border-color: var(--steel); box-shadow: 0 5px 15px rgba(70, 130, 180, 0.1); }
.panel-icon { font-size: 2.5rem; }
.panel-content h3 { font-family: var(--font-serif); color: var(--grey); margin-bottom: 10px; }

/* Contact Form */
.contact-card { background: #fff; max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.card-left { background: var(--grey); color: #fff; padding: 50px; }
.card-left h2 { font-family: var(--font-serif); margin-bottom: 20px; color: var(--steel); }
.office-info { margin-top: 40px; border-top: 1px solid #555; padding-top: 20px; }
.office-info strong { display: block; color: var(--brick); margin-bottom: 10px; font-family: var(--font-serif); }

.port-form { padding: 50px; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-weight: 700; font-size: 0.8rem; margin-bottom: 5px; color: var(--grey); text-transform: uppercase; }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 10px; border: 2px solid #eee; background: var(--canvas); font-family: var(--font-sans); }
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { border-color: var(--brick); outline: none; background: #fff; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full { width: 100%; }

/* Legal */
.legal-paper { max-width: 800px; margin: 0 auto; background: #fff; padding: 60px; border: 1px solid #ccc; }
.legal-paper h1 { font-family: var(--font-serif); color: var(--grey); }

/* Footer */
.harbor-footer { background: var(--grey); color: #888; padding: 60px 0 20px; margin-top: 100px; border-top: 5px solid var(--brick); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.f-col h4 { font-family: var(--font-serif); color: #fff; font-size: 1.5rem; margin-bottom: 5px; }
.f-links a { margin-left: 20px; color: #888; }
.f-links a:hover { color: var(--steel); }
.copyright { text-align: center; font-size: 0.8rem; border-top: 1px solid #444; padding-top: 20px; }

@media (max-width: 900px) {
    .hero-content h1 { font-size: 2.5rem; }
    .flow-grid { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); margin: 10px 0; }
    .about-brick, .services-list, .contact-card, .row { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}