/* Universal Selectors */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #0d0d0d;
    --color-gold: #c9a227;
    --color-grey: #2c2c2c;
    --color-lightgrey: #d3d3d3;
}

body {
    background-color: var(--color-black);
}

html {
    scroll-behavior: smooth;
}

/* Splash Styles */

#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-black);
    z-index: 1000;
    transition: opacity 0.6s ease;
}

#splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-logo {
    height: 50vh;
    width: auto;
}

.enter-btn {
    background-color: var(--color-gold);
    font-family: "Cormorant", serif;
    border: none;
    border-radius: 25px;
    font-size: 3rem;
    transition: 0.8s;
    color: var(--color-grey);
    padding: 0rem 2.5rem;
}

.enter-btn:hover {
    background-color: var(--color-black);
    color: var(--color-gold);
    transition: 0.8s;
    border: none;
}

/* Header Styles */

header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 125px;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-black);
}

.header-logo {
    height: 5.5rem;
    width: auto;
}

a {
    font-family: "Cormorant", serif;
    text-decoration: none;
    list-style-type: none;
    font-size: 1.5em;
    color: var(--color-gold);
}

li {
    display: inline;
    padding: 0px 25px;
    font-size: 1.3em;
}

a:hover {
    color: var(--color-grey);
    font-weight: bold;
    transition: 0.5s;
}

a:active {
    color: var(--color-grey);
}

/* Hamburger Styles */

#nav-close {
    display: none;
}

#nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

#nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-gold);
}

/* Section Divider */

.section-divider {
    width: 100%;
    max-width: 800px;
    height: 1px;
    margin: 4rem auto;
    background: linear-gradient(
        to right,
        transparent 0%,
        var(--color-gold) 50%,
        transparent 100%
    );
}

/* About Styles */

#about-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.about-image {
    position: relative;
    min-height: 400px; 
    
}

.about-image img {
    position: absolute;
    object-fit: cover;
    border: 4px solid var(--color-black); 
    transition: transform 0.3s ease;
}

.about-image img:hover {
    z-index: 10;
    transform: scale(1.05);
}

.img-1 {
    width: 65%;
    height: 65%;
    top: 65%;
    right: 30%;
    z-index: 3;
}

.img-2 {
    width: 55%;
    height: 55%;
    top: 10%;
    right: 20%;
    z-index: 2;
}

.img-3 {
    width: 65%;
    height: 65%;
    top: -45%;
    right: 10%;
    z-index: 1;
}

.about-image,
.about-text {
    flex: 1; 
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border: 3px solid var(--color-gold);
}

.about-text h2 {
    font-family: "Cormorant", serif;
    color: var(--color-gold);
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p {
    font-family: "Open Sans", sans-serif;
    color: var(--color-lightgrey);
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
    text-align: center;
    padding-top: 1rem;
}

/* Carousel Styles */

#carousel-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

#carousel-section h2 {
    font-family: "Cormorant", serif;
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-gold);
    padding-bottom: 2.5rem;
}

.carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.carousel-track {
    position: relative;
    width: 100%;
    overflow: hidden;
    flex: 1;
    height: 60vh;
    max-width: 700px;
    aspect-ratio: 4 / 3;
    min-width: 0;
}


.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.carousel-slide.active {
    display: block;
}

#carousel-prev {
    background-color: var(--color-gold);
    font-family: "Cormorant", serif;
    border: none;
    border-radius: 25px;
    font-size: 3rem;
    transition: 0.8s;
    color: var(--color-grey);
    padding: 0rem 2.5rem;
}

#carousel-prev:hover {
    background-color: var(--color-black);
    color: var(--color-gold);
    transition: 0.8s;

}

#carousel-next {
    background-color: var(--color-gold);
    font-family: "Cormorant", serif;
    border: none;
    border-radius: 25px;
    font-size: 3rem;
    transition: 0.8s;
    color: var(--color-grey);
    padding: 0rem 2.5rem;
}

#carousel-next:hover {
    background-color: var(--color-black);
    color: var(--color-gold);
    transition: 0.8s;

}

#carousel-section a {
    margin-top: 2rem;
}

/* Other Links Styles */

#social-section {
    text-align: center;
    padding: 5rem 2rem;
}

