/* 
 * S/V Inquisitive - Main Styles
 * Consolidated global styles for consistent layout across all pages
 * 
 * Container Classes:
 * - .container (base): Standard pages with consistent spacing
 * - .standard-container: Pages using default mobile padding (about-me, about-vessel, location)
 * - .trips-container: Trip/Harbor pages with extra mobile padding for multi-line navbar
 * - .contact-container: Contact page with extra mobile padding
 * 
 * Mobile Breakpoints:
 * - 768px: Tablets and smaller
 * - 480px: Phones
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #f5f5f5;
    font-family: 'Playfair Display', Georgia, serif;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem;
    background-color: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        justify-content: space-around;
    }
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    padding: 0.5rem 1rem;
    transition: opacity 0.3s ease;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .nav-link {
        font-size: 13px;
        padding: 0.4rem 0.6rem;
    }
}

.nav-link:hover {
    color: #000;
}

.nav-link.active {
    color: #000;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #000;
}

.container,
.trips-container,
.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem 2rem;
}

/* Mobile: Consistent padding and spacing */
@media (max-width: 768px) {
    .container,
    .trips-container,
    .contact-container {
        padding: 110px 1.5rem 2rem;
    }
    
    h1 {
        font-size: 2rem !important;
        font-weight: 400;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container,
    .trips-container,
    .contact-container {
        padding: 120px 1rem 1.5rem;
    }
    
    h1 {
        font-size: 1.75rem !important;
        font-weight: 400;
        text-align: center;
    }
}

.main-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

h1 {
    font-size: 48px;
    font-weight: 400;
    font-style: italic;
    color: #000;
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.8em;
    margin-bottom: 1rem;
    color: #000;
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.25rem;
    }
}

p {
    font-size: 24px;
    color: #333;
    line-height: 1.6;
}
