/* Common Styles */

/* Reset and base styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1.2;
  color: #333;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #008080;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #00a0a0;
}

/* Common components */
.section-heading {
  margin-bottom: 40px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading .subtitle {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #008080;
  margin-bottom: 10px;
}

.text-link {
  position: relative;
  display: inline-block;
  color: #008080;
  font-weight: 500;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #008080;
  transition: width 0.3s ease;
}

.text-link:hover::after {
  width: 100%;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #008080 0%, #00a0a0 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 128, 128, 0.2);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 128, 128, 0.3);
  color: white;
}

/* Generic section padding */
section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* Container widths */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.gap-20 {
  gap: 20px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

/* Color utility classes */
.bg-white {
  background-color: #fff;
}

.bg-cream {
  background-color: #f9f9f9;
}

.text-teal {
  color: #008080;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Floating features */
.is-floating {
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.is-floating:hover {
  transform: translateY(-10px);
}

/* Fix for page anchors being hidden under fixed header */
:target {
  scroll-margin-top: 100px;
}