:root {
  --sage: #A3B18A;
  --rose: #F6BDC0;
  --slate: #4A4E69;
  --white: #FFFFFF;
}

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

body {
  font-family: 'Merriweather', serif;
  color: var(--slate);
  background: var(--white);
}

/* Hero Section with Parallax */
.hero {
  position: relative;
  height: 100vh;
  background: url('images/1.jpg') center/cover no-repeat;
  background-attachment: fixed;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    rgba(163, 177, 138, 0.6), 
    rgba(74, 78, 105, 0.7)
  );
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    rgba(163, 177, 138, 0.6), 
    rgba(74, 78, 105, 0.7)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 800px;
  transform: translateY(0);
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5em;
  margin-bottom: 0.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.3em;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8em;
  margin-top: 0.5em;
  margin-bottom: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Parallax Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scrolling for better parallax effect */
html {
  scroll-behavior: smooth;
}

/* Bio Section */
section.bio {
  padding: 80px 20px;
  background-color: var(--rose);
  color: var(--slate);
  position: relative;
  z-index: 3;
}

.bio-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.bio-text {
  flex: 2;
}

.bio-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.bio h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2em;
  margin-bottom: 1em;
  text-align: left;
}

.bio p {
  margin-bottom: 1.2em;
  line-height: 1.7em;
  font-size: 1.05em;
}

.image-placeholder {
  width: 300px;
  height: 400px;
  background: var(--white);
  border: 3px dashed var(--slate);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  transition: all 0.3s ease;
}

.image-placeholder:hover {
  border-color: var(--sage);
  background: rgba(163, 177, 138, 0.1);
}

.image-placeholder span {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.image-placeholder small {
  font-size: 0.9em;
  opacity: 0.7;
}

.bio-photo {
  width: 300px;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid var(--slate);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(74, 78, 105, 0.25), 0 1.5px 4px rgba(0,0,0,0.10);
}

/* Contact and Map Container */
.contact-map-container {
  display: flex;
  flex-wrap: wrap;
  min-height: 500px;
}

section.contact {
  flex: 1;
  min-width: 300px;
  padding: 60px 20px;
  background: var(--white);
  text-align: center;
}

section.map {
  flex: 1;
  min-width: 300px;
  padding: 60px 20px;
  background: var(--sage);
  color: var(--white);
  text-align: center;
}

.contact h2, .map h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2em;
  margin-bottom: 1em;
}

.map h2 {
  color: var(--white);
}

.map p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.map-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
  filter: grayscale(20%) sepia(10%) hue-rotate(180deg) saturate(80%);
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 15px;
  font-size: 1em;
  border: 1px solid var(--slate);
  border-radius: 5px;
  font-family: 'Merriweather', serif;
}

button {
  background: var(--slate);
  color: var(--white);
  border: none;
  padding: 15px;
  font-size: 1em;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: var(--sage);
}

.form-message {
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  background: var(--slate);
  color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    background-attachment: fixed; /* Keep parallax effect on mobile */
  }
  
  .hero-content h1 {
    font-size: 2.5em;
  }
  
  .hero-content p {
    font-size: 1.1em;
  }
  
  .hero-content h2 {
    font-size: 1.4em;
  }
  
  .bio-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .bio h2 {
    text-align: center;
  }
  
  .image-placeholder {
    width: 250px;
    height: 350px;
  }
  
  .contact-map-container {
    flex-direction: column;
  }
  
  section.contact, section.map {
    min-width: 100%;
  }
  
  .bio-photo {
    width: 250px;
    height: 350px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2em;
  }
  
  .hero-content h2 {
    font-size: 1.2em;
  }
  
  .image-placeholder {
    width: 200px;
    height: 280px;
  }
  
  .bio-photo {
    width: 200px;
    height: 280px;
  }
}

/* Enhanced parallax effect with JavaScript support */
@media (prefers-reduced-motion: no-preference) {
  .hero {
    background-attachment: fixed;
  }
  
  .hero-content {
    transform: translateY(0);
    transition: transform 0.3s ease-out;
  }
}

/* Fallback for browsers that don't support background-attachment: fixed */
@supports not (background-attachment: fixed) {
  .hero {
    background-attachment: scroll;
  }
} 