/* Custom Fonts */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
}

h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
}

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

html {
    background-color: #ffffff;
}

/* Slideshow Wrapper */
.slideshow-wrapper {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    cursor: none;
}

.slideshow-swiper {
    width: 100%;
    height: 100%;
}

/* Swiper Slide Styles */
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

/* Group of 2 Images - Desktop */
.slide-group-2 {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-group-2:after {
    content: "";
    display: table;
    clear: both;
}

.slide-group-2 .slide-image {
    display: inline-block;
    float: left;
    width: 50%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 0 20px;
    top: 100px;
}

.slide-group-2.fullscreen .slide-image {
    width: 50%;
    padding: 0;
}

.slide-group-2 .slide-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding-bottom: 200px;
}

/* Group of 3 Images - Desktop */
.slide-group-3 {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-group-3:after {
    content: "";
    display: table;
    clear: both;
}

.slide-group-3 .slide-image {
    display: inline-block;
    float: left;
    width: 33.333%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 0 20px;
    top: 100px;
}

.slide-group-3 .slide-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding-bottom: 200px;
}

/* Adaptive Image Sizing */
@media (min-width: 768px) {
    .slide-group-2 .slide-image img,
    .slide-group-3 .slide-image img {
        max-height: 85%;
    }
}

/* Mobile Styles - Show Only Main Image */
@media (max-width: 767px) {
    .slideshow-wrapper {
        cursor: auto;
    }

    .slide-group-2,
    .slide-group-3 {
        display: block;
    }

    .slide-group-2 .slide-image:not(.main),
    .slide-group-3 .slide-image:not(.main) {
        display: none;
    }

    .slide-group-2 .slide-image.main,
    .slide-group-3 .slide-image.main {
        width: 100%;
        height: 100%;
        float: none;
        padding: 0;
        top: 0;
    }

    .slide-group-2 .slide-image.main img,
    .slide-group-3 .slide-image.main img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        position: static;
        transform: none;
        padding-bottom: 0;
        margin: 0;
    }
}

/* Custom Cursor - Desktop Only */
.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 9999;
    display: none;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
    mix-blend-mode: difference;
}

.custom-cursor svg {
    width: 100%;
    height: 100%;
    stroke: #fff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

.custom-cursor.next svg {
    transform: rotate(180deg);
}

@media (min-width: 768px) {
    .custom-cursor {
        display: block;
    }
}

/* Swiper Fade Effect */
.swiper-fade .swiper-slide {
    transition-property: opacity;
}

/* Smooth Slide Transition */
.swiper-slide {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Header Styles */
header {
    background: transparent;
}

header a {
    color: #000;
    text-decoration: none;
}

/* Mobile Header - Transparent Background */
@media (max-width: 767px) {
    header {
        padding: 1.25rem 1.25rem !important;
        background: transparent !important;
    }

    header .logo img {
        height: 1.75rem !important;
    }

    header nav {
        gap: 1rem !important;
        font-size: 0.625rem !important;
    }

    header nav svg {
        width: 14px !important;
        height: 14px !important;
    }
}

/* Small Devices (iPhone SE, etc.) */
@media (max-width: 375px) {
    header {
        padding: 1rem 1rem !important;
    }

    header .logo img {
        height: 1.5rem !important;
    }

    header nav {
        gap: 0.75rem !important;
        font-size: 0.5rem !important;
    }

    header nav a {
        letter-spacing: 0.05em !important;
    }
}

/* Text Pages */
.text-page {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
}

@media (min-width: 768px) {
    .text-page {
        padding: 10rem 4rem 6rem;
    }
}

.text-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Multi-column Layout for About Page */
.multi-column {
    column-count: 1;
    column-gap: 3rem;
}

@media (min-width: 768px) {
    .multi-column {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .multi-column {
        column-count: 3;
    }
}

.multi-column p {
    margin-bottom: 1.5rem;
    break-inside: avoid;
}

/* Typography */
.text-page h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.text-page h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.text-page p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .text-page h1 {
        font-size: 1.75rem;
    }

    .text-page h2 {
        font-size: 1.25rem;
    }
}

/* Touch Areas for Mobile Navigation */
.touch-area {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 40;
    display: none;
}

.touch-area.left {
    left: 0;
}

.touch-area.right {
    right: 0;
}

@media (max-width: 767px) {
    .touch-area {
        display: block;
    }
}

/* Slide Animation */
.swiper-slide-active {
    opacity: 1;
}

.swiper-slide-prev,
.swiper-slide-next {
    opacity: 0;
}

/* Loading State */
.slide-image.loading {
    background: #f5f5f5;
}

.slide-image img {
    transition: opacity 0.3s ease-in-out;
}

.slide-image.loading img {
    opacity: 0;
}

.slide-image.loaded img {
    opacity: 1;
}
