/* GENERAL STYLES */
body {
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: #fff;
    background: linear-gradient(135deg, #1e1a20, #3b2640);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body::-webkit-scrollbar { 
    display: none; /* Hide scrollbar on Chrome, Safari, Edge */
}

/* HEADER */
header {
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-radius: 0;
    justify-content: space-around;
}

.navBar{
    display: flex;
    width: 95%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header h1 a {
    margin: 0;
    font-size: 38px;
    color: #CBA8DB;
    font-family: 'UnifrakturCook', cursive;
    text-decoration: none;
    transition: color 0.3s ease;
}

header h1 a:hover {
    color: #fff;
}

/* NAVIGATION MENU */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

nav ul li a {
    text-decoration: none;
    color: #CBA8DB;
    font-family: 'Borel', cursive;
    font-size: 20px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #fff;
}

/* FLOATING CATS */
/* Floating Cats (for large screens) */
.floating-cat {
    position: fixed;
    width: 150px;
    opacity: 80%;
    transition: transform 0.3s ease-in-out;
    z-index: 3000; /* Make sure it's above everything */
    pointer-events: auto;
}

.floating-cat:hover {
    transform: scale(1.2) rotate(10deg);
}

.cat1 { top: 15%; left: 3%; }
.cat2 { bottom: 5%; right: 3%; }

/* Mobile Cats (inside #final) */
.mobile-cats {
    display: none; /* Hide by default on larger screens */
    justify-content: center;
    gap: 15px;
}

.mobile-cat {
    width: 70px;
    transition: transform 0.3s ease;
}

.mobile-cat:hover {
    transform: scale(1.1);
}

/* HERO SECTION */
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 100px;
    flex-direction: column;
}

.hero h2 {
    font-size: 45px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    font-family: 'UnifrakturCook', cursive;
}

.pics {
    width: 100%;
    max-width: 600px;
}

/* SECTIONS */
.section {
    scroll-margin-top: 200px;
    padding: 60px 20px;
    text-align: center;
    background: rgba(0,0,0,0.3);
    margin: 40px auto;
    border-radius: 10px;
    font-size: 20px;
    max-width: 90%;
}

/* BUTTONS */
.btn {
    background: #CBA8DB;
    color: #1e1a20;
    padding: 15px 25px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 20px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #e6c0ff;
}

/* MAP */
.map-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

iframe {
    width: 70%;
    height: 400px;
    border-radius: 10px;
}

/* CAROUSEL */
.carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel {
    position: relative;
    width: 80%;
    max-width: 90%;
    height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel img.active {
    opacity: 1;
    z-index: 1;
}

/* COLOR WHEEL */
.color-wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.color-wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.color-wheel:hover {
    transform: scale(1.1);
}

.allowed {
    background: conic-gradient(
        #bc8fff 0deg 60deg,
        #9e55d3 60deg 120deg,
        #9932CC 120deg 180deg,
        #8A2BE2 180deg 240deg,
        #9370DB 240deg 300deg,
        #4B0082 300deg 360deg
    );
}

.color-wheel2-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.color-wheel2 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #ffffff7d;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.avoid1 {
    background: #223122;
    box-shadow: inset 0 0 10px #ffffff78, 0 0 15px #ffffff78;
}

.color-wheel2:hover {
    transform: scale(1.1);
}

.sparkle {
    position: absolute;
    pointer-events: none;
    user-select: none;
    animation: fadeOut 0.5s forwards;
    z-index: 2000;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; transform: scale(1.5); }
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .section {
        padding: 50px 15px;
        font-size: 18px;
    }

    .floating-cat {
        width: 100px;
    }

    .carousel {
        max-width: 600px;
        height: 300px;
    }

    .color-wheel {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 28px;
    }

    nav ul li a {
        font-size: 16px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .section {
        padding: 40px 10px;
        font-size: 16px;
    }

    iframe {
        height: 250px;
    }

    .carousel {
        height: 250px;
    }

    .color-wheel-container {
        flex-direction: column;
        align-items: center;
    }

    .color-wheel {
        width: 200px;
        height: 200px;
    }

    .floating-cat {
        display: none; /* Hide floating cats on mobile */
    }

    .mobile-cats {
        display: flex; /* Show inside #final */
    }

    .finalMessage {
        display: none;
    }
}

/* BURGER MENU (Hidden on large screens) */
.burger-menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #CBA8DB;
    padding: 10px;
}

/* MOBILE MENU */
.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

/* Hide nav on mobile by default */
@media (max-width: 768px) {
    .burger-menu {
        display: block; /* Show burger menu */
    }

    .nav-links {
        display: none; /* Hide menu initially */
        flex-direction: column;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        text-align: center;
        padding: 15px 0;
    }

    .nav-links.active {
        display: flex; /* Show menu when active */
    }

    .nav-links li {
        padding: 10px;
    }

    .nav-links a {
        font-size: 20px;
        display: block;
        color: #CBA8DB;
    }
}

.important-message {
    border: 3px solid #CBA8DB;
    padding: 20px;
    margin: 30px auto;
    max-width: 90%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}
