/* Modern OnCourse Golf PR Website - Clean Design */

/* CSS Reset & Variables */
:root {
  --gold: #B8941E;
  --gold-dark: #8B6914;
  --green: #2C5234;
  --green-dark: #1A3D25;
  --dark-gray: #2C2C2C;
  --medium-gray: #666666;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --text-color: #333;
  --max-width: 1200px;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Typography */
body {
  font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-alt {
  background-color: var(--light-gray);
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  height: 60px;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-list a {
  color: var(--dark-gray);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* Dropdown Navigation */
.nav-list li {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 200px;
  padding: 10px 0;
  list-style: none;
}

.nav-list li:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--dark-gray);
}

.dropdown-menu a:hover {
  background-color: var(--light-gray);
  color: var(--gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-gray);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(44, 82, 52, 0.85), rgba(26, 61, 37, 0.85)), url('../images/Banner.jpg') center center/cover no-repeat;
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--gold);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--gold);
}

.btn:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--white);
}

/* Grid System */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card h3 {
  color: var(--gold);
  margin-bottom: 15px;
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Services List */
.services-list {
  list-style: none;
  display: grid;
  gap: 15px;
}

.services-list li {
  padding: 15px;
  background-color: var(--white);
  border-left: 4px solid var(--gold);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.services-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Client Logos */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  align-items: center;
}

.client-item {
  padding: 20px;
  text-align: center;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Sidebar Layout */
.sidebar-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-top: 40px;
}

.sidebar {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.sidebar h3 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul li a {
  display: block;
  padding: 10px;
  color: var(--dark-gray);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
  background-color: var(--gold);
  color: var(--white);
}

/* Team Bios */
.bio {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.bio:last-child {
  border-bottom: none;
}

.bio h3 {
  color: var(--gold);
  font-size: 1.75rem;
}

.bio h4 {
  color: var(--medium-gray);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: var(--green-dark);
  color: var(--white);
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  margin-bottom: 10px;
}

.footer-section a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--gold);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: var(--gold-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #999;
  font-size: 0.9rem;
}

/* Contact Info */
.contact-info {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.contact-info h3 {
  color: var(--gold);
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    padding: 20px;
  }

  nav.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .nav-list a {
    display: block;
    padding: 15px 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: var(--light-gray);
    margin-top: 10px;
    border-radius: 4px;
  }

  .sidebar-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    padding: 60px 0;
  }

  .card {
    padding: 20px;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  overflow-y: auto;
}

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  max-width: 800px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: var(--medium-gray);
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--dark-gray);
}

.item-meta {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