#social-section h2 {
    font-family: "Cormorant", serif;
    color: var(--color-gold);
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#social-section p {
    color: lightgrey;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    font-family: "Cormorant", serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    padding: 1rem 2.5rem;
    text-decoration: none;
    transition: 0.3s ease;
}

.social-link:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
}

/* Contact Section Styles */

#contact-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem; 
}

.contact-map,
.contact-info {
    flex: 1;
}
.contact-info h2 {
    color: var(--color-gold);
    font-size: 2.5rem;
    font-family: "Cormorant", serif;
    margin-bottom: 3rem;
}

.contact-map iframe {
    width: 100%;
}

.hours,
.contact-detail {
    font-family: "Cormorant", serif;
    font-size: 1.5rem;
    color: var(--color-lightgrey);
    margin-top: 1.5rem;
}

#contact-section .cta-button {
    margin-top: 2rem;
    display: inline-block; /* so margin-top actually behaves predictably on an <a> */
}

/* Footer */

#footer {
    font-family: "Cormorant", serif;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 150px;
    border-top: 2px solid var(--color-gold);
}

.site-owner {
    color: var(--color-lightgrey);
    font-size: 1rem;
    text-align: center;
    margin-left: 2.5rem;
}

.site-owner a {
    font-size: 1.5rem;
    color: var(--color-lightgrey);
    padding: 1rem 2rem;
    display: inline-block;
}

.site-owner a:hover {
    color: var(--color-gold);
}

.quick-links h5 {
    font-size: 1rem;
    color: var(--color-lightgrey);
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    list-style: none;
}

.footer-nav a {
    font-family: "Cormorant", serif;
    font-size: 1rem;
    color: lightgrey; /* smaller, quieter than header nav — footer shouldn't compete visually */
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--color-gold);
}

.site-creator p {
    color: var(--color-lightgrey);
}

.site-creator a {
    color: var(--color-lightgrey);
}

.site-creator a:hover {
    color: var(--color-gold);
}


/* Gallery Styles */

#gallery-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.gallery-item {
    aspect-ratio: 4 / 4;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    transition: 0.8s ease-in-out;
}

#gallery-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*===========================================================================
===========================================================================
   Gallery Lightbox Styles
===========================================================================
===========================================================================*/

.hidden {
    display: none;
}

#lightbox:not(.hidden) {
    display: flex;
}

#lightbox {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   align-items: center;
   justify-content: center;
   z-index: 99;
   background-color: rgba(0, 0, 0, 0.85);
}

#lightbox-close {
    position: absolute;
    top: 150px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
}


/*========================================================================
==========================================================================
    Media Querys
==========================================================================
========================================================================*/
@media (max-width: 425px) {
    
    #splash {
        display: block;
        height: 100%;
        width: 100%;
    }

    .splash-logo {
        height: 30vh;
        width: auto;
    }

    .header-logo {
        padding-left: 20px;
    }

    #nav-toggle {
        padding-right: 20px;
    }

    #contact-section {
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }
}


@media (max-width: 768px) {
    #splash {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .splash-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        max-height: 30vh;
    }

    header {
        justify-content: space-between;
    }

    #nav-toggle {
        display: flex;
    }

    #main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: var(--color-black);
    transform: translateX(100%); 
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    z-index: 998; 
    }

#main-nav.open {
    transform: translateX(0); 
    } 

#main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    }

    #nav-close {
        display: block;
        position: absolute;
        top: 120px;
        right: 0;
        font-size: 1.5rem;
        color: var(--color-gold);
        background: none;
        border: none;
        padding-right: 10px;
    }
    
    .about-image {
        min-height: 250px;
        position: relative;
    }

     .about-image img {
        position: static;
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .img-2,
    .img-3 {
        display: none;
    }

    .img-1 {
        position: static;
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
 
    #about-section {
        flex-direction: column;
        gap: 2rem;
        margin: 3rem auto;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .carousel {
        position: relative;
    }

    .carousel-track {
        max-width: 100%;
    }

    #carousel-prev,
    #carousel-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background-color: rgba(13, 13, 13, 0.6); 
        border-radius: 50%;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
    }

    #carousel-prev {
        left: 0.5rem;
    }

    #carousel-next {
        right: 0.5rem;
    }
}


@media (max-width: 375px) {
    #contact-section {
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }
}

