@import "tailwindcss";

:root {
    --bg-main: #111;
    --accent-primary: #a1883d;
    --accent-hover: #473a14;
    --bg-secondary: #595959;
}

/* Custom styles to match the reference */
body {
    background-color: #111;
    color: #fff;
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1.title,
h2.title,
h3.title,
h4.title,
h5.title,
h6.title {
    font-family: "Playfair Display", serif;
    background-image: linear-gradient(to right, #fff 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

#venue {
    background-color: var(--bg-main);
    opacity: 0.8;
    background-image:
        radial-gradient(circle at 10px 100%, transparent 9px, var(--bg-secondary) 9px, var(--bg-secondary) 10px, transparent 10px),
        radial-gradient(circle at 10px 0%, transparent 9px, var(--bg-secondary) 9px, var(--bg-secondary) 10px, transparent 10px);
    background-size: 80px 40px;
    background-position: 0 0, 40px 0;
}

.sub-heading {
    font-family: "Niconne", cursive;
    font-weight: 400;
    font-style: normal;
}

header nav a {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    letter-spacing: .7px;
}

.swiper,
.mySwiper {
    width: 100%;
    height: 70vh;
}

@media (min-width: 768px) {

    .swiper,
    .mySwiper {
        height: 100vh;
    }
}

.swiper-slide h1 {
    font-family: "Times New Roman", Times, Baskerville, Georgia, serif;
}

.swiper-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* The parallax background wrapper */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    /* wider for parallax */
    height: 100%;
    z-index: 1;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transform: scale(1);
    transition: transform 6s linear;
    /* Slow zoom effect */
}

/* Zoom image when slide is active */
.swiper-slide-active .slide-bg img {
    transform: scale(1.1);
}

.slide-content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
}

/* Customize Swiper navigation arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #fff;
    color: #111;
}

/* Customize Pagination */
.swiper-pagination {
    bottom: 1rem !important;
}

@media (min-width: 768px) {
    .swiper-pagination {
        bottom: 2rem !important;
    }
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    width: 8px;
    height: 8px;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.5);
}

/* Staggered text animations */
.slide-content {
    opacity: 1;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

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

/* Reveal delays */
.swiper-slide-active .slide-content h6 {
    transition-delay: 0.4s;
}

.swiper-slide-active .slide-content h1 {
    transition-delay: 0.6s;
}

.swiper-slide-active .slide-content div {
    transition-delay: 0.8s;
}

/* Services Slider Height Fix — prevent ul from being taller than slides */
#services-slider .splide__track {
    overflow: hidden;
}

#services-slider .splide__list {
    height: 600px !important;
}

#services-slider .splide__slide {
    height: 600px !important;
}

/* Services Slider Active State Transitions */
#services-slider .splide__slide img,
#services-slider .splide__slide .transform {
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

#services-slider .splide__slide.is-active img {
    transform: scale(1.1);
    filter: brightness(0.5);
}

/* Ensure services slide text is always visible on mobile */
@media (max-width: 767px) {
    #services-slider .splide__slide .transform {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}



/* Services Slider Custom Arrows Disabled State */
.splide-custom-arrows button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.splide-custom-arrows button:disabled:hover {
    background-color: transparent !important;
    color: inherit !important;
}

/* Scroll Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Floating header icons */
@keyframes headerIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.floating-icon {
    display: inline-block;
    animation: headerIconFloat 3.5s ease-in-out infinite;
}

.floating-icon:nth-child(2) {
    animation-delay: 0.6s;
}

.floating-icon:nth-child(3) {
    animation-delay: 1.2s;
}

.floating-icon:hover {
    animation-play-state: paused;
}