* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: white;
    height: 100%;
    min-height: 100vh;
    background-image: url("https://cdn.shopify.com/s/files/1/0895/0952/7853/files/Starry-background.webp?v=1737124314");
    background-size: 600px;
    background-position: center;
    background-attachment: fixed;
    image-rendering: -webkit-optimize-contrast; /* Improves rendering in WebKit browsers */
    image-rendering: crisp-edges;
    background-repeat: repeat;
    overflow-x: hidden;
}

h1, h2, p {
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.7);
}

body, html {
    overflow-x: hidden;
}

.landing {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    color: white;
    padding: 0 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://cdn.shopify.com/s/files/1/0895/0952/7853/files/nt_rad_final.png?v=1735428598') center/cover no-repeat;
    border-bottom: 10px solid black;
}

.landing .btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #3d61ff, #989bfd);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 0 20px rgba(61, 97, 255, 0.7);
    text-align: center;
    text-decoration: none;
}

.landing .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(61, 97, 255, 0.9);
}

.island {
    margin: 0 auto;
    max-width: 1200px; /* Adjust based on preference */
    padding: 2rem;
    border-radius: 8px;
    box-shadow: none;
    position: relative;
    z-index: 2;
    border: 2px solid black; /*______temp_____ */
}

.island-container {
    position: relative;
    padding: 4rem 1rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), 0px 0px 30px rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(30px);
    background-color: rgba(102, 102, 102, 0.263);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    padding: 30px 80px 30px 80px;
}

.carousel-section {
    text-align: center;
    padding: 2rem;
}

.carousel-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.carousel-description {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 2rem;
}

.carousel-item {
    flex: 0 0 33%; /* Show 3 items, adjust as needed */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    will-change: transform;
}

.carousel-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

/* Modal Styles */
.modal {
    display: none; /* Ensures the modal is hidden by default */
    justify-content: center; 
    align-items: center; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}

body.modal-open {
    overflow: hidden;
    height: 100%;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ccc;
}

.accordion {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: visible; /* Changed from hidden to visible */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s;
    display: block;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-title {
    background-color: #3d61ff;
    color: #fff;
    padding: 5px 1rem 5px 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-title:hover {
    background-color: #989bfd;
}

.accordion-title .icon {
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.accordion-content {
    display: none;
    padding: 0 1rem;
    background-color: #fff;
    color: #444;
    font-size: 1rem;
    overflow: hidden;
    transition: padding 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}

.accordion-content p {
    margin: 0;
}

.accordion-item.active .accordion-content {
    padding: 1rem;
    opacity: 1;
    display: block;
}

.accordion-item.active .accordion-title .icon {
    transform: rotate(180deg);
}

.gallery h2, .purchase h2 {
    padding: 0.5rem;
    background: linear-gradient(90deg, #3d61ff, #989bfd);
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.gallery, .purchase{
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(30px);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.37);
    background-color: rgba(102, 102, 102, 0.263);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/* Enhanced CTA Button */
.btn-glow {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #3d61ff, #989bfd);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(61, 97, 255, 0.7);
    text-align: center;
    text-decoration: none;
}

.btn-glow:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(61, 97, 255, 0.9);
}

#purchasep {
    color: white;
}

#purchaseorder {
    color: rgb(162, 162, 162);
}

#purchaseorder:hover {
    color: white;
}

footer {
    text-align: center;
    padding: 1px;
    background-color: #333;
    color: #fff;
}

@media (max-width: 768px) {
    .accordion {
        width: 95%;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .gallery h2 {
        font-size: 1.5rem;
    }

    .gallery-item img {
        margin: 0.25rem;
    }

    .landing .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .carousel-item {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .gallery-item {
        flex: 1 1 calc(50% - 0.5rem);
        margin: 0.25rem;
    }

    .gallery h2 {
        font-size: 1.25rem;
    }
    
    .carousel-item {
        flex: 0 0 100%; /* Show 3 items, adjust as needed */
    }
}