/* Add Cairo font integration */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
    --primary: #0A192F;
    --primary-dark: #071527;
    --secondary: #112240;
    --white: #fff;
    --gold: #CCA462;
    --gray: #8892b0;
    --light-gray: #a8b2d1;
}

/* Apply Cairo font globally */
* {
    font-family: 'Cairo', sans-serif !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary);
    color: var(--white);
    overflow-x: hidden;
    font-family: 'Cairo', sans-serif;
}

/* Core Layout Elements */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-primary {
    background-color: var(--primary);
    padding: 60px 0;
}

.section-secondary {
    background-color: var(--secondary);
    padding: 60px 0;
}

.page-spacing {
    height: 75px;
}

/* Typography & Headlines */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 2rem;
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

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

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

/* Glass Effect */
.glass-effect {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(204, 164, 98, 0.2);
    border-radius: 12px;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    padding: 12px 0;
}

.navbar.scrolled {
    background-color: rgba(10, 25, 47, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    color: var(--white);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
    right: auto;
    left: 0;
}

.nav-link:hover {
    color: var(--gold);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: right 0.3s ease;
    z-index: 1100;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1049;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* Buttons */
.btn-gold {
    display: inline-block;
    background-color: var(--gold);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 1rem;
}

.btn-gold:hover {
    background-color: #b58d4a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
}

/* Cards */
.yacht-card {
    background: rgba(17, 34, 64, 0.4);
    border: 1px solid rgba(204, 164, 98, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.yacht-card.active, .animate-card {
    opacity: 1;
    transform: translateY(0);
}

.yacht-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Feature Lists */
.feature-list {
    list-style: none;
    margin: 20px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--light-gray);
}

.feature-list li i {
    color: var(--gold);
    font-size: 18px;
    margin-left: 10px;
    min-width: 25px;
    margin-top: 3px;
}

/* Trip Description */
.trip-description {
    color: var(--light-gray);
    margin: 20px 0;
    line-height: 1.6;
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--gold);
    top: 0;
    bottom: 0;
    right: 30px;
    margin-right: -1px;
}

.timeline-item {
    padding: 10px 40px 10px 10px;
    position: relative;
    background-color: inherit;
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--gold);
    border: 4px solid var(--gold);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    padding: 20px;
    background: rgba(17, 34, 64, 0.4);
    border: 1px solid rgba(204, 164, 98, 0.2);
    border-radius: 12px;
}

.timeline-time {
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 18px;
}

.timeline-text {
    color: var(--light-gray);
    line-height: 1.5;
}

/* Notes */
.note {
    background: rgba(17, 34, 64, 0.4);
    border: 1px solid rgba(204, 164, 98, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
}

.note i {
    color: var(--gold);
    font-size: 20px;
    margin-left: 10px;
    margin-top: 2px;
}

.note-text {
    color: var(--light-gray);
    line-height: 1.5;
}

/* Price Section */
.price {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    margin: 20px 0;
    text-align: center;
}

.price-description {
    text-align: center;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.inclusions-title, .exclusions-title {
    color: var(--gold);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.booking-contact {
    text-align: center;
    color: var(--light-gray);
    margin: 30px 0 20px;
}

.phone-number {
    color: var(--gold);
    font-weight: 600;
    direction: ltr;
    display: inline-block;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(136, 146, 176, 0.2);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gold);
    transform: translateY(-5px);
    color: var(--primary-dark);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

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

.back-to-top:hover {
    background-color: #b58d4a;
    transform: translateY(-5px);
}

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

.animate-fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .timeline::after {
        right: 25px;
    }
}

@media (max-width: 768px) {
    .section-primary, .section-secondary {
        padding: 40px 0;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .yacht-card {
        padding: 20px;
    }
    
    .timeline::after {
        right: 20px;
    }
    
    .timeline-item {
        padding-right: 30px;
    }
    
    .timeline-item::after {
        right: -9px;
        width: 15px;
        height: 15px;
    }
    
    .price {
        font-size: 28px;
    }
    
    .md\:hidden {
        display: block !important;
    }
    
    .navbar-menu {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .yacht-card {
        padding: 15px;
    }
    
    .feature-list li {
        margin-bottom: 10px;
    }
    
    .timeline-time {
        font-size: 16px;
    }
    
    .btn-gold {
        padding: 10px 15px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        left: 20px;
    }
}

/* Loading optimization */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Accessibility improvements */
:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Added for smooth scrolling */
html {
    scroll-behavior: smooth;
}