/* /css/styles.css - TimeSaverQ v00.00.00 */

/* Reset & Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Arial', sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  width: 100%;
  background: #3498db;
  color: #fff;
  padding: 1rem;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 {
  font-size: 2rem;
}
#theme-toggle {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background: #fff;
  color: #3498db;
  transition: background-color 0.3s;
}
#theme-toggle:hover {
  background: #ecf0f1;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.hero-content {
  flex: 1 1 300px;
  padding: 1rem;
}
.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
}
.hero-svg {
  flex: 1 1 300px;
  text-align: center;
  padding: 1rem;
}
.animated-clock {
  width: 200px;
  height: 200px;
}

/* Card Section */
.card-section {
  padding: 2rem 1rem;
}
.card-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #eee;
  margin-top: 2rem;
}

/* Dark Mode */
body.dark {
  background: #2c3e50;
  color: #ecf0f1;
}
body.dark header {
  background: #34495e;
}
body.dark #theme-toggle {
  background: #ecf0f1;
  color: #34495e;
}
body.dark .card {
  background: #34495e;
  color: #ecf0f1;
}
body.dark footer {
  background: #3a3f44;
  color: #bdc3c7;
}
