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

@font-face {
    font-family: 'Inspiration';
    src: url('../webfonts/Inspiration-Regular.woff2') format('woff2');
    font-style: normal;
}

:root {
    --color1: #F4D6C5;
    --color2: #EC9F6C;
    --color3: #D48F61;
    --color4: #FCF6EF;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Host Grotesk', sans-serif;
    background: var(--color1);
    overflow-x: hidden;
}

h2, h3 {
    font-family: 'Cormorant Garamond', serif;
}

a:hover {
    cursor: pointer !important;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

#overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Header, Navbar, Mobile menu */
.mobile-menu {
    position: relative;
    background: var(--color1);
    width: 80%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    padding: 5rem 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.mobile-menu.active {
    opacity: 1;
    transform: translateX(0);
}

.close-menu-mobile {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-logo-mobile {
    font-family: 'Inspiration', sans-serif;
    font-size: 4rem;
    font-weight: 500;
}

.nav-menu-mobile {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
}

.nav-menu-mobile a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
}

.mobile-menu .btn {
    font-size: 1.3rem;
    margin-right: 0;
}

.socials-links-mobile {
    display: flex;
    align-items: center;
}

.btn {
    width: fit-content;
    padding: 0.5rem 1rem;
    background: var(--color2);
    border-radius: 3px;
    margin-right: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    color: black;
}

.btn:hover {
    background: var(--color3);
    scale: 0.95;
}

header {
    width: 100%;
    transition: background 0.4s ease;
}

header:hover {
    background: white;
}

#nav2 {
    position: fixed;
    top: 0;
    transform: translateY(-200%);
    transition: transform 0.5s ease;
    z-index: 10;
    padding: 2rem 1rem;
    background: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

#nav2.revealed {
    transform: translateY(0);
}

.nav {
    position: relative;
    padding: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 1;
}

#nav1 {
    transition: all 1s ease;
}

#nav1.scrolled {
    opacity: 0;
}

.nav a {
    text-decoration: none;
    color: black;
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Inspiration', sans-serif;
    font-size: 4rem;
    font-weight: 500;
}

.nav-logo span {
    font-size: 6rem;
    color: var(--color2);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: black;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::after {
    opacity: 1;
}

.socials-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.socials-links svg {
    transition: all 0.3s ease;
}

.socials-links svg:hover {
    scale: 0.9;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: black;
}

.section-tag {
    color: var(--color2);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-description {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Main content */
.contact {
    padding: 5rem;
    background: var(--color2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    display: flex;
    width: 100%;
    padding: 3rem;
    background: white;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-img {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-img img {
    width: 75%;
    object-fit: cover;
}

.contact-form {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.contact-form h2 {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field {
  position: relative;
  margin-bottom: 24px;
}

input,
textarea {
  width: 100%;
  padding: 12px 4px;
  font-size: 16px;

  border: none;
  border-bottom: 1px solid #ddd;
  outline: none;
  background: transparent;

  transition: border-color .3s;
}

textarea {
  resize: none;
  min-height: 100px;
}

label {
  position: absolute;
  left: 4px;
  top: 12px;

  color: #999;
  font-size: 16px;

  pointer-events: none;
  transition: .25s ease;
}

/* --- Effet floating --- */
input:focus + label,
input:not(:placeholder-shown) + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 12px;
  color: var(--color2);
}

/* Bordure active */
input:focus,
textarea:focus {
  border-bottom: 1px solid var(--color3);
}

.contact-form .btn {
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    border-top: 10px solid var(--color2);
    border-bottom: 10px solid var(--color2);
}

.footer-top-content {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 1rem;
    background: var(--color2);
}

.footer-top h3 {
    font-size: 2.5rem;
    font-weight: 500;
}

.time-container {
    width: 75%;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.time-container::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    bottom: -10px;
    background: linear-gradient(to right, var(--color2) 10%, white 50%, var(--color2) 90%);
}

.contact-info-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info-container svg {
    width: 10%;
}

.contact-info-container a {
    width: 90%;
    text-decoration: underline;
    color: black;
}

.footer-top iframe {
    width: 60%;
}

.footer-mid {
    padding: 2rem;
    background: var(--color1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-mid-top {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.footer-mid-top::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -10px;
    background: linear-gradient(to right, var(--color1) 2%, white 50%, var(--color1) 98%);
}

.footer-mid-top a {
    text-decoration: none;
    color: black;
    font-family: 'Inspiration', sans-serif;
    font-size: 3rem;
    font-weight: 600;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-socials p {
    font-size: 1.2rem;
    height: 40px;
    font-weight: 600;
}

.footer-socials a {
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    opacity: 0.7;
    scale: 0.9;
}

.footer-mid-bot {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-mid-bot a {
    text-decoration: underline;
    color: black;
    transition: all 0.3s ease;
}

.footer-mid-bot a:hover {
    font-weight: 600;
}

.footer-bot {
    background: var(--color1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-bot a {
    color: black;
}
@media (max-width: 850px) {
    /* Responsive Navbar and mobile menu */
    .nav.scrolled {
        padding: 2rem;
    }

    .nav-logo {
        font-size: 3.5rem;
    }

    .nav-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
    }

    .socials-links {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    /* Responsive main content */
    .contact {
        padding: 3rem 1rem;
    }

    .contact-container {
        flex-direction: column-reverse;
    }

    .contact-form {
        width: 100%;
    }

    .contact-img {
        width: 100%;
    }
    /* Responsive Footer */
    .footer-top {
        flex-direction: column;
    }

    .footer-top-content, .footer-top iframe {
        width: 100%;
        align-items: center;
    }

    .footer-top iframe {
        height: 300px;
    }

    .footer-mid-top {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-socials .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-socials p {
        text-align: center;
    }

    .footer-bot {
        flex-direction: column;
        gap: 0;
    }

    .footer-bot a {
        padding: 14px;
    }

    .footer-bot p:nth-child(even) {
        display: none;
    }
}