﻿@import "tailwindcss";

body {
    font-family: Montserrat, sans-serif;
    overflow-x: hidden;
    cursor: none;
}

/* Custom CheckBox */
#custom-checkbox input,
#custom-checkbox textarea,
#custom-checkbox select,
#custom-checkbox button,
#custom-checkbox [type="checkbox"],
#custom-checkbox [type="radio"] {
    cursor: none !important;
}

    #custom-checkbox input:focus,
    #custom-checkbox textarea:focus,
    #custom-checkbox select:focus,
    #custom-checkbox button:focus {
        cursor: none !important;
    }

    #custom-checkbox input[type="checkbox"] {
        appearance: none; /* Remove default style */
        -webkit-appearance: none; /* For Safari */
        -moz-appearance: none; /* For Firefox */

        width: 20px;
        height: 20px;
        border: 2px solid #999;
        border-radius: 4px;
        background-color: white;
        cursor: pointer;
        position: relative;
    }

        #custom-checkbox input[type="checkbox"]:checked {
            background-color: #cbb9ab; /* Checked background */
            border-color: #fff;
        }

            #custom-checkbox input[type="checkbox"]:checked::after {
                content: "✔";
                color: #2a211e;
                font-size: 14px;
                position: absolute;
                left: 3px;
                top: -1px;
            }

.notable-regular {
    font-family: "Notable", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.quattrocento-regular {
    font-family: "Quattrocento", serif;
    font-weight: 400;
    font-style: normal;
}

.quattrocento-bold {
    font-family: "Quattrocento", serif;
    font-weight: 700;
    font-style: normal;
}

.retro-background {
    position: relative;
    background-color: #83706a;
}

.retro-background::after,
.retro-background::before {
    content: ' ';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 100;
    pointer-events: none; 
}

.retro-background::after {
    background: linear-gradient(to bottom, rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    animation: scanlines 10s linear infinite;
}

.retro-background::before {
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    animation: static 0.15s infinite;
}

.glitch-text {
    animation: wobble 15s ease-in-out infinite;
}

/* 4. Keyframe Animations */
@keyframes static {
    0% {
        background-position: 0 0;
    }

    10% {
        background-position: -5% -10%;
    }

    20% {
        background-position: -15% 5%;
    }

    30% {
        background-position: 7% -25%;
    }

    40% {
        background-position: 20% 25%;
    }

    50% {
        background-position: -20% 10%;
    }

    60% {
        background-position: 15% 0;
    }

    70% {
        background-position: 0 15%;
    }

    80% {
        background-position: 25% 35%;
    }

    90% {
        background-position: -10% 10%;
    }

    100% {
        background-position: 0 0;
    }
}

@keyframes scanlines {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100vh;
    }
}

@keyframes wobble {
    0% {
        transform: scale(1.0);
    }

    48% {
        transform: scale(1.0);
    }

    50% {
        transform: scale(1.002);
    }

    52% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.0);
    }
}

.section {
    min-height: 80vh;
    padding: 6rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 3rem;
}

.content-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.gsap-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Custom Cursor Styles */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none; /* Crucial: allows clicks to pass through */
    border-radius: 50%;
    z-index: 9999; /* Ensure it's on top */
    opacity: 0; /* Start hidden, GSAP will fade them in */
    transform: translate(-50%, -50%); /* Center on mouse position */
    transition: opacity 0.3s ease-in-out, transform 0.1s ease-out; /* Basic transition for appearance */
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
}

/* Class for interactive elements to change cursor style */
.cursor-interactive:hover ~ .cursor-dot {
    /* Hide dot on hover of interactive element */
    /* opacity: 0; 
            transform: translate(-50%, -50%) scale(0.5); */
}

.cursor-interactive:hover ~ .cursor-outline {
    /* Enlarge outline on hover */
    /* transform: translate(-50%, -50%) scale(1.5);
            background-color: rgba(52, 211, 153, 0.2); 
            border-color: transparent; */
}

/* --- 3D Carousel Gallery Styles --- */
#gallery-container {
    perspective: 1200px;
    width: 100%;
    min-height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-slide {
    position: absolute;
    width: 55%;
    max-width: 952px;
    aspect-ratio: 952 / 454;
    border-radius: 1rem;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    background-color: #1F2937;
    cursor: pointer;
}

    .gallery-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    .gallery-slide.active-slide img {
        opacity: 1;
    }


