:root {
    --primary-color: #0077b6;
    --primary-light: #00b4d8;
    --primary-dark: #023e8a;
    --accent-color: #ffb703;
    --accent-hover: #fb8500;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-x: clip;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    outline: none;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Typography */
.section-subtitle {
    color: var(--primary-light);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.text-center .section-subtitle::after {
    left: 50%;
}

.about-content .section-subtitle::after {
    left: auto;
    right: 0;
    transform: none;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 40px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(2, 24, 58, 0.78), rgba(0, 56, 108, 0.72));
    padding: 15px 0;
    box-shadow: 0 8px 30px rgba(0, 10, 28, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(144, 224, 239, 0.22);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-color);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}

.navbar.scrolled .hamburger {
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1499793983690-e29da59ef1c2?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-top: 50px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* Search Box */
.search-box {
    display: flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: var(--border-radius);
    gap: 20px;
    align-items: flex-end;
}

.input-group {
    flex: 1;
    min-width: 200px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.input-group label i {
    color: var(--accent-color);
    margin-left: 5px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background-color: var(--white);
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    outline: none;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.search-btn {
    padding: 12px 30px;
    height: 45px;
    border-radius: 8px;
}

/* About Section */
.about {
    background-image: url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.about::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.about .section-title {
    color: var(--white);
}
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-md);
}

.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge p {
    font-size: 0.9rem;
    font-weight: 600;
}

.about-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.features-list {
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.features-list li i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

/* Destinations Section */
.destinations {
    background-image: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.destinations::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}
.destinations .container {
    position: relative;
    z-index: 1;
}
.destinations .section-title {
    color: var(--white);
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.dest-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.dest-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dest-card:hover .card-img img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
}

.card-content {
    padding: 25px;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-top h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.rating {
    background-color: #fff9e6;
    color: #ffb703;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price {
    font-size: 0.9rem;
    color: var(--text-light);
}

.price strong {
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* Services Section */
.services {
    background-image: url('https://images.unsplash.com/photo-1488085061387-422e29b40080?ixlib=rb-4.0.3&auto=format&fit=crop&w=2062&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.services .container {
    position: relative;
    z-index: 1;
}
.services .section-title {
    color: var(--white);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-light);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .icon {
    background-color: var(--primary-light);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Newsletter Section */
.newsletter {
    background-image: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-4.0.3&auto=format&fit=crop&w=2074&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.newsletter-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    color: var(--white);
}

.newsletter-inner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-inner p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 30px;
    border: none;
    font-family: 'Cairo', sans-serif;
    outline: none;
}

.newsletter-form button {
    border-radius: 30px;
    padding: 15px 35px;
}

/* Footer */
.footer {
    position: relative;
    overflow: hidden;
    background-color: #02183a;
    color: rgba(235, 246, 255, 0.92);
    padding-top: 0;
    border-top: 1px solid rgba(144, 224, 239, 0.24);
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/bg-ocean-luxury.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(6px);
    transform: scale(1.08);
    z-index: 0;
}

.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 24, 58, 0.72), rgba(0, 58, 112, 0.6));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 0;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: none;
    padding: 22px 16px;
    font-size: 0.95rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .about,
    .destinations,
    .services,
    .newsletter {
        background-attachment: scroll;
    }

    .about-container {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        right: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section-padding {
        padding: 64px 0;
    }

    .section-title {
        font-size: 1.95rem;
        margin-bottom: 28px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background: rgba(2, 20, 50, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        padding: 40px 24px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-links a {
        color: var(--white);
        font-size: 1.35rem;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links.active ~ .hamburger {
        color: var(--white);
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 105px 0 55px;
        align-items: flex-start;
    }

    .hero-content {
        margin-top: 0;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.35rem;
        margin-bottom: 14px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 28px;
    }

    .hero-buttons .btn-large {
        padding: 13px 24px;
        font-size: 1rem;
        width: 100%;
    }

    .search-box {
        flex-direction: column;
        padding: 16px;
        gap: 14px;
    }

    .input-group {
        flex: none;
        min-width: 0;
        width: 100%;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        padding: 28px 20px;
    }

    .about-container {
        gap: 36px;
    }

    .experience-badge {
        width: 112px;
        height: 112px;
        bottom: -18px;
        right: 14px;
        padding: 16px;
        border-width: 5px;
    }

    .experience-badge h3 {
        font-size: 1.8rem;
    }

    .experience-badge p {
        font-size: 0.78rem;
    }

    .newsletter-inner {
        padding: 32px 20px;
    }

    .newsletter-inner h2 {
        font-size: 1.7rem;
    }
    
    .navbar .btn-primary {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .card-img {
        height: 210px;
    }

    .card-content {
        padding: 18px;
    }

    .card-top h3 {
        font-size: 1.2rem;
    }

    .search-box {
        flex-direction: column;
    }
    
    .input-group, .search-btn {
        width: 100%;
    }
}

/* Interactive Cards & Toast Notification */
.dest-card {
    cursor: pointer;
}

.dest-card .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dest-card .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.toast-notification {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 14px 22px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    z-index: 2500;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification i {
    color: var(--accent-color);
    font-size: 1.1rem;
}
