/* Hôtels de France: De la Côte d'Azur à Paris - Style Sheet */

/* ===== CSS Variables ===== */
:root {
  /* Primary Colors - Complementary Color Scheme */
  --primary: #1e4d8c;
  --primary-dark: #0c3167;
  --primary-light: #3774c6;
  --secondary: #d47b29;
  --secondary-dark: #a45a18;
  --secondary-light: #f49a4e;
  
  /* Neutral Colors */
  --neutral-dark: #212121;
  --neutral-medium: #757575;
  --neutral-light: #f5f5f5;
  
  /* Text Colors */
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #757575;
  
  /* Background Colors */
  --bg-light: #ffffff;
  --bg-off-white: #f8f9fa;
  --bg-cream: #fcf9f2;
  
  /* Accent Colors */
  --accent-blue: #5c9ce6;
  --accent-gold: #e6b54c;
  --accent-red: #e65c5c;
  
  /* Retro Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary) 100%);
  
  /* Shadow Effects */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Retro Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
}

/* ===== Base Styles ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--primary-light);
}

/* ===== Utility Classes ===== */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.bg-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.bg-secondary {
  background-color: var(--secondary);
  color: var(--text-light);
}

.bg-gradient-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
}

.bg-cream {
  background-color: var(--bg-cream);
}

/* ===== Button Styles ===== */
.button {
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all var(--transition-medium);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button.is-primary {
  background: var(--gradient-primary);
}

.button.is-primary:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.button.is-secondary {
  background: var(--gradient-secondary);
}

.button.is-secondary:hover {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.button.is-rounded {
  border-radius: var(--radius-full);
}

.button.is-large {
  font-size: 1.25rem;
  height: 3.5rem;
  padding: 0 2rem;
}

/* Button animation */
.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%) rotate(45deg);
  transition: transform var(--transition-slow);
  z-index: -1;
}

.button:hover::before {
  transform: translateX(100%) rotate(45deg);
}

/* ===== Header & Navigation ===== */
.navbar {
  transition: background-color var(--transition-medium);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar-brand .title {
  margin-bottom: 0;
  color: var(--primary);
  font-weight: 700;
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--neutral-dark);
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary);
  background-color: transparent !important;
}

.navbar-burger {
  color: var(--primary);
}

.navbar-burger:hover {
  background-color: transparent;
}

/* Navbar animation */
.navbar-item {
  position: relative;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: all var(--transition-medium);
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 80%;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

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

.hero-body {
  position: relative;
  z-index: 2;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1.2s ease-out;
}

.hero .subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease-out;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  animation: fadeIn 1.5s ease-out;
}

.hero .button {
  animation: pulseButton 2s infinite;
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulseButton {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(30, 77, 140, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(30, 77, 140, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(30, 77, 140, 0);
  }
}

/* ===== Section Styles ===== */
.section {
  padding: 4rem 1.5rem;
}

.section:nth-child(odd) {
  background-color: var(--bg-off-white);
}

.section .title.is-2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section .title.is-2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
}

.section .subtitle {
  color: var(--neutral-medium);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Card Styles ===== */
.card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  background-color: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  overflow: hidden;
}

.image-container {
  height: 250px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card .title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.card .subtitle {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.card .content {
  color: var(--text-dark);
  flex-grow: 1;
}

/* Toggle button styles */
.toggle-container {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--neutral-light);
  transition: var(--transition-medium);
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition-medium);
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(30px);
}

.labels {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  box-sizing: border-box;
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: bold;
}

.labels::before {
  content: attr(data-off);
}

.labels::after {
  content: attr(data-on);
}

/* ===== Destination Cards (Workshops Section) ===== */
.workshops-section {
  background-color: var(--bg-cream);
}

.destination-card .title {
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.destination-card .content {
  color: var(--text-dark);
}

/* ===== Team Cards (Instructors Section) ===== */
.instructors-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-off-white) 100%);
}

.team-card .image-container {
  height: 300px;
  border-radius: 50% 50% 0 0;
}

.team-card .card-content {
  text-align: center;
}

.team-card .title {
  margin-top: 0.5rem;
}

.team-card .subtitle {
  color: var(--primary);
  font-weight: 600;
}

/* ===== Discovery Cards (Research Section) ===== */
.research-section {
  background-color: var(--bg-cream);
}

.discovery-card .image-container {
  height: 300px;
}

.discovery-card .title {
  color: var(--primary-dark);
}

/* ===== Experience Cards (Case Studies Section) ===== */
.case-studies-section {
  background: linear-gradient(135deg, var(--bg-off-white) 0%, var(--bg-light) 100%);
}

.experience-card .image-container {
  height: 300px;
}

.experience-card .title {
  color: var(--secondary-dark);
}

/* ===== Press Cards ===== */
.press-section {
  background-color: var(--bg-cream);
}

.press-card {
  text-align: center;
}

.press-card .image-container {
  height: 200px;
}

.press-card .title {
  font-size: 1.25rem;
}

.press-card .content {
  font-style: italic;
}

/* ===== FAQ Section ===== */
.faq-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-off-white) 100%);
}

.faq-card {
  margin-bottom: 1.5rem;
}

