/* Oceavue Yacht Rentals - Main Stylesheet */
:root {
    --deep-blue: #113F67;
    --ocean-blue: #34699A;
    --sky-blue: #58A0C8;
    --sand-yellow: #FDF5AA;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

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

body {
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    color: var(--deep-blue);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Changa', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

p, li, span {
    font-family: 'Alegreya Sans', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--ocean-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--deep-blue);
}

/* Navigation */
.navbar-custom {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ocean-blue) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(17, 63, 103, 0.15);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-scrolled {
    padding: 0.5rem 0;
    background: rgba(17, 63, 103, 0.95);
}

.navbar-brand {
    font-family: 'Changa', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sand-yellow) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--sand-yellow) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--sand-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28253, 245, 170, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(45deg, rgba(17, 63, 103, 0.8), rgba(52, 105, 154, 0.6)), url('../images/banner.jpg') center/cover;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23FDF5AA" opacity="0.1"><path d="M0,50 Q250,0 500,50 T1000,50 V100 H0 Z"/></svg>') repeat-x bottom;
    pointer-events: none;
}

.hero-content {
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-family: 'Alegreya Sans', sans-serif;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--sand-yellow), #fef6b8);
    border: none;
    color: var(--deep-blue);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(253, 245, 170, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(253, 245, 170, 0.5);
    color: var(--deep-blue);
}

.btn-secondary-custom {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-left: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary-custom:hover {
    background: var(--white);
    color: var(--deep-blue);
    transform: translateY(-3px);
}

/* Floating elements animation */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Section Styling */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--sand-yellow), var(--sky-blue));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--ocean-blue);
    margin-bottom: 3rem;
    font-family: 'Alegreya Sans', sans-serif;
}

/* Seasonal Packages */
.package-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(17, 63, 103, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, var(--sand-yellow), var(--sky-blue));
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(17, 63, 103, 0.2);
}

.package-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.package-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--deep-blue);
}

.package-description {
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ocean-blue);
    margin-bottom: 20px;
}

.package-features {
    list-style: none;
    margin-bottom: 25px;
}

.package-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 30px;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sky-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Interactive Map Section */
.map-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.map-container {
    position: relative;
    height: 500px;
    background: url('../images/map-con.jpg') center/cover;
    border-radius: 20px;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 63, 103, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: var(--white);
}

.region-buttons {
    margin-top: 30px;
}