/* Responsive adjustments for the gallery */
@media (max-width: 768px) {
    .gallery-slide {
        width: 85%; /* Make slides wider on mobile */
    }

    .slide-content {
        padding: 1rem; /* Reduce padding */
    }

    .slide-title {
        font-size: 1.5rem; /* text-2xl */
    }

    .slide-description {
        font-size: 0.875rem; /* text-sm */
    }
}


/* Square Slider With GSAP */

.sq-main-section {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
}

    .sq-main-section h1 {
        font-size: 3rem;
        font-weight: 500;
        line-height: 1.1;
    }

    .sq-main-section p {
        font-size: 1.75rem;
        font-weight: 500;
    }

    .sq-main-section img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.sticky-cols {
    padding: 0.5rem;
    padding-right: 1.5rem;
}

.sticky-cols-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.col {
    position: absolute;
    width: 50%;
    height: 100%;
    will-change: transform;
}

    .col h1 {
        color: #fff;
        width: 80%;
    }

    .col p {
        color: #fff;
        width: 80%;
    }

.col-2 {
    transform: translateX(100%);
}

.col-3 {
    transform: translateX(100%) translateY(100%);
    padding: 0.5rem;
}

.col-4 {
    transform: translateX(100%) translateY(100%);
}

.col-content, .col-img {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0.5rem;
}

.col-content-wrapper, .col-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #4a564c;
    border-radius: 3rem;
    overflow: hidden;
}

.col-content-wrapper {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.col-content-wrapper-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.col-img-1, col-img-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.col-img-2 {
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

    .col-img-2 img {
        transform: scale(1.25);
    }

.line {
    overflow: hidden;
}

    .line span {
        display: block;
        will-change: transform;
    }

@media(max-width: 1000px) {
    h1 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.85rem;
    }

    .col h1,
    .col p {
        width: 100%;
    }

    .col-content-wrapper,
    .col-content-wrapper-2 {
        padding: 2rem;
    }
}

@media (max-width: 768px) {

    /* --- Basic Mobile Setup --- */
    .sq-main-section {
        height: auto;
        overflow: visible;
    }

    .sticky-cols {
        padding: 0 1rem; /* 0 padding top/bottom, 1rem padding left/right */
    }

    .col,
    .col-img-2,
    .col-img-2 img {
        transform: none !important;
        clip-path: none !important;
    }

    .col-content-wrapper,
    .col-content-wrapper-2 {
        padding: 1.5rem;
        border-radius: 2rem;
        background-color: #4a564c;
        overflow: hidden;
    }

    .sq-main-section h1 {
        font-size: 2rem;
        width: 100%;
    }

    .sq-main-section p {
        font-size: 1rem;
        width: 100%;
    }

    /* --- Reordering Logic --- */
    .sticky-cols-wrapper {
        display: flex;
        flex-direction: column;
    }

    .col {
        display: contents;
    }

    /* Display Order */
    .col-2 > .col-img-1 {
        order: 1;
    }

    .col-1 > .col-content {
        order: 2;
    }

    .col-2 > .col-img-2 {
        order: 3;
    }

    .col-3 > .col-content-wrapper {
        order: 4;
    }

    .col-4 > .col-img {
        order: 5;
    }

    .col-3 > .col-content-wrapper-2 {
        order: 6;
    }

    .col-content,
    .col-img,
    .col-content-wrapper,
    .col-content-wrapper-2 {
        width: 100%;
        position: relative;
        margin-bottom: 1rem;
    }

    [style*="order: 6"] {
        margin-bottom: 0;
    }
}

.scroll-container {
    visibility: hidden;
}

.parallax-image {
    position: absolute;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.1);
}

.custom-text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.custom-text-outline {
    -webkit-text-stroke: 1px black;
    color: white;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    display: inline-block;
}

.marquee-item {
    display: inline-block;
    padding: 0 2rem; /* Spacing between items */
}

.spacer {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #d1d5db;
    text-align: center;
}

.word-span {
    display: inline-block;
}

.slide-content:not(:first-child) {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-container {
    position: relative;
    overflow: hidden;
}
.hero-text-content {
    position: relative;
    z-index: 1;
    visibility: hidden;
}
    .hero-text-content h1 {
        text-shadow: 3px 3px 0px rgba(0,0,0,0.2);
    }
.panels-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 2;
}
.panel {
    flex-grow: 1; 
}
.scroll-down-icon {
    animation: bounce 2s infinite;
    opacity: 0; 
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

#details-content::-webkit-scrollbar {
    width: 8px;
}

#details-content::-webkit-scrollbar-track {
    background: #1f2937;
}

#details-content::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}





