@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;600&display=swap');

:root {
    --primary: #d4af37;
    /* Aura Gold */
    --primary-dark: #b8860b;
    --secondary: #ff8c00;
    /* Deep Orange */
    --accent: #ffd700;
    --sand: #f1c40f;
    --ocean-deep: #000b14;
    /* Deep Slate */
    --bg-dark: #00050a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-white: #f5f5f5;
    --text-dim: rgba(245, 245, 245, 0.6);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(212, 175, 55, 0.15);
    --modal-bg: rgba(0, 5, 10, 0.98);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 17, 40, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: url('https://planetescape.pl//app/uploads/2020/10/Hurgada_Banner.jpg') center/cover no-repeat;
    animation: slowZoom 30s ease-in-out infinite alternate;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 5, 10, 0.4), rgba(0, 5, 10, 0.8));
    z-index: 1;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    margin-bottom: 1rem;
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Animated Background Elements */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* Sections */
section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title .accent-line {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Grid Layouts */
.trip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.card .price {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: block;
}

.card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.card ul li {
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card ul li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* Special Badges */
.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 10px;
}

/* Safari Design */
.safari-section {
    background: linear-gradient(to bottom, var(--bg-dark), #1a1a1a);
}

/* Transfers Section */
.transfers {
    background: rgba(0, 0, 0, 0.3);
}

/* Full Day Tours */
.big-tour-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.big-tour-image {
    height: 400px;
    border-radius: 20px;
    background-size: cover !important;
    background-position: center !important;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.social-links a {
    color: var(--text-white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    padding: 3rem;
    position: relative;
    border: 1px solid var(--glass-border);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dim);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Fly-across animation container */
.fly-container {
    position: fixed;
    top: 0;
    left: -300px;
    z-index: 3000;
    pointer-events: none;
    perspective: 1000px;
    /* Add 3D perspective */
}

.fly-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #fff7ad 0%, #d4af37 60%, #b8860b 100%);
    border-radius: 50%;
    width: 180px;
    height: 180px;
    border: 5px solid #ffd700;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.8),
        inset 0 0 40px rgba(0, 0, 0, 0.2);
    z-index: 3001;
    overflow: hidden;
    transform-style: preserve-3d;
}

.fly-item img {
    width: 75%;
    height: auto;
    mix-blend-mode: multiply;
    /* Blends GIF background into the gold coin */
    filter: contrast(1.1) brightness(1.1);
}

/* Floating Fish/Bubbles */
.sea-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, #001220 0%, #002d4d 100%);
}

.fish {
    position: absolute;
    color: rgba(0, 229, 255, 0.1);
    font-size: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .big-tour-card {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2.25rem;
    }
}