/* CourtKiosk Website Styles */

:root {
  --primary-color: #2B5F2F;      /* Tennis court green */
  --secondary-color: #F5A623;    /* Tennis ball yellow */
  --dark-color: #1A1A1A;
  --light-color: #FFFFFF;
  --gray-color: #F5F5F5;
  --text-color: #333333;
  --text-light: #666666;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
}

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

a:hover {
  text-decoration: underline;
}

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

section {
  padding: 80px 0;
}

/* Header & Navigation */
header {
  background: var(--dark-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-color);
}

.logo img {
  height: 65px;
  width: auto;
}

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

.nav-links li a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  padding: 10px 18px;
  border-radius: 6px;
  display: block;
}

.nav-links li a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.nav-links li a.active {
  color: var(--secondary-color);
}

/* CTA Button in Nav */
.nav-cta a {
  background: var(--secondary-color) !important;
  color: var(--dark-color) !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  border-radius: 50px !important;
}

.nav-cta a:hover {
  background: #e09000 !important;
  transform: translateY(-1px);
}

/* Language Switch */
.lang-switch {
  margin-left: 10px;
}

.lang-switch a {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: rgba(255,255,255,0.8) !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  font-size: 0.85rem !important;
}

.lang-switch a:hover {
  border-color: var(--secondary-color) !important;
  color: var(--secondary-color) !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e4620 100%);
  color: var(--light-color);
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Hero with Image */
.hero-with-image .container {
  display: flex;
  align-items: center;
  gap: 60px;
  text-align: left;
}

.hero-with-image .hero-content {
  flex: 1;
}

.hero-with-image .hero-content p {
  margin: 0 0 2rem;
}

.hero-with-image .hero-image {
  flex: 1;
}

.hero-with-image .hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .hero-with-image .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-with-image .hero-content p {
    margin: 0 auto 2rem;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: #e09000;
  text-decoration: none;
}

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

.btn-secondary:hover {
  background: var(--light-color);
  color: var(--primary-color);
  text-decoration: none;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: var(--light-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: var(--primary-color);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* Benefits List */
.benefits-list {
  list-style: none;
}

.benefits-list li {
  padding: 15px 0;
  padding-left: 40px;
  position: relative;
  border-bottom: 1px solid #eee;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Product Specs */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.specs-table th,
.specs-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.specs-table th {
  background: var(--gray-color);
  font-weight: 600;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
}

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

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  margin-top: 4px;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.image-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.image-gallery img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .image-gallery {
    grid-template-columns: 1fr;
  }
}

/* Background Variations */
.bg-gray {
  background: var(--gray-color);
}

.bg-dark {
  background: var(--dark-color);
  color: var(--light-color);
}

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

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
  color: var(--light-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* CTA Section */
.cta-section {
  background: var(--primary-color);
  color: var(--light-color);
  text-align: center;
  padding: 80px 0;
}

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

.cta-section p {
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Add mobile menu JS later */
  }

  .hero h1 {
    font-size: 2rem;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  section {
    padding: 60px 0;
  }
}
