@import url('https://fonts.googleapis.com/css2?familyen+Sans:wght@300;700&display=swap');
@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNova-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Louis George Cafe Bold';
    src: url('../fonts/Louis George Cafe Bold.woff2') format('woff2');
    font-weight: bold;
}

:root {
  --font-primary: 'Louis George Cafe Bold', sans-serif;
  --font-secondary: sans-serif;
  --color-background: #fff;
  --color-text: #202020;
  --color-text-light: #6b7280;
  --color-title: #1f1f1f;
  --color-accent: #1f1f1f;
  --color-border: #d4d5d6;
}

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

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--color-background);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-transform: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- HEADER --- */
.main-header, .main-header-static {
  width: 100%;
  padding: .75rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  transition: top .3s ease-in-out;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
}

.main-header.header-hidden {
  top: -150px;
}

.logo-link {
  flex-shrink: 0;
}

.logo {
  height: 52px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  gap: 2rem;
}

.main-nav a, .language-toggle button {
  font-family: 'Proxima Nova', sans-serif;
  font-size: .75rem;
  font-weight: normal;
  letter-spacing: .05em;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem 0;
  transition: all .3s ease-in-out;
  position: relative;
  text-transform: capitalize;
}

.main-nav a:hover, .language-toggle button:hover {
  color: var(--color-text-light);
  transform: translateY(-2px);
}

.main-nav a.active, .language-toggle button.active {
  color: var(--color-accent);
}

.main-nav a::after, .language-toggle button::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width .3s ease;
}

.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover::after, .language-toggle button:hover::after {
  width: 100%;
}

.main-nav a::before, .language-toggle button::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width .3s ease;
}

.main-nav a:hover::after, .language-toggle button:hover::after,
.main-nav a.active::after, .language-toggle button.active::after {
  width: 100%;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --- MAIN CONTENT --- */
.homepage-main-static, .grid-main, .portfolio-main, .contact-main {
  padding-top: 4.5rem;
  padding-bottom: 1rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.site-title-logo {
  display: block;
  margin: 2rem auto 0.5rem auto;
  max-width: 300px;
  height: auto;
}

.site-title {
  font-family: 'Louis George Cafe Bold', sans-serif;
  font-size: 3rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: .02em;
  color: var(--color-title);
  text-transform: capitalize;
}

.main-nav a {
  text-transform: uppercase;
}

.site-title, h1, h2, h3, .modelNameBook {
  font-family: 'Louis George Cafe Bold', sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: .02em;
}

p, a, li, label, input, textarea, button, .event-description, .about-us-content p {
  text-transform: none;
}

.event-title {
  text-transform: capitalize;
}

.event-date {
  text-transform: none;
}



/* --- SEARCH --- */
.search-container {
  max-width: 380px;
  max-height: 30px;
  margin: 0 auto 3rem;
  position: relative;
  padding: 0 0.7rem;
}

.search-wrapper {
  display: flex;
  align-items: center;
  gap: .2rem;
  width: 100%;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  padding: .2remrem;
  transition: all .3s ease;
  margin-bottom: 10px;
}

.search-wrapper:focus-within {
  max-height: 60px;
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(0, 0, 0, .1);
}

.model-search {
  width: 100%;
  padding: .75rem 1rem;
  font-size: 0.8rem;
  border: none;
  background: none;
  font-family: var(--font-secondary);
}

.model-search:focus {
  outline: none;
}

.search-button {
  max-width: 40px;
  max-height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  right: 10px;
}

.search-button img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.search-button:hover img {
  transform: scale(1.20);
}

/* --- MODEL GRID --- */
.model-grid-container {
  display: grid;
  grid-template-columns: repeat(5, 200px);
  gap: 10px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1020px;
  width: fit-content;
  padding: 0;
}

/* Desktop grande */
@media (max-width: 1200px) {
  .model-grid-container {
    grid-template-columns: repeat(4, 200px);
    max-width: 820px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .model-grid-container {
    grid-template-columns: repeat(4, 180px);
    max-width: 740px;
    gap: 5px;
  }
}

/* Tablet pequeña / Móvil grande */
@media (max-width: 768px) {
  .model-grid-container {
    grid-template-columns: repeat(3, 180px);
    max-width: 370px;
    gap: 10px;
  }
}

/* Móvil */
@media (max-width: 576px) {
  .model-grid-container {
    grid-template-columns: repeat(2, 180px);
    max-width: 310px;
    gap: 10px;
  }
}

.model-card {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity .3s ease, transform .3s ease;
}

.model-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
}

.model-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25, .46, .45, .94);
}

