* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Vollkorn';
    src: url("../fonts/vollkorn/Vollkorn-Black.ttf") format('truetype');
}

:root {
    --main-color: #f6f3ed;
    --dark-color: #816b40;
    --step-color: #ced7e0;
    --step-size: 32px;
    --steps: 3;
    --progress-width: calc((var(--steps) - 1) / var(--steps) * 100%);
}
/*------------------------------*/
/* Tag Styles */
body {
    font-family: 'EB Garamond', 'Vollkorn', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif, sans-serif;
    background-color: var(--main-color);
    line-height: 1.6;
    width: 100%;
    height: 100%;
}

i, a {
    cursor: pointer;
}

a { 
    text-decoration: none; 
}

li { 
    list-style: none; 
}

h2 { 
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 3px;
}

.horizontal-line {
    width: 90%;
    height: 2px;
    background-color: var(--dark-color);
    margin: 20px auto;
}

h3 {
    text-align: center;
}

label {
    display: inline-block;
    margin-bottom: 4px;
}

input, textarea {
    outline-color: var(--main-color);
    border: 1px solid lightgray;
    padding: 8px 16px;
    border-radius: 4px;
    width: 100%;
    font-size: 16px;
}

textarea {
    resize: none;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

/* Scrollbar Background */
::-webkit-scrollbar-track {
  background: var(--main-color);
  border-radius: 10px;
}

/* Scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
  background: rgba(129, 107, 64, 0.8);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(129, 107, 64, 1);
}
/*------------------------------*/
/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    color: #333;
    padding: 0 1rem;
}

.logo {
    padding: 5px 0;
    max-height: 70px;
}

.mainMenu {
    display: flex;
    list-style: none;
}

.mainMenu .menuItem {
    color: #333;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 1.5rem;
    transition: 0.2 ease;
}

.mainMenu .menuItem:hover {
    background-color: #333;
    color: var(--main-color);
}

.openMenu {
    font-size: 2rem;
    margin: 30px;
    cursor: pointer;
    display: none;
}

.closeMenu {
    font-size: 2rem;
    cursor: pointer;
    display: none;
}

.mainMenu i {
    margin-top: 5px;
    font-size: 2rem;
    cursor: pointer;
}

.fa-instagram {
    color: #333;
    transition: color 0.3s ease;
}

.fa-instagram:hover {
    color: rgb(255, 0, 191);
}

@media only screen and (max-width: 800px) {
    .mainMenu {
        height: 100vh;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        align-items: center;
        background: var(--main-color);
        transition: top 1s ease;
        display: none;
        font-size: 2rem;
    }

    .mainMenu.active {
        display: flex;
        top: 0;

        /* Starting position to fix transition from display: none */
        @starting-style {
            top: -100%;
        }
    }

    .closeMenu {
        display: inline-block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .openMenu {
        display: block;
    }

    .mainMenu a:hover {
        font-size: 1.6rem;
    }

    .mainMenu i {
        display: inline-block;
    }
}
/*-------------------------------------------------------------------------*/
/* Hero Section */
.hero-section {
    height: calc(100vh - 70px); /* Full viewport height minus header */
    overflow: hidden;
}

#hero-desktop, #hero-mobile {
    position: absolute;
    height: calc(100vh - 70px);
    width: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
}

.hero-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(100vh - 70px);
    z-index: 2;
    padding: 0px 5vw;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

#before-text {
    word-spacing: 100vw;
}

#after-container {
    width: 40vw;
    opacity: 0;
    display: none;
}

#after-text {
    width: 13vw;
}

.overlay-text {
    color: white;
    font-size: 3rem; /* Default font size */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Add shadow for readability */
}

#flash-btn, #gallery-btn {
    box-shadow: 0 9px #999;
    padding: 10px 20px;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: var(--dark-color);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    width: fit-content;
}

#flash-btn {
    padding: 15px 20px;
}

#flash-btn:active, #gallery-btn:active {
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

