@font-face {
  font-family: 'Amalfi Coast';
  src: url('./assets/Amalfi Coast.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #6D775B;
  --secondary-hover: #858f74;
  --text-color: #333;
  --text-light: #666;
  --bg-light: #f8f8f8;
  --white: #ffffff;
  --overlay: rgba(0, 0, 0, 0.6);
  --overlay-light: rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
  --header-height: clamp(36px, 8vw, 70px);
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.loading-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.loading-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  color: var(--white);
  animation: fadeInUp 1s ease-out;
  max-width: 90vw;
}

.loading-title {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  letter-spacing: clamp(4px, 1vw, 10px);
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

.loading-subtitle {
  font-family: 'Amalfi Coast', cursive;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: 1px;
  margin-bottom: 3.5rem;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
  opacity: 0.95;
  font-weight: 300;
}

.loading-cta {
  display: inline-block;
  margin-top: 0;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--white);
  font-family: 'Gilda Display', serif;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1.5px solid var(--white);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  position: relative;
  overflow: hidden;
}

.loading-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--white);
  transition: left 0.4s ease;
  z-index: -1;
}

.loading-cta:hover::before {
  left: 0;
}

.loading-cta:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(109, 119, 91, 0.4);
}

.loading-skip {
  display: block;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Gilda Display', serif;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.loading-skip:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Gilda Display', serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img[data-force-visible] {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.logo {
  height: clamp(36px, 8vw, 70px);
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-desktop ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-desktop a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-color);
  transition: var(--transition);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after {
  width: 100%;
}

.nav-desktop a.active {
  color: var(--secondary-color);
}

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

.nav-desktop a:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 4px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-light);
  padding: 0.3rem;
  border-radius: 25px;
}

.lang-btn {
  padding: 0.4rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 20px;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.lang-btn.active {
  background: var(--secondary-color);
  color: var(--white);
}

.lang-btn:hover:not(.active) {
  background: rgba(212, 175, 55, 0.2);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-color);
}

.menu-toggle .material-icons {
  font-size: 2rem;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: calc(var(--header-height) + 2rem);
  right: -300px;
  width: 280px;
  background: var(--white);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 999;
  border-radius: 10px 0 0 10px;
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile ul {
  padding: 2rem 0;
}

.nav-mobile li {
  border-bottom: 1px solid var(--bg-light);
}

.nav-mobile a {
  display: block;
  padding: 1rem 2rem;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.1rem;
  transition: var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a:focus-visible {
  background: var(--secondary-color);
  color: var(--white);
  padding-left: 2.5rem;
}

.nav-mobile a.active {
  background: rgba(109, 119, 91, 0.1);
  color: var(--secondary-color);
  border-left: 3px solid var(--secondary-color);
  font-weight: 600;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-height) + 4rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease;
}

.hero-image.is-preloading {
  opacity: 0;
}

.hero-image.is-ready {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 2rem;
  width: 100%;
}

.hero-title {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: 2px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.btn-primary {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--white);
  border-radius: 0;
  transition: all 0.4s ease;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--white);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}


/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Amalfi Coast', cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--primary-color);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-light);
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 3rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-item i,
.feature-item .material-symbols-outlined {
  font-size: 2.5rem;
  color: var(--secondary-color);
  flex-shrink: 0;
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 48;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.feature-item p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1.05rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Team Section */
.team-section {
  padding: 4rem 0;
}

.team-title {
  font-family: 'Amalfi Coast', cursive;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.team-member {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  text-align: center;
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-photo-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--secondary-color);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-photo-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(109, 119, 91, 0.4);
  border-color: var(--secondary-hover);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member[data-member="ines"] .team-photo {
  object-position: center 35%;
}

.team-member:hover .team-photo {
  transform: scale(1.1);
}

.team-member h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.team-role {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.team-bio {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: var(--white);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}

.service-card {
  flex: 1;
  min-width: 320px;
  max-width: 450px;
  background: var(--bg-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: 'Amalfi Coast', cursive;
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 400;
  z-index: 2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7),
               0 0 20px rgba(0, 0, 0, 0.5);
  background: rgba(109, 119, 91, 0.85);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
}

.service-image-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.2rem;
  margin: 1.5rem 1.5rem 1rem;
  color: var(--primary-color);
}

.service-card p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.05rem;
}

.service-features {
  list-style: none;
  padding: 0 1.5rem 1.5rem;
  margin: 0;
}

.service-features li {
  color: var(--secondary-color);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Parallax Section */
.parallax-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.parallax-image {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: -15%;
  left: 0;
  transition: transform 0.1s ease-out;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 2rem;
}

.parallax-title {
  font-family: 'Amalfi Coast', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.parallax-text {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* Portfolio Section */
.portfolio-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.portfolio-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.1);
}

.portfolio-overlay h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.portfolio-overlay p {
  font-size: 1.05rem;
  opacity: 0.9;
}

/* Video Portfolio Items */
.portfolio-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: var(--white);
  opacity: 0.9;
  pointer-events: none;
  transition: all 0.3s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.portfolio-item:hover .video-play-icon {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 1;
}

/* Portfolio Pagination */
.portfolio-item {
  display: none;
  flex: 1;
  min-width: 320px;
  max-width: 450px;
  cursor: pointer;
}

.portfolio-item.active {
  display: flex;
  flex-direction: column;
}

.portfolio-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination-btn {
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--secondary-hover);
  transform: scale(1.1);
}

.pagination-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
}

