/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Orbitron:wght@400;500;700&display=swap');

:root {
    /* Futuristic Palette */
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.05);
    --primary-color: #00f3ff;
    /* Cyan Neon */
    --secondary-color: #bc13fe;
    /* Purple Neon */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shine: rgba(255, 255, 255, 0.05);
    --gradient-main: linear-gradient(135deg, #00f3ff 0%, #bc13fe 100%);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(188, 19, 254, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.08), transparent 25%);
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    /* Futuristic Header Font */
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Navbar */
.navbar {
    background: rgba(5, 5, 5, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.nav-link {
    font-weight: 500;
    color: var(--text-main) !important;
    margin: 0 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: 0.3s;
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-main);
    transition: 0.3s;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.btn-primary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.8rem 2.5rem;
    border-radius: 0;
    /* Boxy tech feel */
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
    transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Darker overlay for text pop */
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.3), var(--bg-dark)), url('https://images.unsplash.com/photo-1524492412937-b28074a5d7da?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    text-align: center;
    overflow: hidden;
    margin-top: 88px;
    /* Approx nav height to clear it */
}

/* Home Section Backgrounds */
.bg-about-home {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1531901599143-df5010ab9438?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed no-repeat;
    color: white !important;
}

.bg-packages-home {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed no-repeat;
    color: white !important;
}

.bg-about-home .section-title p,
.bg-packages-home .section-title p {
    color: #e0e0e0;
}


/* Glitch Effect for Hero Text */
.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0px rgba(188, 19, 254, 0.5), -2px -2px 0px rgba(0, 243, 255, 0.5);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px transparent;
    }

    to {
        text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    }
}

/* Bento Grid Gallery */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 50px 0;
    grid-auto-flow: dense;
}

.bento-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    height: 300px;
    background: rgba(0, 0, 0, 0.5);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 243, 255, 0.4);
    border-color: var(--secondary-color);
}

.bento-item:hover img {
    transform: scale(1.1);
}

/* Bento Grid Size Variants */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    height: 620px;
}

.bento-wide {
    grid-column: span 2;
    height: 300px;
}

.bento-tall {
    grid-row: span 2;
    height: 620px;
}

/* Bento Overlay */
.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.bento-item:hover .bento-overlay {
    transform: translateY(0);
}

.bento-overlay span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Responsive Bento Grid */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .bento-large,
    .bento-wide,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
        height: 250px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .bento-large {
        height: 520px;
    }
    
    .bento-tall {
        height: 520px;
    }
}

/* Carousel / Swiper */
.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: auto;
    /* Allow flexible width */
    height: 500px;
    /* Fixed height for consistency */
    border-radius: 20px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px;
    text-align: center;
    transform: translateY(20px);
    transition: 0.3s;
    opacity: 0;
}

.swiper-slide:hover .slide-content,
.swiper-slide-active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

/* Custom Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: #000 !important;
    box-shadow: 0 0 15px var(--primary-color);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    box-shadow: 0 0 10px var(--primary-color);
}


/* Sections */
.section-padding {
    padding: 6rem 0;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-off-white {
    background: rgba(255, 255, 255, 0.02);
    /* Slight contrast for section */
}

/* Glass Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    /* Tech angles */
    color: white;
    transition: 0.4s ease;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
    /* Futuristic shape */
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.15);
}

.card-title {
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
}

.card-text {
    color: #ccc;
}

/* Form Styling */
.form-control {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 1rem;
    border-radius: 0;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.7);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    color: white;
}

/* Footer */
footer {
    background-color: #000;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 5rem 0 2rem;
}

.footer-widget h4 {
    color: white;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: -10px;
    left: 0;
    background: var(--gradient-main);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
    /* Slight movement */
}

/* Animations Class */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text Colors helper */
.text-muted {
    color: #a0a0a0 !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Contact Form override */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    box-shadow: none;
}

/* Utility classes */
.color-black {
    color: black !important;
}