:root {
    --dark-green: #1a3c34;
    --light-green: #4a7043;
    --white: #ffffff;
}

.mainimage {
	padding-top: 15px !important;
	border-radius: 12px;
}

.info-box a {
	text-decoration: none !important;
	color: inherit;
}

.card-style {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
  width: 100%;               /* Reduce size slightly */
  max-width: 850px;         /* Prevent it from going too wide on large screens */
  box-sizing: border-box;   /* Ensure padding is included in width */
  text-decoration: none !important;
  color: inherit;
}

.card-style h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2e5133; /* dark green for golf theme */
}

@media (max-width: 991.98px) {
  .col-lg-8, .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .card-style {
    margin-top: 1rem;
  }
}

.info-section {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 0 auto;
}

.info-section a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 768px) {
  .card-style {
    padding: 1rem;
  }

}

.main_content a{
	text-decoration: none !important;
	color: black;
}

.slide-img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin-bottom: 0; /* no gap below the image itself */
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--light-green);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

  @media (max-width: 768px) {
	  
 .imagetext {
	font-size: 0.9rem !important;
}
 .imagetexth {
  font-size: 1.1rem !important;
}	  
  }

.poster {
  width: 100%;
  height: 500px;
  object-fit: cover;
  margin-top: 1rem;
}

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

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

.section {
    padding: 60px 0;
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 400;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #d4a373;
}

.nav-link.active {
  color: #a66e39 !important;
}

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

.text-white a:hover {
    color: var(--white);
}

.animate-slide-left {
    animation: slideInLeft 1s ease-out;
}

.animate-slide-right {
    animation: slideInRight 1s ease-out;
}

.animate-slide-up {
    animation: slideInUp 1s ease-out;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out forwards;
}


.animate-slide-right {
  animation: slideInRight 0.8s ease-out forwards;
}


@media (max-width: 767px) {
    .navbar-nav {
        background-color: var(--dark-green);
        padding: 10px;
    }
    .section {
        padding: 30px 0;
    }
}