.pagination-number {
  background: var(--bg-light);
  color: var(--text-color);
  border: 2px solid transparent;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 1rem;
}

.pagination-number:hover {
  background: var(--secondary-color);
  color: var(--white);
}

.pagination-number.active {
  background: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: var(--white);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: stretch;
}

.contact-left {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.contact-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-item i {
  font-size: 2rem;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

.contact-item p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.contact-item a {
  color: var(--text-color);
  transition: var(--transition);
}

.contact-item a:hover,
.contact-item a:focus-visible {
  color: var(--secondary-color);
}

.contact-item a:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Contact Map */
.contact-map {
  margin-top: 4rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
  display: block;
  width: 100%;
}

/* Contact Form */
.contact-form {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.btn-submit {
  width: 100%;
  padding: 1.2rem 2rem;
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  font-family: 'Gilda Display', serif;
  box-shadow: 0 0 0 rgba(212, 175, 55, 0);
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-submit:hover::before {
  left: 0;
}

.btn-submit:hover,
.btn-submit:focus-visible {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(109, 119, 91, 0.4);
}

.btn-submit:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 3px;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-submit .btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-message {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  text-align: center;
  animation: slideDown 0.3s ease-out;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 1.05rem;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-col ul li i {
  color: var(--secondary-color);
  font-size: 1rem;
}

.footer-col ul li a[target="_blank"] {
  display: inline;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  font-size: 1.05rem;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-col a:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 4px;
  border-radius: 3px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.8);
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--secondary-color);
  transform: translateY(-3px);
  color: var(--white);
}

.social-links a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.dev-credit {
  font-size: 1rem;
  opacity: 0.8;
}

.dev-credit a {
  color: var(--secondary-color);
  font-weight: 500;
  transition: var(--transition);
}

.dev-credit a:hover,
.dev-credit a:focus-visible {
  color: var(--secondary-hover);
  text-decoration: underline;
}

.dev-credit a:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Team Member Profile Button */
.btn-view-profile {
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 0;
  font-family: 'Gilda Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-view-profile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-view-profile:hover::before {
  left: 0;
}

.btn-view-profile:hover {
  color: var(--white);
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(109, 119, 91, 0.4);
}

/* Profile Modal */
.profile-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.profile-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.profile-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1;
}

.profile-modal-content {
  position: relative;
  z-index: 2;
  background: var(--white);
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px);
  transition: transform 0.4s ease;
}

.profile-modal.active .profile-modal-content {
  transform: translateY(0);
}

.profile-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 100;
}

.profile-modal-close:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  transform: scale(1.1);
}

.profile-modal-inner {
  padding: 3rem;
  padding-top: 5rem;
  position: relative;
}

.profile-modal-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--bg-light);
  position: static;
}

.profile-modal-name {
  font-family: 'Amalfi Coast', cursive;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.profile-modal-title {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--secondary-color);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.profile-modal-body {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

/* Profile Carousel */
.profile-modal-carousel {
  flex: 1;
  min-width: 300px;
}

.profile-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.profile-carousel-images {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
}

.profile-carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 1;
}

.profile-carousel-image.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.profile-carousel-prev,
.profile-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.profile-carousel-prev {
  left: 1rem;
}

.profile-carousel-next {
  right: 1rem;
}

.profile-carousel-prev:hover,
.profile-carousel-next:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.profile-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: rgba(109, 119, 91, 0.3);
  cursor: pointer;
  transition: all 0.4s ease;
}

.carousel-dot.active {
  background: var(--secondary-color);
  width: 32px;
}

.carousel-dot:hover {
  background: var(--secondary-hover);
}

.profile-modal-bio {
  flex: 1.5;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-modal-intro,
.profile-modal-journey,
.profile-modal-role {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-color);
}

.profile-modal-intro {
  font-weight: 500;
  color: var(--primary-color);
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 10px;
  border-left: 4px solid var(--secondary-color);
}

