/* AnnotaX Website Styles */

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

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

:root {
  --primary: #2563eb;    /* Blue */
  --primary-light: #93c5fd;
  --secondary: #475569;  /* Slate gray */
  --light: #f1f5f9;
  --dark: #1e293b;
  --white: #ffffff;
  --accent: #0ea5e9;     /* Sky blue */
  --background: #e6f3ff; /* Light blue background color */
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--background);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-weight: 500;
}

.btn:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

/* Navigation */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  flex: 1;
}

.navbar-menu {
  display: flex;
  list-style: none;
  justify-content: center;
  flex: 3;
}

.navbar-item {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.navbar-link {
  color: var(--dark);
  font-weight: 500;
}

.navbar-link.active {
  color: var(--primary);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

.navbar-empty-space {
  flex: 1;
}

/* Hero Section */
.hero {
  background-color: var(--light);
  padding: 8rem 0 4rem;
  text-align: center;
  background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--secondary);
}

/* Card Section */
.card-section {
  padding: 4rem 0;
}

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

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: var(--transition);
}

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

.card-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-title {
  margin-bottom: 1rem;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background-color: var(--light);
}

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

/* Services Section */
.services-section {
  padding: 4rem 0;
}

.service {
  margin-bottom: 3rem;
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: var(--light);
}

/* Business Section */
.business-section {
  padding: 4rem 0;
}

.table-container {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table, th, td {
  border: 1px solid var(--secondary);
}

th, td {
  padding: 10px;
  text-align: left;
}

th {
  background-color: var(--primary);
  color: var(--white);
}

tr:nth-child(even) {
  background-color: var(--light);
}

/* Contact Form */
.contact-section {
  padding: 4rem 0;
  background-color: var(--light);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--secondary);
  border-radius: var(--border-radius);
  font-family: inherit;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 3rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-link {
  color: var(--light);
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--primary-light);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar-container {
    flex-wrap: wrap;
    position: relative;
  }
  
  .navbar-logo {
    flex: 0 0 auto;
  }
  
  .navbar-empty-space {
    display: flex;
    justify-content: flex-end;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    text-align: center;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    z-index: 101;
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-item {
    margin: 0;
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .navbar-item:last-child {
    border-bottom: none;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
  }
  
  body {
    padding-top: 60px;
  }
  
  .hero {
    padding-top: 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}