/* Palette: Navy Blue, Lighthouse Red, White, Sand */
:root {
    --navy: #003366;
    --navy-light: #004C99;
    --red: #FF4500;
    --white: #FFFFFF;
    --sand: #F5F5DC;
    --text: #333333;
    
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Montserrat', 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; border-radius: 4px; }

/* Header */
.lighthouse-header { padding: 20px 0; background: var(--white); border-bottom: 4px solid var(--navy); position: sticky; top: 0; z-index: 1000; }
.header-row { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); font-weight: 700; letter-spacing: 1px; }
.red-beacon { color: var(--red); }

.marine-nav a { margin-left: 25px; font-weight: 600; color: var(--navy); text-transform: uppercase; font-size: 0.9rem; }
.marine-nav a:hover, .marine-nav a.active { color: var(--red); border-bottom: 2px solid var(--red); }

.mobile-btn { display: none; background: transparent; border: 1px solid var(--navy); color: var(--navy); padding: 5px 10px; cursor: pointer; font-weight: 600; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 250px; height: 100%; background: var(--navy); z-index: 2000; padding: 40px; transition: 0.4s; }
.mobile-menu.active { right: 0; }
.close-btn { background: none; border: none; color: var(--white); font-size: 1.2rem; margin-bottom: 20px; cursor: pointer; }
.mobile-menu a { display: block; color: var(--white); margin-bottom: 15px; font-weight: 600; font-size: 1.1rem; }

@media (max-width: 900px) {
    .marine-nav { display: none; }
    .mobile-btn { display: block; }
}

/* Hero */
.hero-marine { 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, 51, 102, 0.4); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 800px; }

.hero-content h1 { font-family: var(--font-serif); font-size: 3.5rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; }

.search-box { background: rgba(255,255,255,0.9); padding: 20px; border-radius: 8px; display: flex; gap: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.search-box select { flex: 1; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: var(--font-sans); }
.btn-search { background: var(--red); color: var(--white); border: none; padding: 12px 30px; font-weight: 700; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.btn-search:hover { background: #d63a00; }

/* Regions */
.section-title h2 { font-family: var(--font-serif); font-size: 2.5rem; color: var(--navy); margin-bottom: 5px; }
.wave-icon { color: var(--red); font-size: 1.5rem; margin-bottom: 40px; letter-spacing: 5px; }
.text-center { text-align: center; }
.wave-icon.left { text-align: left; letter-spacing: 5px; margin: 10px 0 30px; }

.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.region-card { position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.region-card img { width: 100%; height: 350px; object-fit: cover; transition: 0.5s; }
.region-card:hover img { transform: scale(1.1); }
.r-info { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: var(--white); padding: 20px; }
.r-info h3 { font-family: var(--font-serif); margin-bottom: 5px; }

/* Service Strip */
.service-strip { background: var(--navy); color: var(--white); padding: 60px 0; margin-top: 50px; }
.strip-flex { display: flex; justify-content: space-around; text-align: center; }
.s-item .icon { font-size: 2.5rem; display: block; margin-bottom: 15px; }
.s-item h4 { font-family: var(--font-serif); margin-bottom: 10px; }
.s-item p { font-size: 0.9rem; opacity: 0.8; }

/* About */
.about-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h1 { font-family: var(--font-serif); font-size: 3rem; color: var(--navy); line-height: 1.2; }
.beacon-list { list-style: none; margin-top: 30px; }
.beacon-list li { margin-bottom: 15px; padding-left: 25px; position: relative; font-weight: 600; color: var(--navy); }
.beacon-list li::before { content: '⚓'; position: absolute; left: 0; color: var(--red); font-size: 0.8rem; top: 4px; }
.about-img img { border: 10px solid var(--sand); }

/* Testimonials */
.reviews-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-box { background: var(--sand); padding: 30px; border-radius: 8px; position: relative; }
.review-box.highlight { background: var(--navy); color: var(--white); }
.location-tag { font-size: 0.8rem; letter-spacing: 2px; font-weight: 700; margin-bottom: 15px; display: block; color: var(--red); }
.review-box p { font-style: italic; margin-bottom: 20px; font-family: var(--font-serif); }
.client { font-weight: 600; font-size: 0.9rem; text-align: right; }

/* Contact */
.contact-card-marine { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; background: var(--white); padding: 60px; border: 1px solid #eee; box-shadow: 0 10px 40px rgba(0,51,102,0.05); }
.contact-intro h2 { font-family: var(--font-serif); color: var(--navy); font-size: 2.5rem; margin-bottom: 20px; }
.c-icons { margin-top: 30px; }
.c-icons p { margin-bottom: 10px; font-weight: 600; }

.sea-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.sea-form input, .sea-form select, .sea-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; background: #f9f9f9; font-family: var(--font-sans); margin-bottom: 15px; }
.btn-navy { background: var(--navy); color: var(--white); border: none; padding: 15px; width: 100%; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-navy:hover { background: var(--red); }

/* Legal */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-family: var(--font-serif); color: var(--navy); }

/* Footer */
.lighthouse-footer { background: var(--navy); color: var(--white); 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); font-size: 1.5rem; margin-bottom: 5px; }
.f-links a { margin-left: 20px; color: #ddd; }
.f-links a:hover { color: var(--red); }
.copyright { text-align: center; font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

@media (max-width: 900px) {
    .hero-content h1 { font-size: 2.5rem; }
    .search-box { flex-direction: column; }
    .region-grid, .strip-flex, .about-flex, .reviews-container, .contact-card-marine, .sea-form .form-row { grid-template-columns: 1fr; }
    .strip-flex { gap: 30px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}