/* Main Styles for Kelley4Florida.com */
:root {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --accent-color: #FF6B35;
  --text-color: #333333;
  --light-bg: #F5F5F5;
  --white: #FFFFFF;
  --max-width: 1200px;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px 0;
  box-shadow: var(--box-shadow);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, var(--primary-color), #005599);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.btn:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Main Sections */
section {
  padding: 80px 0;
}

section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
  color: var(--primary-color);
}

.section-white {
  background-color: var(--white);
}

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

/* Features */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  flex: 1 1 300px;
  max-width: 350px;
  transition: transform 0.3s;
}

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

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-icon {
  color: var(--secondary-color);
  font-size: 48px;
  margin-bottom: 20px;
}

/* Games Module */
.games-module {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  margin: 40px 0;
}

.games-module h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 20px;
  transition: all 0.3s;
}

.game-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.game-card h4 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.game-card a {
  color: var(--white);
  text-decoration: underline;
  transition: color 0.3s;
}

.game-card a:hover {
  color: var(--secondary-color);
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text {
  padding-right: 20px;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Testimonials */
.testimonials {
  text-align: center;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  margin: 0 auto 40px;
  max-width: 800px;
  box-shadow: var(--box-shadow);
}

.testimonial-text {
  font-style: italic;
  font-size: 18px;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
}

/* Contact Form */
.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 16px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  align-self: flex-start;
  transition: all 0.3s;
}

.contact-form button:hover {
  background-color: #00264d;
}

@media (max-width: 768px) {
  .contact-form button {
    align-self: center;
    width: 100%;
    max-width: 300px;
  }
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 50px 0 20px;
}

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

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

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

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

.footer-column a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--secondary-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: all 0.3s;
}

.social-icon:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-text {
    padding-right: 0;
  }
  
  .hero h2 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background-color: var(--primary-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 10;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 25px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    padding: 70px 0;
  }
  
  section {
    padding: 60px 0;
  }
  
  .feature-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  section h2 {
    font-size: 28px;
  }
}
