/* ===== Saint Lucy — Global Styles ===== */

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

:root {
  --charcoal: #4a4a4a;
  --charcoal-light: #6b6b6b;
  --charcoal-dark: #333333;
  --cream: #faf9f7;
  --white: #ffffff;
  --gold: #cc8844;
  --gold-light: #d9a060;
  --border: #e8e6e3;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ===== Typography ===== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--charcoal-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  line-height: 1.3;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.4;
}

p {
  margin-bottom: 1rem;
  color: var(--charcoal-light);
}

/* ===== Navigation ===== */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 5%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: var(--charcoal-dark);
  font-weight: 400;
}

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

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--charcoal-dark);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s ease;
}

/* ===== Hero Section ===== */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 85vh;
  padding: 4rem 5%;
  background: var(--cream);
}

.hero-logo {
  width: 120px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

.hero h1 {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}

.hero p {
  max-width: 600px;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

.hero .btn {
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--charcoal-dark);
  border-color: var(--charcoal-dark);
}

/* ===== Section Layout ===== */

.section {
  padding: 6rem 5%;
}

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

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

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header .divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}

.section-header p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Services Grid ===== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.service-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}

/* ===== About / Intro Section ===== */

.about {
  background: var(--cream);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text .divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual img {
  max-width: 200px;
  opacity: 0.8;
}

/* ===== CTA Section ===== */

.cta {
  text-align: center;
  background: var(--charcoal-dark);
  color: var(--white);
  padding: 5rem 5%;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta .btn {
  border-color: var(--white);
  color: var(--white);
}

.cta .btn:hover {
  background: var(--white);
  color: var(--charcoal-dark);
}

/* ===== Contact Page ===== */

.contact-hero {
  text-align: center;
  padding: 5rem 5% 3rem;
  background: var(--cream);
}

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

.contact-hero .divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-detail {
  margin-bottom: 2rem;
}

.contact-detail h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-detail p {
  color: var(--charcoal-light);
  line-height: 1.6;
}

.contact-detail a:hover {
  color: var(--gold);
}

/* ===== Contact Form ===== */

.contact-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  margin-top: 0.5rem;
}

/* ===== Footer ===== */

.footer {
  text-align: center;
  padding: 3rem 5%;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-logo {
  height: 30px;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.footer p {
  font-size: 0.8rem;
  color: var(--charcoal-light);
  letter-spacing: 0.05em;
}

/* ===== Animations ===== */

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

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 2rem 5%;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: 70vh;
    padding: 3rem 5%;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-text .divider {
    margin: 1.5rem auto;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