.faq-card .title {
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.faq-card .content {
  color: var(--text-dark);
}

/* ===== Careers Section ===== */
.careers-section {
  background-color: var(--bg-cream);
}

.career-card .image-container {
  height: 300px;
}

.career-card .title {
  color: var(--primary-dark);
}

/* ===== Contact Section ===== */
.contact-section {
  background: linear-gradient(135deg, var(--bg-off-white) 0%, var(--bg-light) 100%);
}

.contact-info-card,
.contact-form-card {
  height: 100%;
}

.contact-form-card .button {
  margin-top: 1rem;
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  color: var(--primary-dark);
  font-weight: 600;
}

.input, 
.textarea, 
.select select {
  border: 2px solid var(--neutral-light);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.input:focus, 
.textarea:focus, 
.select select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-light);
}

/* ===== Resources Section ===== */
.resources-section {
  background-color: var(--bg-off-white);
}

.resource-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-medium);
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-card .title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.resource-card a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.resource-card a:hover {
  color: var(--secondary);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 4rem 1.5rem 2rem;
}

.footer .title {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--secondary-light);
}

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

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-medium);
  position: relative;
  padding-left: 1.5rem;
}

.social-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.social-links a:hover {
  color: var(--secondary-light);
  transform: translateY(-2px);
}

.social-links a:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.04C6.5 2.04 2 6.53 2 12.06C2 17.06 5.66 21.21 10.44 21.96V14.96H7.9V12.06H10.44V9.85C10.44 7.34 11.93 5.96 14.22 5.96C15.31 5.96 16.45 6.15 16.45 6.15V8.62H15.19C13.95 8.62 13.56 9.39 13.56 10.18V12.06H16.34L15.89 14.96H13.56V21.96C18.34 21.21 22 17.06 22 12.06C22 6.53 17.5 2.04 12 2.04Z'/%3E%3C/svg%3E");
}

.social-links a:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M22.46,6C21.69,6.35 20.86,6.58 20,6.69C20.88,6.16 21.56,5.32 21.88,4.31C21.05,4.81 20.13,5.16 19.16,5.36C18.37,4.5 17.26,4 16,4C13.65,4 11.73,5.92 11.73,8.29C11.73,8.63 11.77,8.96 11.84,9.27C8.28,9.09 5.11,7.38 3,4.79C2.63,5.42 2.42,6.16 2.42,6.94C2.42,8.43 3.17,9.75 4.33,10.5C3.62,10.5 2.96,10.3 2.38,10C2.38,10 2.38,10 2.38,10.03C2.38,12.11 3.86,13.85 5.82,14.24C5.46,14.34 5.08,14.39 4.69,14.39C4.42,14.39 4.15,14.36 3.89,14.31C4.43,16 6,17.26 7.89,17.29C6.43,18.45 4.58,19.13 2.56,19.13C2.22,19.13 1.88,19.11 1.54,19.07C3.44,20.29 5.7,21 8.12,21C16,21 20.33,14.46 20.33,8.79C20.33,8.6 20.33,8.42 20.32,8.23C21.16,7.63 21.88,6.87 22.46,6Z'/%3E%3C/svg%3E");
}

.social-links a:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2A5.8,5.8 0 0,1 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8A5.8,5.8 0 0,1 7.8,2M7.6,4A3.6,3.6 0 0,0 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4A3.6,3.6 0 0,0 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5A1.25,1.25 0 0,1 18.5,6.75A1.25,1.25 0 0,1 17.25,8A1.25,1.25 0 0,1 16,6.75A1.25,1.25 0 0,1 17.25,5.5M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z'/%3E%3C/svg%3E");
}

.newsletter .input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}

.newsletter .input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter .button {
  background-color: var(--secondary);
}

/* ===== Success Page ===== */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-off-white) 100%);
}

.success-page .title {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.success-page .subtitle {
  color: var(--neutral-medium);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.success-icon {
  font-size: 5rem;
  color: var(--secondary);
  margin-bottom: 2rem;
}

/* ===== Terms & Privacy Pages ===== */
.terms-page,
.privacy-page {
  padding-top: 120px;
}

.terms-page .container,
.privacy-page .container {
  max-width: 800px;
}

.terms-page h2,
.privacy-page h2 {
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.terms-page p,
.privacy-page p {
  margin-bottom: 1.5rem;
}

/* ===== Media Queries ===== */
@media screen and (max-width: 1023px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .section .title.is-2 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section .title.is-2 {
    font-size: 1.75rem;
  }
  
  .card-image .image-container {
    height: 200px;
  }
  
  .footer {
    padding: 3rem 1rem 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .hero .title {
    font-size: 1.75rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .section .title.is-2 {
    font-size: 1.5rem;
  }
  
  .button.is-large {
    font-size: 1rem;
    height: 3rem;
    padding: 0 1.5rem;
  }
}

/* Animation keyframes for drawn animations */
@keyframes draw {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Dynamic color transition effect */
.card, .button, .navbar {
  position: relative;
  overflow: hidden;
}

.card::after, .button::after, .navbar::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: transform 3s linear;
  pointer-events: none;
}

.card:hover::after, .button:hover::after {
  transform: rotate(30deg) translate(100%, 100%);
}

/* Retro decorative elements */
.section .title.is-2::before,
.section .title.is-2::after {
  content: "✦";
  position: absolute;
  font-size: 1.2rem;
  color: var(--secondary);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.section .title.is-2::before {
  left: -2rem;
}

.section .title.is-2::after {
  right: -2rem;
}

@media screen and (max-width: 768px) {
  .section .title.is-2::before,
  .section .title.is-2::after {
    display: none;
  }
}