.model-card:hover img {
  transform: scale(1.05);
}

.model-card.zoom-in .model-image-wrapper img {
  transform: scale(1.2);
}

.model-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  transition: opacity .5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1.5rem 0.5rem;
  pointer-events: none;
}

.model-card:hover .model-card-overlay {
  opacity: 1;
}

.model-details {
  color: white;
  font-size: .9rem;
  line-height: 1.5;
  margin-top: .5rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .4s .1s ease, transform .4s .1s ease;
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
}

.model-details p {
  margin: .2rem 0;
  padding: 1px 0;
  font-family: 'Proxima Nova', sans-serif;
}

.model-card:hover .model-details {
  opacity: 1;
  transform: translateY(0);
}

.model-card-name {
  color: var(--color-text);
  font-family: 'Proxima Nova', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  margin-top: .5rem;
  padding-bottom: 1rem;
  width: 100%;
}

/* --- ABOUT US --- */
.about-us-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 0 5rem;
  max-width: 1600px;
  margin: 0 auto;
}

.about-us-text {
  text-align: left;
  padding-right: 2rem;
}

.about-us-text p {
  font-family: 'Proxima Nova', sans-serif;
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-us-carousel {
  height: 600px;
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .about-us-container {
    grid-template-columns: 1fr 1fr;
    padding: 0 5rem;
  }

  .about-us-carousel {
    margin-top: 0;
    position: sticky;
    top: 100px;
  }
}

@media (max-width: 1023px) {
  .about-us-container {
    grid-template-columns: 1fr;
    padding: 0 3rem;
    gap: 3rem;
  }

  .about-us-text {
    padding-right: 0;
  }

  .about-us-carousel {
    height: 500px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .about-us-container {
    padding: 0 1.5rem;
    gap: 2rem;
  }

  .about-us-carousel {
    height: 400px;
  }
}

.film-roll-container {
  display: flex;
  flex-direction: column;
  animation: vertical-scroll 80s linear infinite;
  width: 100%;
  margin: 0 auto;
  align-items: center;
}

.film-roll-container img {
  width: 100%;
  height: auto;
  padding: 5px 0;
}

@keyframes vertical-scroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* --- EVENTS --- */
.events-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
}

.event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  transition: all .3s ease;
  width: 350px;
  height: 500px;
  display: block;
  position: relative;
  transform-origin: center;
  text-decoration: none;
  color: inherit;
  z-index: 1;
}

.event-card:hover {
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
}

.event-image {
  width: 350px;
  height: 220px;
  object-fit: cover;
  transition: transform .3s ease;
}

.event-card:hover .event-image {
  transform: scale(1.05);
}

.event-details {
  padding: 0.5rem;
}

.event-title {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: -5px;
  color: var(--color-title);
  text-transform: capitalize;
  text-align: center;
}


.event-description {
  line-height: 1.6;
  margin-bottom: -30px;
  font-size: 0.9rem;
  color: var(--color-text);
  text-align: justify;
}

.event-social {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-style: italic;
  font-weight: 600;
}

/* --- GRID INSTAGRAM --- */

.instagram-section {
    text-align: center;
    margin: 2rem 0;
}

.instagram-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-title);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.instagram-section h2::before,
.instagram-section h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%; /* Ajustar al ancho del mosaico */
    height: 1px;
    background-color: var(--color-border);
}

.instagram-section h2::before {
    left: 0;
    transform: translateY(15px); /* Reducir separación con el texto */
}

.instagram-section h2::after {
    right: 0;
    transform: translateY(15px); /* Reducir separación con el texto */
}

