/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

/* Color Palette */
:root {
  --serenity-blue: #0077B6;
  --mint-fresh: #48C9B0;
  --pristine-white: #FFFFFF;
  --slate-grey: #333333;
  --light-grey: #F8F9FA;
  --border-grey: #E5E5E5;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--slate-grey);
  line-height: 1.6;
  background: var(--pristine-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Navigation */
nav {
  position: sticky;
  top: 0;
  background: var(--pristine-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 1rem 5%;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--serenity-blue);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--slate-grey);
  font-weight: 400;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--serenity-blue);
}

.btn-book {
  background: var(--mint-fresh);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(72, 201, 176, 0.3);
}

.btn-call {
  background: transparent;
  color: var(--serenity-blue);
  border: 2px solid var(--serenity-blue);
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
}

.btn-call:hover {
  background: var(--serenity-blue);
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.95), rgba(72, 201, 176, 0.95)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f0f0" width="1200" height="600"/></svg>');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 4rem 5%;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--mint-fresh);
  color: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(72, 201, 176, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.2s;
  display: inline-block;
}

.btn-secondary:hover {
  background: white;
  color: var(--serenity-blue);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 5%;
}

/* Trust Signals */
.trust-signals {
  background: var(--light-grey);
  padding: 2rem 5%;
  text-align: center;
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  padding: 1rem 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 600;
  color: var(--serenity-blue);
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--serenity-blue);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--serenity-blue);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--serenity-blue), var(--mint-fresh));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: white;
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  color: var(--serenity-blue);
  margin-bottom: 0.5rem;
}

.team-info .title {
  color: var(--mint-fresh);
  font-weight: 600;
  margin-bottom: 1rem;
}

.fun-fact {
  background: var(--light-grey);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-style: italic;
}

/* Before/After Slider */
.before-after-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.before-after-slider {
  position: relative;
  width: 100%;
  height: 400px;
  background: var(--light-grey);
}

.before-image, .after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.before-image {
  background: linear-gradient(135deg, #666, #999);
}

.after-image {
  background: linear-gradient(135deg, var(--serenity-blue), var(--mint-fresh));
  clip-path: inset(0 50% 0 0);
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: white;
  cursor: ew-resize;
  z-index: 10;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-size: 1.5rem;
  color: var(--serenity-blue);
}

/* Emergency Page */
.emergency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.emergency-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid var(--serenity-blue);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.emergency-card h3 {
  color: var(--serenity-blue);
  margin-bottom: 1rem;
}

.same-day-badge {
  background: var(--mint-fresh);
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0;
  display: inline-block;
}

/* Gallery */
.gallery-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 2px solid var(--serenity-blue);
  color: var(--serenity-blue);
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--serenity-blue);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* Contact Page */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.map-section {
  background: var(--light-grey);
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--serenity-blue), var(--mint-fresh));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-section {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--slate-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--border-grey);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--serenity-blue);
}

/* Footer */
footer {
  background: var(--serenity-blue);
  color: white;
  padding: 3rem 5%;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--mint-fresh);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .nav-links {
    font-size: 0.9rem;
    gap: 1rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 3rem 5%;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* Accessibility */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--mint-fresh);
  outline-offset: 2px;
}

/* Section Spacing */
section {
  margin-bottom: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--serenity-blue);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--slate-grey);
  max-width: 700px;
  margin: 0 auto;
}