/* public/style.css */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
}
.hidden {
  display: none;
}

/* Typography */
h1, h2, h3 {
  color: #800000; /* Maroon */
  font-weight: 700;
  margin-bottom: 1rem;
}
p, li {
  margin-bottom: 0.75rem;
  color: #333;
}
a {
  color: #008080; /* Teal */
  transition: color 0.3s;
}
a:hover {
  color: #006666;
}

/* Containers */
.container {
  max-width: 1080px;
  margin: auto;
  padding: 2rem 1rem;
}

/* Navbar */
.navbar {
  background: #800000;
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
}
.navbar nav a {
  margin-left: 1.5rem;
  color: #fff;
  font-weight: 600;
}
.navbar nav a.active,
.navbar nav a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  background: #f9f9f9;
  text-align: center;
  padding: 4rem 1rem;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.3s ease;
}
.btn-primary {
  background: #008080;
  color: #fff;
  border: none;
}
.btn-primary:hover {
  background: #006666;
}
.btn-outline {
  background: transparent;
  border: 2px solid #800000;
  color: #800000;
}
.btn-outline:hover {
  background: #800000;
  color: #fff;
}

/* Preview Sections */
.about-preview,
.services-preview,
.contact-cta {
  margin: 3rem 0;
}
.about-preview h2,
.services-preview h2,
.contact-cta h2 {
  font-size: 1.75rem;
}

/* Card Grid */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin: 2rem 0;
}
.card {
  background: #fff;
  border: 1px solid #ddd;
  border-left: 5px solid #008080;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact CTA */
.contact-cta {
  text-align: center;
  background: #f2f2f2;
  padding: 3rem 1rem;
  border-radius: 8px;
}
.contact-cta p {
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: #800000;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}
.footer-flex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-flex nav a {
  color: #fff;
  font-size: 0.9rem;
}

/* Disclaimer Overlay */
#disclaimer-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.disclaimer-modal {
  background: #fff;
  padding: 2rem;
  max-width: 600px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.disclaimer-modal h2 {
  margin-bottom: 1rem;
  color: #800000;
}
.disclaimer-modal p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .header-flex,
  .footer-flex {
    flex-direction: column;
    align-items: center;
  }
  .navbar nav a {
    margin: 0.5rem 0;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
}