#fade {
    position: absolute;
    background-color: white;
    width: 100%;
    margin-top: 70px;
    height: calc(100vh - 70px);
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity 3s ease-in-out;
}

#fade.active {
    opacity: 1;
}

#hero-desktop, #before-text {
    opacity: 1; /* Start with the first photo visible */
}

#hero-mobile {
    display: none;
}

#flash-btn {
    display: block; /* Show the flash button */
}

@media only screen and (max-height: 480px) {
    .overlay-text {
        font-size: 2rem;
    }

    #flash-btn, #gallery-btn {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width: 480px) {
    #hero-desktop {
        display: none;
    }
    
    #hero-mobile {
        display: block;
        opacity: 1;
        object-position: 70% 0;
    }

    .hero-container {
        align-items: start;
    }

    #before-container, #after-container {
        width: 100%;
        gap: 65vh;
        text-align: center;
        align-items: center;
        text-align: center;
    }

    #before-text, #after-text {
        word-spacing: normal;
        width: 100%;
    }

    .overlay-text {
        font-size: 3rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    }

    #after-text {
        font-size: 2.6rem;

    }

    #flash-btn, #gallery-btn {
        font-size: 1.5rem;
        padding: 10px;
    }
}

@media only screen and (max-width: 376px) {
    #before-container, #after-container {
        gap: 60vh;
    }
    #before-text, #after-text {
        font-size: 2.5rem;
    }
}
/*------------------------------*/
/* Gallery Section */
.gallery-section {
    padding-top: 20px; /* To offset the fixed header */
    height: 80%;
}

.gallery-container {
    display: flex;
    justify-content: center;
}

.card-container {
    margin-top: 1rem;
    display: grid;
    grid-auto-flow: column;
    overflow-x: auto;
    overflow-y: hidden;
    width: 90%;
    gap: 10px;
    padding: 10px 10px 0px 10px;
}

.gallery-card {
    position: relative;
    cursor: pointer;
}

.gallery-card img {
    height: 200px;
    width: 300px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
}

.gallery-card:hover {
    scale: calc(1.03);
}

.text-overlay {
    position: absolute;
    z-index: 1;
    background: rgba(0, 0, 0, 0.8);
    top: 80%;
    left: 0;
    width: 100%;
    height: 37px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.card-text {
    color: white;
    position: absolute;
    bottom: 8px;
    left: 10px;
    font-size: 1.5rem;
    text-shadow: 2px 2px black;
    user-select: none;
    cursor: pointer;
    z-index: 2;
}

.gallery-fade {
    opacity: 1;
    transition: opacity 0.5s ease-in-out !important;
}

/* Slideshow Styles */
.slideshow_modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    z-index: 9999;
}

.slideshow_modal.active {
    opacity: 1;
    pointer-events: all;
}

.slideshow_header, .slideshow_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    font-size: 20px;
}

.swiper {
    width: 100%;
    height: 100%;
    --swiper-navigation-color: #fff;
    --swiper-pagination-color: #fff;
}

.swiper-pagination-fraction {
    text-align: start !important;
    position: relative !important;
    inset: 0 !important;
    color: white !important;
    font-size: 1.6rem;
}

.swiper-slide {
    height: 90% !important;
    padding: 70px;
}

.slideshow_close-btn {
    color: #fff;
    font-size: 24px;
    background-color: transparent;
    cursor: pointer;
    border-radius: 50%;
    padding: 8px;
}

@media screen and (max-width: 1000px) {
    .gallery-card img {
        width: 310px;
    }

    .card-container::-webkit-scrollbar {
        display: none;
    }

    .card-container {
        scrollbar-width: none;
    }

    .swiper-slide {
        padding: 0;
    }

    .slideshow_close-btn:hover {
        background-color: transparent;
    }
}
/*------------------------------*/
/* Services Section */
.service-list {
    margin: 0;
    padding-inline: 0;
    list-style: none;
}

