/* Modern Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scroll-behavior: smooth;
    background: white;
}

body {
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    height: 100%;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: #fff;
}

.hero-text h1 {
    font-size: 5rem;
    font-family: "Times New Roman", Times, serif;
    letter-spacing: 0.5em;
    margin-right: -0.5em;
    font-weight: 300;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-family: "Times New Roman", Times, serif;
    margin-top: 1rem;
    letter-spacing: 0.2em;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

/* Full Page Image Slider */
.slider-container {
    position: relative;
    height: 300vh; /* 3 slides × 100vh */
    overflow: hidden;
}

.slider-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 300%; /* 3 slides × 100% */
    height: 100vh;
    display: flex;
}

.slide {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    will-change: transform;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 0.5s ease-out;
}

.slide-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h2 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.explore-btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.explore-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

/* Slide Transitions */
.slide {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-image {
    transform: scale(1);
}

@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .explore-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* Collection Showcase */
.collection-showcase {
    padding: 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.showcase-item.main {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.showcase-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.showcase-item:hover .showcase-content {
    transform: translateY(0);
    opacity: 1;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.module-block {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 4rem;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.module-block.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.module-block.reverse .content-container {
    direction: ltr;
}

.module-block.visible {
    opacity: 1;
    transform: scale(1);
}

.image-container {
    position: relative;
    width: 90%;
    height: 90%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: auto;
    transform: translateY(0);
    transition: transform 0.6s ease-out, box-shadow 0.6s ease-out;
}

.module-block:hover .image-container {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.6s ease-out;
}

.module-block:hover .image-container img {
    transform: scale(1.05);
}

.content-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10vh 5vw;
    background: #fff;
}

.content-inner {
    max-width: 500px;
}

.content-inner h2 {
    font-size: 3rem;
    font-family: "Times New Roman", Times, serif;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    will-change: transform, opacity;
}

.content-inner p {
    font-size: 1.2rem;
    font-family: "Times New Roman", Times, serif;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.2s;
    will-change: transform, opacity;
}

.showcase-button {
    font-family: "Times New Roman", Times, serif;
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.4s;
    will-change: transform, opacity;
}

.showcase-button:hover {
    background: #000;
    color: #fff;
}

.module-block.visible .content-inner h2,
.module-block.visible .content-inner p,
.module-block.visible .showcase-button {
    opacity: 1;
    transform: translateY(0);
}

/* Universe Section */
.universe-section {
    flex: 1;
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, #000, #1a1a1a);
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.universe-section::before {
    content: '';
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/quality-pattern.png') repeat;
    opacity: 0.08;
    animation: parallaxMove 30s ease-in-out infinite alternate;
}

.universe-heading {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.universe-heading h2 {
    font-size: 3.5rem;
    font-family: "Times New Roman", Times, serif;
    font-weight: 300;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff 20%, #a3a3a3 40%, #fff 60%, #a3a3a3 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

.universe-heading p {
    font-size: 1.2rem;
    font-family: "Times New Roman", Times, serif;
    color: #a3a3a3;
    max-width: 600px;
    margin: 0 auto;
}

.universe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.universe-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.universe-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.universe-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.universe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.universe-card:hover::before {
    left: 100%;
}

.universe-card h3 {
    font-size: 2rem;
    font-family: "Times New Roman", Times, serif;
    font-weight: 300;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff 20%, #a3a3a3 40%, #fff 60%, #a3a3a3 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

.universe-card p {
    font-size: 1rem;
    font-family: "Times New Roman", Times, serif;
    line-height: 1.6;
    color: #a3a3a3;
    margin-bottom: 2rem;
}

.universe-card-btn {
    display: inline-block;
    font-family: "Times New Roman", Times, serif;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.universe-card-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.universe-card-btn:hover::before {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

.universe-card-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
    .universe-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .universe-grid {
        grid-template-columns: 1fr;
    }

    .universe-heading h2 {
        font-size: 2.5rem;
    }

    .universe-heading p {
        font-size: 1rem;
    }

    .universe-card {
        padding: 2rem 1.5rem;
    }
}

/* Fragrance Notes */
.fragrance-notes {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    padding: 6rem 0;
    background: #fff;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-family: "Times New Roman", Times, serif;
    margin-bottom: 1rem;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    font-family: "Times New Roman", Times, serif;
    color: #666;
    margin-bottom: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.notes-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px; /* Increased padding to move buttons further out */
}

.carousel-container {
    overflow: hidden;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.note-item {
    flex: 0 0 320px; /* Reduced from 350px */
    height: 420px; /* Reduced from 450px */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.note-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.note-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.note-front {
    position: relative;
    width: 100%;
    height: 100%;
}

.note-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.note-item:hover .note-front img {
    transform: scale(1.05);
    filter: blur(3px) brightness(0.8);
}

.note-overlay {
    position: absolute;
    font-family: "Times New Roman", Times, serif;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
                rgba(0,0,0,0.9) 0%, 
                rgba(0,0,0,0.6) 50%,
                rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    transform: translateY(calc(100% - 4.5rem));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.note-item:hover .note-overlay {
    transform: translateY(0);
}

.note-overlay h3 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.note-overlay p {
    font-size: 1rem;
    font-family: "Times New Roman", Times, serif;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.note-item:hover .note-overlay p {
    opacity: 1;
    transform: translateY(0);
}

.note-link {
    display: inline-block;
    font-family: "Times New Roman", Times, serif;
    padding: 0.9rem 2.2rem;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    background: transparent;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.note-item:hover .note-link {
    opacity: 1;
    transform: translateY(0);
}

.note-link:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.prev-btn {
    left: 40px; /* Increased distance from edge */
}

.next-btn {
    right: 40px; /* Increased distance from edge */
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .note-item {
        flex: 0 0 280px;
        height: 380px; /* Adjusted for new proportion */
    }
    
    .notes-carousel {
        padding: 0 60px; /* Adjusted padding for mobile */
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .prev-btn {
        left: 20px;
    }
    
    .next-btn {
        right: 20px;
    }
    
    .note-overlay {
        padding: 2rem;
    }
    
    .note-overlay h3 {
        font-size: 1.3rem;
    }
    
    .note-overlay p {
        font-size: 0.9rem;
    }
}

/* Video Section */
.video-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    height: 100%;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.video-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

/* Progress Indicator */
.scroll-progress {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #000;
    border-color: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .scroll-progress {
        right: 10px;
    }
    
    .progress-dot {
        width: 8px;
        height: 8px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-item.main {
        grid-column: span 1;
    }
    
    .universe-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .notes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .module-block {
        padding: 2rem;
    }
    
    .module-block,
    .module-block.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        min-height: auto;
    }

    .image-container {
        width: 100%;
        height: 50vh;
        margin: 2rem auto;
    }

    .content-container {
        padding: 5vh 5vw;
    }

    .content-inner h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
    }
    
    .video-content h2 {
        font-size: 2.5rem;
    }

    .notes-carousel {
        height: 300px;
    }

    .note-item {
        flex: 0 0 280px;
        height: 280px;
    }

    .note-back h3 {
        font-size: 1.2rem;
    }

    .note-back p {
        font-size: 0.8rem;
    }

    .content-inner h2 {
        font-size: 2rem;
    }

    .content-inner p {
        font-size: 1rem;
    }
}