.region-btn {
    background: var(--sand-yellow);
    color: var(--deep-blue);
    border: none;
    padding: 12px 25px;
    margin: 0 10px 10px 0;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.region-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Yacht Matchmaker Quiz */
.quiz-section {
    background: var(--deep-blue);
    color: var(--white);
    position: relative;
}

.quiz-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.quiz-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quiz-question {
    margin-bottom: 25px;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.quiz-option {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.quiz-option:hover {
    background: var(--sand-yellow);
    color: var(--deep-blue);
    border-color: var(--sand-yellow);
}

.quiz-option.selected {
    background: var(--sand-yellow);
    color: var(--deep-blue);
    border-color: var(--sand-yellow);
}

/* Video Testimonials */
.testimonial-slider {
    background: var(--light-gray);
}

.testimonial-slide {
    text-align: center;
    padding: 40px 20px;
}

.testimonial-video {
    width: 100%;
    max-width: 500px;
    height: 300px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.testimonial-content {
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.testimonial-author {
    font-weight: 600;
    color: var(--deep-blue);
    font-size: 1.1rem;
}

/* Weather Widget */
.weather-section {
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--ocean-blue) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.weather-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="none"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"><animate attributeName="r" values="2;20;2" dur="3s" repeatCount="indefinite"/></circle></svg>') repeat;
    animation: waves 20s linear infinite;
    pointer-events: none;
}
.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}
.weather-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.weather-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--sand-yellow);
}

.weather-temp {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.weather-conditions {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.sailing-status {
    padding: 15px 30px;
    background: var(--sand-yellow);
    color: var(--deep-blue);
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
}

/* Booking Checklist */
.checklist-section {
    background: var(--white);
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.checklist-icon {
    font-size: 2rem;
    color: var(--ocean-blue);
    margin-right: 20px;
    flex-shrink: 0;
}

.checklist-content h4 {
    color: var(--deep-blue);
    margin-bottom: 10px;
}

.checklist-content p {
    color: var(--dark-gray);
    margin: 0;
}

/* Captain's Corner */
.captains-corner {
    background: linear-gradient(45deg, var(--deep-blue) 0%, var(--ocean-blue) 100%);
    color: var(--white);
    position: relative;
}

.blog-teaser {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-post {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-date {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-excerpt {
    opacity: 0.9;
    margin-bottom: 15px;
}

.blog-link {
    color: var(--sand-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Trust Badges */
.trust-section {
    background: var(--light-gray);
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    opacity: 1;
    transform: scale(1.05);
}

.trust-badge img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.trust-badge:hover img {
    filter: grayscale(0);
}

.trust-badge span {
    font-weight: 600;
    color: var(--deep-blue);
}

/* Footer */
.footer {
    background: var(--deep-blue);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, var(--sand-yellow), var(--sky-blue));
}

.footer-logo {
    font-family: 'Changa', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--sand-yellow);
    margin-bottom: 20px;
}

.footer-description {
    margin-bottom: 30px;
    opacity: 0.9;
}

.footer-social {
    margin-bottom: 40px;
}

.social-link {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: var(--ocean-blue);
    color: var(--white);
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--sand-yellow);
    color: var(--deep-blue);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--sand-yellow);
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--deep-blue);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
}

.cookie-text a {
    color: var(--sand-yellow);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--sand-yellow);
    color: var(--deep-blue);
}

.cookie-decline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

/* Form Styles */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--ocean-blue);
    box-shadow: 0 0 0 0.2rem rgba(52, 105, 154, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 8px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes waves {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn-secondary-custom {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .quiz-container {
        padding: 30px 20px;
    }
    
    .quiz-options {
        grid-template-columns: 1fr;
    }
}

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ocean-blue) 100%);
    color: var(--white);
    padding: 170px 0 140px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff"><path d="M0,100 Q250,0 500,50 T1000,0 V100 Z"/></svg>') no-repeat center bottom;
    background-size: cover;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Service Cards */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(17, 63, 103, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(17, 63, 103, 0.2);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-icon {
    font-size: 3rem;
    color: var(--ocean-blue);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--deep-blue);
}

.service-description {
    color: var(--dark-gray);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sky-blue);
    font-weight: bold;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean-blue);
    margin-bottom: 20px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(17, 63, 103, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, var(--sand-yellow), var(--sky-blue));
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(17, 63, 103, 0.2);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 25px;
    border: 5px solid var(--sand-yellow);
    transition: all 0.3s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--deep-blue);
}

.team-role {
    color: var(--ocean-blue);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.team-bio {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    color: var(--ocean-blue);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social a:hover {
    background: var(--ocean-blue);
    color: var(--white);
    transform: translateY(-3px);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--sand-yellow), var(--sky-blue));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    text-align: left;
}

.timeline-content {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(17, 63, 103, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 30px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 30px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: var(--white);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean-blue);
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--deep-blue);
}

.timeline-description {
    color: var(--dark-gray);
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--sand-yellow);
    border-radius: 50%;
    top: 30px;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--ocean-blue);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(17, 63, 103, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
}

.valid-feedback {
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Map Embed */
.map-embed {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(17, 63, 103, 0.1);
}

.map-embed iframe {
    width: 100%;
    height: 400px;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(17, 63, 103, 0.1);
}

.faq-accordion .accordion-button {
    background: var(--white);
    color: var(--deep-blue);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 25px 30px;
    border: none;
    border-radius: 15px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--ocean-blue);
    color: var(--white);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.faq-accordion .accordion-body {
    padding: 30px;
    background: var(--light-gray);
    color: var(--dark-gray);
    font-size: 1.1rem;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(17, 63, 103, 0.1);
}

.legal-content h2 {
    color: var(--deep-blue);
    margin-bottom: 20px;
    margin-top: 40px;
    font-size: 1.8rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--ocean-blue);
    margin-bottom: 15px;
    margin-top: 30px;
    font-size: 1.4rem;
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 10px;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--ocean-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--deep-blue);
    transform: translateY(-3px);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--ocean-blue), var(--sky-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-ocean {
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--sky-blue) 100%);
}

.bg-sand {
    background: var(--sand-yellow);
}

.text-ocean {
    color: var(--ocean-blue);
}

.text-sand {
    color: var(--sand-yellow);
}

.shadow-custom {
    box-shadow: 0 15px 40px rgba(17, 63, 103, 0.1);
}

.rounded-custom {
    border-radius: 20px;
}

/* Print Styles */
@media print {
    .navbar, .cookie-banner, .back-to-top {
        display: none !important;
    }
    
    .hero-section {
        height: auto;
        padding: 50px 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-padding {
        padding: 30px 0;
    }
}