.service-list li {
  padding: 1rem;
  font-size: 1.6rem;
  background: var(#333);
}

.scroller {
    width: 80%;
    margin: 0 auto;
}

.scroller-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.scroller[data-animated="true"] {
  overflow: hidden;
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller-inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 60s)
    var(--_animation-direction, forwards) linear infinite;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}

/* About Section */
#about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 25px;
    gap: 20px;
}

#about-content > img {
    width: 400px;
    height: 400px;
    align-self: center;
}

#about-text {
    width: 90%;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
    gap: 16px;
}

@media only screen and (max-width: 480px) {
    #about-text {
        line-height: 1.6;
    }

    #about-content > img {
        width: 100vw;
        height: 350px;
        align-self: center;
    }
}
/*------------------------------*/
/* Contact Section */
.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    place-items: center;
    gap: 8px;
    color: #333;
    font-size: 1.2rem;
}

.form-wizard {
    background-color: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(167, 21, 84, 0.1);
    width: min(1600px, 80%);
}

/* Progress Styles */
.progress-container {
    position: relative;
}

.progress-container::before {
    content: '';
    position: absolute;
    height: 4px;
    width: var(--progress-width);
    background-color: var(--step-color);
    top: calc(var(--step-size) / 2);
    left: 50%;
    translate: -50% -50%;
}

.progress-container .progress {
    position: absolute;
    height: 4px;
    width: var(--progress-width);
    background-color: var(--dark-color);
    top: calc(var(--step-size) / 2);
    left: 50%;
    translate: -50% -50%;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.3s;
}

.progress-container ol {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    counter-reset: step-number;
    position: relative;
    z-index: 3;
}

.progress-container li {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--step-color);
    font-weight: bold;
    transition: 0.3s linear 0.3s;
    font-size: 1rem;
}

.progress-container li::before {
    counter-increment: step-number;
    content: counter(step-number);
    background-color: var(--step-color);
    width: var(--step-size);
    height: var(--step-size);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    transition: 0.3s linear 0.3s;
    font-size: 1rem;
}

.progress-container li:where(.done, .current) {
    color: #333;
}

.progress-container li.done::before {
    background-color: var(--dark-color);
    content: '✓';
}

.progress-container li.current::before {
    background-color: var(--dark-color);
    box-shadow: 0 0 0 3px rgba(129, 107, 64, 0.25);
}

@media only screen and (max-width: 480px) {
    .progress-container li {
        font-size: 0px;
        gap: 0px;
    }

    #session-style::placeholder {
        font-size: 0.7rem;
    }
}

/* Step Styles */
.steps-container {
    display: flex;
    overflow: hidden;
}

.step {
    flex: 1 0 100%;
    padding: 16px 8px;
    opacity: 0;
    transition: opacity 0.3s; 
    height: fit-content;
    display: grid;
    gap: 8px;
}

.step.current {
    opacity: 1;
}

/* Button Tag Styles */
button {
    cursor: pointer;
    border: none;
    border-radius: 16px;
    padding: 8px 16px;
    background-color: var(--dark-color);
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
    font-family: inherit;
}

button:active, button:hover {
    background-color: var(--dark-color);
}

button:disabled {
    opacity: 0.8;
}

button:focus {
    outline-color: #333;
}

button[type="submit"] {
    background-color: #333;
}

button[type="submit"]:active, button[type="submit"]:hover {
    background-color: #444;
}

/* Button Styles */
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 8px;
}

.controls button {
    flex: 1;
}

/* Form Complete Screen */
.completed {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.completed h3 {
    margin-bottom: 8px;
}

.completed svg {
    width: 100px;
    height: 100px;
    stroke: green;
}

.completed[hidden] {
    display: none !important;
}

.completed:not([hidden]) ~ * {
    display: none;
}

.completed button {
    width: 80%;
    margin-top: 24px;
    flex: 1;
}

/* Footer Styles */
.footer {
    margin-bottom: 15px;
}

.footer p {
    text-align: center;
    font-size: 1.3rem;
}