.instagram-gallery {
    display: grid;
    grid-template-columns: repeat(6, 150px);
    gap: 15px;
    justify-content: center;
    margin: 0 15px;
    padding: 0;
}

.instagram-gallery a {
    display: inline-block;
    width: 150px;
    height: 200px;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

.instagram-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
    .instagram-gallery {
        grid-template-columns: repeat(3, 120px); /* 3 columnas fijas para móviles */
        gap: 10px;
        justify-content: center;
        margin: 0 auto;
        max-width: 380px; /* 3*120px + 2*10px gap */
    }

    .instagram-gallery a {
        width: 120px;
        height: 160px; /* Imágenes fijas en móviles */
    }

    .instagram-gallery img {
        object-fit: cover;
    }
}

/* Tablet styles - 3x2 grid with larger images */
@media (min-width: 769px) and (max-width: 1024px) {
    .instagram-gallery {
        grid-template-columns: repeat(3, 180px); /* 3 columnas fijas para tablets */
        gap: 15px;
        justify-content: center;
        margin: 0 auto;
        max-width: 575px; /* 3*180px + 2*15px gap = 575px */
    }

    .instagram-gallery a {
        width: 180px;
        height: 220px; /* Imágenes fijas más grandes en tablets */
    }

    .instagram-gallery img {
        object-fit: cover;
        background-color: transparent;
    }
}

/* --- FORMS --- */
.model-form-container {
  justify-content: center;
  max-width: 700px;
  margin-top: 15px;
  margin: 0 auto;
  background: white;
}
.form-intro {
  text-align: center;
  justify-content: center;
  margin-bottom: -20px;
  margin-top: 20px;
}
.form-intro p {
  line-height: 1.6;
  max-width: 700px;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: -1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: .5rem;
  color: var(--color-text);
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color .3s ease, box-shadow .3s ease;
  font-family: var(--font-secondary);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
  outline: none;
}

.form-group textarea {
  min-height: 120px;
}

.form-section {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 1rem;
}

.form-section h3 {
  font-size: 1.4rem;
  color: var(--color-title);
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  padding-left: 15px;
}

.form-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background-color: var(--color-accent);
  border-radius: 2px;
}
/* --- Drag and Drop Photo Upload --- */
.upload-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
    margin-bottom: 1rem;
    margin-top: -30px;
}

.upload-box {
    width: 200px;
    height: 270px;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upload-box:hover {
    background-color: #e9e9e9;
}

.upload-box .image-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.upload-box:hover .image-preview {
    opacity: 0.5;
}

.upload-box .upload-label {
    position: relative;
    z-index: 2;
    color: #3a3a3aff;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    pointer-events: none;
    text-align: center;
    width: 100%;
    padding: 0 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.upload-box input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

/* --- Upload Preview --- */
.file-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4; /* above the input */
    background-color: #fff;
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.file-preview-image {
    max-width: 100%;
    max-height: 60%;
    object-fit: contain;
    margin-bottom: 10px;
}

.file-preview-details {
    text-align: center;
}

.file-preview-name {
    font-size: 0.8rem;
    word-break: break-all;
    display: block;
    margin-bottom: 10px;
    color: #333;
}

.file-preview-actions button {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.7rem;
    margin: 0 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.file-preview-actions button:hover {
    background: #000;
    color: #fff;
}

.photo-instructions {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-style: italic;
  text-align: center;
}

/* --- Media Queries for Upload Boxes --- */
@media (max-width: 768px) {
    .upload-container {
        gap: 15px;
    }
    .upload-box {
        width: 150px;
        height: 210px;
    }
    .upload-label {
      font-size: 0.7rem;
    }  
}

@media (max-width: 576px) {
    .upload-container {
        gap: 10px;
    }
    .upload-box {
        width: 120px;
        height: 180px;
    }
    .upload-label {
      font-size: 0.6rem;
    }  
}

@media (max-width: 420px) {
    .upload-container {
        gap: 10px;
    }
    .upload-box {
        width: 100px;
        height: 160px;
    }
    .upload-label {
      font-size: 0.6rem;
    }  
}

/* --- FOOTER --- */
.site-footer {
  background-color: #f9fafb;
  color: var(--color-text-light);
  padding: .25rem 1rem;
  border-top: 1px solid var(--color-border);
  font-size: .75rem;
  text-align: center;
  max-width: 1400px;
}



/* --- ANIMATIONS --- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mosaic-entrance-animation {
  animation: slideInFromBottom .8s ease-out forwards;
}

/* --- LOADER --- */
.loader {
  width: 48px;
  height: 48px;
  border: 3px solid var(--color-text-light);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  margin: 4rem auto;
}

.loader::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid;
  border-color: var(--color-accent) transparent;
}

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

/* --- PAGE LOADER --- */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#page-loader .spinner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
}

#page-loader .spinner::after {
    content: '';
    border-radius: 50%;
    border: 3px solid var(--color-text-light);
}