.profile-modal-journey {
  white-space: pre-line;
}

.profile-modal-role {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(109, 119, 91, 0.05) 0%, rgba(109, 119, 91, 0.1) 100%);
  border-radius: 10px;
  font-style: italic;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.lightbox-video {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  outline: none;
  display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  z-index: 10002;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  background: rgba(255, 255, 255, 0.3);
  border-color: var(--white);
  transform: scale(1.1);
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox .material-icons {
  font-size: 2rem;
}

.lightbox-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  z-index: 10001;
}

.lightbox-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.lightbox-dot.active {
  background: var(--white);
  width: 32px;
}

.lightbox-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 1.5rem;
  }

  .services-grid,
  .portfolio-grid {
    gap: 2rem;
  }

  .service-card,
  .portfolio-item {
    max-width: 400px;
  }
}

@media (max-width: 820px) {
  html {
    font-size: 16px;
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  * {
    max-width: 100%;
  }

  .container {
    padding: 0 1rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-mobile {
    display: block;
  }

  .lang-switcher {
    position: fixed;
    top: 1.2rem;
    right: 5rem;
    z-index: 1001;
  }

  .header-container {
    padding: 1rem 1.5rem;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .loading-content {
    max-width: 95vw;
    padding: 0 1rem;
  }

  .loading-title {
    font-size: clamp(1.2rem, 5vw, 2rem);
    white-space: normal;
    word-break: break-word;
  }

  .loading-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
  }

  .hero {
    min-height: 100svh;
    width: 100vw;
    overflow-x: hidden;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    max-width: 100vw;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
  }

  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    word-break: break-word;
  }

  .section-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    padding: 0 1rem;
  }

  .section-header {
    padding: 0 1rem;
  }

  .about-section,
  .services-section,
  .portfolio-section,
  .contact-section {
    width: 100vw;
    overflow-x: hidden;
  }

  .about-content {
    flex-direction: column;
    gap: 3rem;
    width: 100%;
  }

  .about-text,
  .about-image {
    width: 100%;
    min-width: unset;
  }

  .about-intro {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
  }

  .team-grid {
    gap: 2rem;
  }

  .team-member {
    max-width: 100%;
  }

  .services-grid {
    gap: 2rem;
  }

  .service-card {
    max-width: 100%;
  }

  .portfolio-grid {
    gap: 1.5rem;
  }

  .portfolio-item {
    max-width: 100%;
  }

  .contact-content {
    flex-direction: column;
    gap: 3rem;
  }

  .contact-form {
    order: -1;
  }

  .contact-map {
    margin-top: 3rem;
  }

  .contact-map iframe {
    height: 350px;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .lightbox .material-icons {
    font-size: 1.3rem;
  }

  .lightbox-prev:hover,
  .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
  }

  .lightbox-dots {
    bottom: 1rem;
  }

  .lightbox-dot {
    width: 10px;
    height: 10px;
  }

  .lightbox-dot.active {
    width: 28px;
  }

  .profile-modal-inner {
    padding: 2rem 1.5rem;
  }

  .profile-modal-header {
    margin-bottom: 2rem;
  }

  .profile-modal-body {
    flex-direction: column;
    gap: 2rem;
  }

  .profile-modal-carousel {
    min-width: unset;
  }

  .profile-modal-bio {
    min-width: unset;
  }

  .profile-carousel-prev,
  .profile-carousel-next {
    width: 35px;
    height: 35px;
  }

  .profile-carousel-prev {
    left: 0.5rem;
  }

  .profile-carousel-next {
    right: 0.5rem;
  }

  .profile-modal-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .btn-primary {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
    padding-top: 1rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
    padding-top: 1rem;
  }

  /* Ajuster le padding des sections pour éviter le crop */
  .about-section,
  .services-section,
  .portfolio-section,
  .contact-section {
    padding-top: 4rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .team-photo-wrapper {
    width: 150px;
    height: 150px;
  }

  /* Modal profil en plein écran sur mobile */
  .profile-modal-content {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    overflow-y: auto;
  }

  .profile-modal-inner {
    padding: 2rem 1.5rem;
    padding-top: 5rem;
  }

  .profile-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 100;
  }

  .profile-modal-header {
    position: static;
  }

  .profile-modal-body {
    flex-direction: column;
  }

  .profile-modal-carousel {
    width: 100%;
    min-width: unset;
  }

  .profile-modal-bio {
    width: 100%;
    min-width: unset;
  }

  /* Header avec disparition au scroll */
  .header {
    transition: transform 0.3s ease;
  }

  .header.hidden {
    transform: translateY(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}