/* Layout System - Core Page Layout Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #fff;
  position: relative;
  z-index: 1000;
}

/* Promo Strip */
.promo-strip {
  background-color: #1a1a1a;
  color: #fff;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
  padding: 20px 0;
}

/* Container */
.container,
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

/* Grid System */
.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.row.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(calc(50% - 10px), 1fr));
}

.row.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(calc(33.333% - 10px), 1fr));
}

.row.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(calc(25% - 10px), 1fr));
}

.col {
  display: flex;
  flex-direction: column;
}

/* Sections */
section {
  padding: 40px 0;
}

section.dark {
  background-color: #f5f5f5;
}

section.accent {
  background-color: #ff9800;
  color: #fff;
}

/* Headers & Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
  margin-bottom: 15px;
  line-height: 1.6;
}

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

a:hover {
  color: #f57c00;
}

/* Buttons */
.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #ff9800;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn:hover,
button:hover {
  background-color: #f57c00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.btn.secondary {
  background-color: #fff;
  color: #333;
  border: 2px solid #ff9800;
}

.btn.secondary:hover {
  background-color: #f5f5f5;
  border-color: #f57c00;
}

.btn.small {
  padding: 8px 16px;
  font-size: 12px;
}

.btn.large {
  padding: 16px 32px;
  font-size: 16px;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 250px;
  background-color: #f5f5f5;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-text {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.card-footer {
  padding: 15px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 60px;
}

footer a {
  color: #ff9800;
}

footer a:hover {
  color: #ffb74d;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }
  h4 { font-size: 16px; }

  section {
    padding: 30px 0;
  }

  .container,
  .content-container {
    padding: 0 15px;
  }

  .row {
    gap: 15px;
  }

  .btn,
  button {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 20px; }
  h2 { font-size: 18px; }
  h3 { font-size: 16px; }

  section {
    padding: 20px 0;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .promo-strip {
    flex-direction: column;
    gap: 10px;
  }
}
