/* styles.css */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Roboto&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
  overflow-y: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #1F2937;
}

/* Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar a {
  /*margin: 1rem;*/
  color: #1F2937;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a.active {
  color: #e5e7eb;
  border-bottom: 2px solid #e5e7eb;
}

.navbar a:hover {
  color: #e5e7eb;
}


a {
  color: #5a837f;
}


main {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

/* Section layout */
section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100svh;
  padding: 2rem;
  scroll-snap-align: start;
  opacity: 0;
  transform: translateY(1px);
  transition: opacity 2s ease, transform 6s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

html {
  scroll-snap-type: y mandatory;
}

.section-light {
  background-color: #f9fafb;
  color: #333;
}

.section-mid {
  background-color: #e5e7eb;
  color: #333;
}

.section-dark {
  background-color: #1F2937;
  color: #ffffff;
  & h1, h2, h3, h4, h5, h6 {
      color: #ffffff;
    }
    & label {
        color: #1F2937;
    }
}


/* Hero Section */
.hero {
  background: url('/img/calm.webp') center center/cover no-repeat;
  color: white;
  text-align: center;
  align-items: flex-end;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 600;
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #fff;
}

.hero p {
  font-size: 1.5rem;
  text-shadow: 0 0 5px #000, 0 0 10px #000;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

footer {
  background-color: #1F2937;
  color: #ffffff;
  padding: 1rem 0;
}

footer  {
    height: 30px;
    font-size:.8rem;
    padding-top:.3rem;
    & p {
      margin: 0;
    }
}

/* Contact form */
form {
  background: #ffffff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.form-floating>label {
    font-size: 1rem;
}

/* Responsive text */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.25rem;
  }
    body {
    font-size: 1.25rem;
  }
  .card-text {
      font-size: 1rem;
  }
}

@media (min-width: 768px) {
  body {
    font-size: 1.1rem;
  }
}

@media (min-width: 1200px) {
  body {
    font-size: 1.2rem;
  }
}
