* {
    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: '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;
}
/*------------------------------*/
/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    color: #333;
    padding: 0 1rem;
}

.logo {
    padding: 10px 0;
    max-height: 60px;
}

.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: 2px;
    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;
    }

    .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 - 60px); /* Full viewport height minus header */
    overflow: hidden;
}

#hero-photo {
    position: absolute;
    height: calc(100vh - 60px);
    width: 100vw;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
}

.hero-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(100vh - 60px);
    z-index: 2;
    padding: 0px 5vw;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#after-container {
    width: 40vw;
    opacity: 0;
}

#after-text {
    width: 25vw;
}

.overlay-text {
    color: white;
    font-size: clamp(2rem, 5vw, 4rem); /* 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.4rem;
    font-weight: bold;
    background-color: var(--dark-color);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    width: fit-content;
}

#flash-btn {
    padding: 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: 60px;
    height: calc(100vh - 60px);
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity 3s ease-in-out;
}

#fade.active {
    opacity: 1;
}

#hero-photo, #before-text {
    opacity: 1; /* Start with the first photo visible */
}

#flash-btn {
    display: block; /* Show the flash button */
}

@media only screen and (max-width: 480px) {
    .hero-container {
        margin-top: 1rem;
        align-items: start;
    }

    #before-container, #after-container {
        margin-top: 20vh;
        gap: 1rem;
    }

    #flash-btn, #gallery-btn {
        font-size: 1rem;
        padding: 10px;
    }
}

/* Gallery Section */
.gallery-section {
    padding-top: 20px; /* To offset the fixed header */
    height: 80%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(auto-fit, 33%));
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.gallery-item img {
    object-fit: cover;
    height: 400px;
    width: auto;
}

/* Services Section */
.service-list {
    margin: 0;
    padding-inline: 0;
    list-style: none;
}

.service-list li {
  padding: 1rem;
  font-size: 1.5rem;
  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;
    margin: 25px 50px;
}

#about-text {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
    gap: 16px;
}

@media only screen and (max-width: 480px) {
    #about-text {
        font-size: 16px;
        line-height: 1.6;
    }
}
/*------------------------------*/
/* Contact Section */
.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    place-items: center;
    gap: 8px;
    color: #333;
}

.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;
}

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;
}