@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
/* :root {
    --text: #0b1017;
    --background: #fafcfd;
    --primary: #2e6fbf;
    --secondary: #9ebbdf;
    --accent: #1e487b;
    --linearPrimarySecondary: linear-gradient(#2e6fbf, #9ebbdf);
    --linearPrimaryAccent: linear-gradient(#2e6fbf, #1e487b);
    --linearSecondaryAccent: linear-gradient(#9ebbdf, #1e487b);
    --radialPrimarySecondary: radial-gradient(#2e6fbf, #9ebbdf);
    --radialPrimaryAccent: radial-gradient(#2e6fbf, #1e487b);
    --radialSecondaryAccent: radial-gradient(#9ebbdf, #1e487b);

} */

:root {
    --text: #09070a;
    --background: #fcfcfd;
    --primary: #7721b5;
    --secondary: #bb9bd2;
    --accent: #a774cb;
    --gold: #d4af37;
    --linearPrimarySecondary: linear-gradient(#7721b5, #bb9bd2);
    --linearPrimaryAccent: linear-gradient(#7721b5, #a774cb);
    --linearSecondaryAccent: linear-gradient(#bb9bd2, #a774cb);
    --radialPrimarySecondary: radial-gradient(#7721b5, #bb9bd2);
    --radialPrimaryAccent: radial-gradient(#7721b5, #a774cb);
    --radialSecondaryAccent: radial-gradient(#bb9bd2, #a774cb);
}

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

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    background-color: var(--background);
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

body.loaded {
    opacity: 1;
}

#loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #dcc7ea;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--secondary);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

header {
    position: sticky;
    top: 0;
    background-color: var(--background);
    z-index: 1000;
    border-bottom: 2px solid black;
}

#main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: auto;
    margin-right: 1rem;
}

.nav-links {
    display: flex;
    list-style-type: none;
}

.nav-links li {
    margin-left: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.1s ease;
}

.nav-links a:hover, .nav-links a.active {
    background-color: var(--gold);
    color: var(--text);
    border: 2px solid var(--text);
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

section {
    min-height: 100vh;
    position: relative;
    height: auto;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    scroll-snap-align: start;
    overflow-x: hidden;
}


.hero {
    min-height: 90vh;
    background: radial-gradient(#9557c1,#371c4a);
    text-align: center;
    color: var(--background);
    display: flex;
    flex-direction: column;
}

.hero-center {
    padding: 2rem;
}

.hero-text {
    font-size: 4.15rem;
    margin-bottom: 1rem;
}

.hero h2{
    font-size: 1.35rem;
}

.hero p {
    font-size: 1rem;
    margin-top: 3rem;
}

.side-design {
    height: 100vh;
    width: 100px;
    overflow: hidden;
    /* filter: invert(100%); */
}

.full-height-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.font-effect-hollow {
    -webkit-text-stroke: 2px var(--background);
    color: rgb(256,256,256,0.3);
}

.subheading {
    font-size: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--gold);
    font-family: "Pacifico", cursive;
    font-style: normal;
}

.scroll-down {
    display: block;
    margin-top: 1rem;
    font-size: 2rem;
    color: var(--gold);
    text-decoration: none;
    animation: slide 2s infinite;
}

@keyframes slide {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.features {
    /* background: #eaf1fa; */
    background: #f3ecf8
}

.features-content {
    width: 100%;
    max-width: 1200px;
    padding: 5% 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.feature-list {
    list-style-type: none;
    width: 30%;
    margin-right: 10px;
}

.feature-list li {
    padding: 1rem;
    margin: 0.5rem;
    cursor: pointer;
    position: relative;
    text-align: center;
}

.feature-list li:hover {
    background-color: rgba(212, 175, 55, 0.2); /* Gold with transparency */
    border-radius: 40px;
}


.feature-list li.active {
    background-color: var(--secondary);
    border-radius: 40px;
    border: 2px solid black;
}

.feature-dropdown {
    display: none;
}

.feature-details {
    width: 70%;
    padding: 2rem;
    /* background-color: rgba(255, 255, 255, 0.5); */
    background-color: #d4af3720;
    border-radius: 20px;
    border: 2px solid black;
    display: flex;
    align-self: center;
    justify-content: center;
}

.gallery {
    min-height: 110vh;
    /* background: var(--secondary); */
    background: #876996;
}

.carousel {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    padding: 10px 15px;
    flex-direction: column;
}

.carousel {
    display: flex;
    margin-top: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 30%;
    margin: 0 15px;
    transform: scale(0.95);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.carousel-item.active {
    transform: scale(1.0);
}

.carousel img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 40px;
    border: 2px solid black;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.carousel-slider {
    -webkit-appearance: none;
    width: 100%;
    margin-top: 15px;
    background-color: white;
    border-radius: 20px;
    border: 2px solid black;
    cursor: pointer;
}

.carousel-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: black;
    cursor: pointer;
    border-radius: 50%;
}

.more-photos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.more-photos button {
    align-self: center;
    padding: 0.5rem 2rem;
    margin-top: 20px;
    color: var(--text);
    background: var(--background);
    border: 2px solid black;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-photos button:hover {
    background-color: var(--accent);
    color: var(--background);
}

.location {
    background: #f3ecf8;
    display: flex;
}

.location span {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
    padding-top: 50px;
}

.address, .map {
    width: 45%;
}

.address p {
    font-style: italic;
    font-weight: 500;
    margin-left: 30px;
}
.address h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}
.address ul li {
    margin-top: 0.7rem;
    list-style: none;
    margin-left: 30px;
}

.map img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid black;
    border-radius: 10px;
}

.map img:hover {
    border: 1px solid var(--gold);
    transform: scale(1.05);
    box-shadow: 0 0 15px 5px rgba(212, 175, 55, 0.7);
    transition: transform box-shadow 0.3s ease;
}

.contact {
    display: flex;
    flex-direction: column;
    background: radial-gradient(#9557c1,#371c4a);
    color: #f0f2f4;
    text-align: center;
}

.contact-svg {
    display: flex;
    justify-content: center;
    align-items: center;
}

#photo-form {
    display: flex;
    flex-direction: row;
}

#photo-form img {
    min-width: 400px;
    margin-top: 50px;
    margin-right: 50px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    width: 100vw;
    max-width: 500px;
    padding: 2rem;
}

#contact-form input, #contact-form textarea {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 2px solid black;
    border-radius: 20px;
    text-align: center;
}

#contact-form button {
    align-self: center;
    padding: 0.5rem 2rem;
    background-color: var(--gold);
    color: var(--text);
    border: 2px solid var(--text);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#contact-form button:hover {
    background-color: var(--accent);
    color: var(--background);
}


.date-line {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.date-line input {
    margin-top: 16px;
    margin-left: 10px;
}

.contact-mail {
    cursor: pointer;
}

.about-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--background);
    padding: 20px;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    border-top: 2px solid black;
    transition: all 0.5s;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
}

.about-popup.show {
    bottom: 0;
}

.about-popup h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-photo img{
    border: 2px solid black;
    border-radius: 20px;
    margin-left: 25px;
}

@media (max-width: 1024px) {
    .carousel-item {
        flex: 0 0 45%;
    }
}

@media (max-width: 768px), (orientation: portrait) {

    .logo h1 {
        font-size: 1.3rem;
    }

    .hero-text {
        font-size: 2.6rem;
    }
    .hero h2{
        font-size: 1.05rem;
    }
    .hero p {
        font-size: 0.9rem;
        margin-top: 1.5rem;
    }
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }

    .features-content, .location {
        flex-direction: column;
    }

    .feature-list, .feature-details, .address, .map {
        width: 100%;
    }

    .feature-list {
        display: none;
    }

    .feature-dropdown {
        display: block;
        width: 100%;
        padding: 1rem;
        background-color: var(--secondary);
        text-align: center;
        margin: 0.5rem 0;
        border: 2px solid black;
        border-radius: 20px;
        font-size: 1rem;
    }

    #peacock-accent {
        display: none;
    }

    .feature-slide {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .feature-text {
        text-align: left;
    }

    .feature-image {
        margin-top: 0.7rem;
    }

    .gallery {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding-bottom: 3rem;
    }

    .carousel {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: y mandatory;
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    #carousel {
        border: 2px solid black;
        border-radius: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 80vw;
        width: auto;
        scroll-behavior: smooth;
    }

    .carousel-container {
        height: auto;
    }

    .carousel-item {
        flex: 0 0 auto;
        width: 100%;
        scroll-snap-align: start;
        padding: 10px 10px 0px 10px;
    }

    .carousel-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .carousel-slider {
        display: none;
    }

    #photo-form {
        flex-direction: column;
    }
    #photo-form img {
        min-width: 200px;
        margin-top: 100px;
        margin-left: 50px;
    }

    .about-popup {
        flex-direction: column;
        padding: 10px;
    }
}

@media (max-width: 480px), (orientation: portrait) {

    .carousel-container {
        height: 60vh;
    }

    .location span {
        flex-direction: column;
    }

    .location span .map {
        margin-top: 2rem;
    }
}
.curve {
    position: absolute;
    width: 100%;
    height: 50px;
    left: 0;
}
.curve-bottom {
    bottom: 0px;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    border-top: 2px solid black;
}
.curve-top {
    top: 0px;
    border-bottom-left-radius: 50% 100%; 
    border-bottom-right-radius: 50% 100%;
    border-bottom: 2px solid black;
}
.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    text-align: center;
}

/* Initial state for elements to be animated */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Final state when elements are in view */
.animate.in-view {
    opacity: 1;
    transform: translateY(0);
}