#page-loader .spinner::after {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top: 4px solid var(--color-accent);
    animation: page-loader-spin 1s linear infinite;
}

#page-loader .spinner img {
    position: absolute;
    width: 60px;
    height: 60px;
    object-fit: contain;
    z-index: 2;
}

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

/* --- VIDEO GRID --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 1rem;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- Carrusel Portfolio --- */
.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.carousel-images {
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
}

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

.carousel-button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel-button {
        display: none;
    }
}

/* --- MEDIA QUERIES --- */
/* Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .static-mosaic-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }

  .mosaic-column img {
    height: 500px;
  }

  .homepage-main-static {
    padding: 4rem 1.5rem 2rem 1.5rem;
  }
}

/* Mobile phones (menos de 768px) */
@media (max-width: 767px) {
  .main-header {
    padding: .75rem 1rem;
  }
  
  .main-nav {
    gap: 1rem;
  }
  
  .main-nav a, .language-toggle button {
    font-size: .7rem;
  }
  
  .homepage-main-static, .grid-main, .portfolio-main, .contact-main {
    padding-top: 4rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .static-mosaic-container {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .mosaic-column img {
    height: 600px;
  }
}

  .about-us-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .about-us-carousel {
    width: 100%;
    margin: 0 auto;
  }

  .film-roll-container {
    width: 100%;
    margin: 0 auto;
  }
  
  .site-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .site-title-logo {
    max-width: 220pxpx;
    margin-bottom: .25rem;
  }
  
  .model-form-container, .contact-form-section form, .homepage-main-static p {
    padding: 1.5rem;
    width: 100%;
  }
  
  .main-nav {
    display: none;
  }
  
  .language-toggle {
    margin-left: auto;
  }
  
  .logo {
    height: 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .hero-section {
    padding: 2rem 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .form-intro h2 {
    font-size: 1.5rem;
  }
  
  .form-section h3 {
    font-size: 1.2rem;
  }
  
  .form-group input, .form-group textarea {
    font-size: 16px; /* Prevent zoom on iOS */
  }


/* Submit Button Styles */
.submit-button {
  background-color: #000000 !important;
  color: white !important;
  border: none !important;
  padding: 1rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  display: block !important;
  width: 100% !important;
  max-width: 300px !important;
  margin: 2rem auto !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.checkbox-group {
  margin: 1rem 0;
  display: flex;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 0.5rem;
  width: 16px;
  height: 16px;
  position: relative;
  top: 2px;
}

.checkbox-group label {
  font-size: 0.8rem;
  white-space: nowrap;
  position: relative;
  top: 5px;
}

.g-recaptcha {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}


.submit-button:hover {
  background-color: #333333 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.submit-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Back Button Styles */
.back-button-container {
  text-align: center;
  padding: 1.5rem 0 0.5rem 0;
  position: relative;
  top: 0;
}

.back-button {
  background: none;
  color: #333;
  border: none;
  padding: 0.25rem 0;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
}

.back-button:hover {
  color: #6b7280;
  transform: translateY(-2px);
}

.back-button::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #000;
  transition: width .3s ease;
}

.back-button:hover::after {
  width: 100%;
}
