/* css/style.css */
:root {
    --primary: #0A192F;
    --primary-light: #112240;
    --accent: #2C7A7B;
    --accent-hover: #235F5F;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-white: #ffffff;
    --bg-light: #F8FAFC;
    --border-color: #e2e8f0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; font-family: 'Inter', sans-serif; color: var(--text-main); line-height: 1.6; }
body { background-color: var(--bg-white); overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 { color: var(--primary); font-weight: 700; line-height: 1.2; }
p { margin-bottom: 1rem; }
a { text-decoration: none; color: var(--accent); transition: var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.bg-light { background-color: var(--bg-light); }

/* Typography Helpers */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.max-w-3xl { max-width: 48rem; }
.lead { font-size: 1.125rem; color: var(--text-muted); }

.section-title { font-size: 3.5rem; margin-bottom: 0.5rem; font-weight: 800; letter-spacing: -1px; }
.divider { height: 4px; width: 80px; background: var(--accent); margin-bottom: 3rem; border-radius: 2px; }

/* Buttons */
.btn { display: inline-block; padding: 1rem 2.5rem; border-radius: 50px; font-weight: 600; font-size: 1.1rem; cursor: pointer; transition: var(--transition); border: 2px solid transparent; text-transform: uppercase; letter-spacing: 1px; }
.btn-primary { background-color: var(--accent); color: white; }
.btn-primary:hover { background-color: var(--accent-hover); color: white; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: transparent; color: white; border-color: rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: white; color: var(--primary); background-color: white; }
.btn-primary-sm { background-color: var(--accent); color: white !important; padding: 0.8rem 1.75rem !important; border-radius: 50px; font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.btn-primary-sm:hover { background-color: var(--accent-hover); }
.btn-outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: white; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); transition: var(--transition); padding: 1.5rem 0; }
.navbar.scrolled { padding: 1rem 0; box-shadow: var(--shadow-md); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2.25rem; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 2.5rem; }
.nav-link { color: var(--primary); font-weight: 600; font-size: 1.1rem; }
.nav-link:hover { color: var(--accent); }

/* Dropdown */
.nav-menu li.dropdown { position: relative; }
.dropdown-arrow { font-size: 0.8rem; margin-left: 2px; vertical-align: middle; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background-color: var(--bg-white); min-width: 230px; box-shadow: var(--shadow-lg); border-radius: 8px; padding: 0.5rem 0; z-index: 100; border: 1px solid var(--border-color); margin-top: 10px; }
.dropdown-menu::before { content: ''; position: absolute; top: -15px; left: 0; width: 100%; height: 15px; background: transparent; }
.nav-menu li.dropdown:hover .dropdown-menu { display: block; animation: fadeIn 0.2s ease; }
.dropdown-link { display: block; padding: 0.75rem 1.5rem; color: var(--text-main); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
.dropdown-link:hover { background-color: var(--bg-light); color: var(--accent); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--primary); transition: var(--transition); }

/* Hero Section */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding-top: 80px; overflow: hidden; background-color: var(--primary); }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.7) 100%), url('../images/aerial-sailing.jpg') center/cover no-repeat; z-index: 1; opacity: 0.7; }
.hero-content { position: relative; z-index: 2; color: white; max-width: 1000px; text-align: center; }
.hero .badge { display: inline-block; padding: 0.5rem 1rem; background: rgba(44, 122, 123, 0.2); border: 1px solid rgba(44, 122, 123, 0.5); border-radius: 50px; color: #81E6D9; font-size: 1rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 2rem; }
.hero h1 { font-size: 5.5rem; color: white; margin-bottom: 1.5rem; line-height: 1.05; font-weight: 800; letter-spacing: -2px; }
.hero h1 span { color: #81E6D9; }
.hero p { font-size: 1.5rem; color: #E2E8F0; margin: 0 auto 3rem auto; font-weight: 300; max-width: 800px; line-height: 1.5; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; }

/* Grids Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* Image styling */
.radius-image { border-radius: 12px; }
.shadow-lg { box-shadow: var(--shadow-lg); }
.image-wrapper { position: relative; }
.image-wrapper::before { content: ''; position: absolute; top: -20px; right: -20px; width: 100%; height: 100%; border: 2px solid var(--accent); border-radius: 12px; z-index: -1; }

/* Cards */
.card { background: white; padding: 2.5rem 2rem; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); transition: var(--transition); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(44, 122, 123, 0.3); }
.card-icon { width: 50px; height: 50px; background: var(--bg-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; border-radius: 50%; margin-bottom: 1.5rem; border: 1px solid rgba(44, 122, 123, 0.2); }
.card h3 { margin-bottom: 1rem; font-size: 1.25rem; }

.quote-box { background: var(--primary); color: white; padding: 2rem; border-radius: 8px; position: relative; border-left: 4px solid var(--accent); }
.quote-box p { margin: 0; font-size: 1.25rem; font-style: italic; color: #E2E8F0; }

/* Job Section */
.job-card { background: white; padding: 2rem; border-radius: 8px; box-shadow: var(--shadow-md); border-left: 4px solid var(--accent); }
.job-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.job-details-panel { background: white; padding: 2rem; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); height: 100%; }
.styled-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; }
.styled-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

/* Back to Top Button */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; background-color: var(--accent); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: 999; opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background-color: var(--accent-hover); color: white; transform: translateY(-5px); }

/* Legal Pages */
.legal-section { padding: 120px 0 60px; min-height: 100vh; }
.legal-card { background: var(--bg-white); padding: 3rem; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.legal-content h1 { color: var(--primary); margin-bottom: 1.5rem; word-break: break-word; hyphens: auto; }
.legal-content h4, .legal-content h5 { color: var(--primary); margin-top: 2rem; margin-bottom: 1rem; }
.legal-content p { margin-bottom: 1rem; word-wrap: break-word; hyphens: auto; }

/* Footer */
.footer { background-color: var(--primary); color: #CBD5E1; padding-top: 5rem; }
.footer-grid { margin-bottom: 3rem; }
.footer h4 { color: white; margin-bottom: 1.5rem; font-size: 1.125rem; }
.footer-logo { color: white; display: block; margin-bottom: 1rem; }
.contact-list li, .footer-links li { margin-bottom: 0.75rem; }
.footer-links a, .contact-list a { color: #CBD5E1; }
.footer-links a:hover, .contact-list a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom { background-color: var(--primary-light); padding: 1.5rem 0; font-size: 0.9rem; }
.footer-bottom p { margin: 0; }

/* Animations */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.appear, .fade-in-left.appear, .fade-in-right.appear { opacity: 1; transform: translate(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.8rem; letter-spacing: -1px; word-break: break-word; hyphens: auto; }
    .hero p { font-size: 1.25rem; }
    .section-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    nav { position: absolute; }
    .menu-toggle { display: block; margin-left: auto; }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .nav-menu { position: fixed; left: -100%; top: 70px; gap: 0; flex-direction: column; background-color: var(--bg-white); width: 100%; text-align: center; transition: 0.3s; box-shadow: var(--shadow-md); padding: 1rem 0; }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 1.5rem 0; width: 100%; }
    .nav-menu li.dropdown .dropdown-menu { display: none; position: static; box-shadow: none; border: none; background: var(--bg-light); border-radius: 8px; margin: 1rem auto 0 auto; width: 90%; padding: 0.5rem 0; animation: none; }
    .nav-menu li.dropdown.mobile-open .dropdown-menu { display: block; animation: fadeIn 0.3s ease; }
    .dropdown-link { padding: 0.75rem 1rem; font-size: 1.05rem; color: var(--primary); font-weight: 500; border-bottom: 1px solid var(--border-color); }
    .dropdown-link:last-child { border-bottom: none; }
    .dropdown-link:hover { background: transparent; }
    .hero h1 { font-size: 1.6rem; word-break: normal; hyphens: none; padding: 0 1rem; }
    .hero p { font-size: 1.1rem; padding: 0 1rem; }
    .hero-actions { flex-direction: column; gap: 1rem; margin-bottom: 2rem; width: 100%; padding: 0 1.5rem; }
    .hero-actions .btn { width: 100%; padding: 1rem; text-align: center; }
    .radius-image { width: 100%; }
    .image-wrapper::before { top: -10px; right: -10px; }
    .back-to-top { bottom: 1.5rem; right: 1.25rem; width: 40px; height: 40px; }
    
    .legal-section { padding: 100px 0 40px; }
    .legal-card { padding: 1.5rem; }
    .legal-content h1 { font-size: 2.2rem; }
    .legal-content p { font-size: 1rem; }
}
