/* =====================
   Rango Glyco Golf - Modern Bold CSS
   ===================== */

/* ====== FONT IMPORTS ====== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Lato:wght@400;700&display=swap');

:root {
  --primary: #165E36;
  --secondary: #F6F8F3;
  --accent: #A0761F;
  --accent-light: #D4A65A;
  --white: #ffffff;
  --black: #181818;
  --gray: #e5e5e5;
  --shadow: 0 4px 24px 0 rgba(22,94,54,0.10);
  --radius: 18px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Lato', Arial, sans-serif;
  background: var(--secondary);
  color: var(--primary);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

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

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  margin: 0 0 18px 0;
  letter-spacing: -1px;
  color: var(--primary);
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
}
h3 {
  font-size: 1.35rem;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
}
p, ul, ol {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 1.2em;
}
strong {
  font-weight: 700;
}

/* ====== HEADER & NAVIGATION ====== */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}
header img {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
}
.cta-btn {
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 rgba(160,118,31,0.10);
  text-decoration: none;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  outline: none;
  margin-left: 16px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--accent-light) 60%, var(--accent) 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(160,118,31,0.18);
}

/* ====== MOBILE NAVIGATION ====== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 201;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(160,118,31,0.10);
  transition: background var(--transition), transform var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent-light);
  transform: scale(1.08);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22,94,54,0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  position: absolute;
  top: 24px;
  right: 28px;
  cursor: pointer;
  z-index: 202;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent-light);
  transform: scale(1.1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 90px;
  width: 100%;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: 1px;
  transition: color var(--transition);
  padding: 6px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent-light);
}

/* ====== MAIN LAYOUT & SECTIONS ====== */
main {
  margin-top: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* ====== FLEXBOX PATTERNS ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(22,94,54,0.18);
  transform: translateY(-4px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(22,94,54,0.18);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px 0;
}
.testimonial-card span {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ====== FEATURE GRIDS & GALLERIES ====== */
.feature-grid, .experience-cards, .image-slider, .image-grid, .image-gallery, .event-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-grid > div, .experience-cards > div {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover, .experience-cards > div:hover {
  box-shadow: 0 8px 32px 0 rgba(22,94,54,0.18);
  transform: translateY(-4px) scale(1.02);
}
.image-slider > div, .image-grid > div, .image-gallery > div, .event-photos > div {
  background: var(--gray);
  border-radius: var(--radius);
  overflow: hidden;
  flex: 1 1 260px;
  min-width: 220px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.image-slider > div:hover, .image-grid > div:hover, .image-gallery > div:hover, .event-photos > div:hover {
  box-shadow: 0 8px 32px 0 rgba(22,94,54,0.18);
  transform: translateY(-2px) scale(1.01);
}
.image-slider img, .image-grid img, .image-gallery img, .event-photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.image-slider p, .image-grid p, .image-gallery p, .event-photos p {
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Lato', Arial, sans-serif;
}

/* ====== TEAM MEMBERS ====== */
.team-member {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-member img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 3px solid var(--accent);
}
.team-member h3 {
  margin-bottom: 0;
  color: var(--primary);
  font-size: 1.15rem;
}
.team-member p {
  color: var(--primary);
  font-size: 1rem;
  text-align: center;
}

/* ====== FEATURE LISTS ====== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-list li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent-light);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px 0 rgba(212,166,90,0.10);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

/* ====== FOOTER ====== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
footer nav a {
  color: var(--accent-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--white);
}
footer p {
  color: var(--white);
  font-size: 0.98rem;
  margin: 0;
  text-align: center;
}

/* ====== BUTTONS & INTERACTIONS ====== */
button, .cta-btn {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
button:focus, .cta-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ====== LINKS ====== */
a {
  color: var(--primary);
  text-decoration: underline;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--accent);
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
  }
  header .container {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid, .experience-cards, .image-slider, .image-grid, .image-gallery, .event-photos {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 10px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .experience-cards, .image-slider, .image-grid, .image-gallery, .event-photos, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .team-member {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 18px;
  }
  .mobile-nav {
    padding-left: 18px;
    gap: 18px;
  }
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -2px 24px 0 rgba(22,94,54,0.10);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 16px 18px 16px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  animation: cookieBannerIn 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cookie-banner .accept {
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  color: var(--white);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: linear-gradient(90deg, var(--accent-light) 60%, var(--accent) 100%);
  color: var(--white);
  transform: scale(1.04);
}
.cookie-banner .reject {
  background: var(--gray);
  color: var(--primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--accent-light);
  color: var(--white);
  transform: scale(1.04);
}
.cookie-banner .settings {
  background: var(--white);
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.04);
}

/* ====== COOKIE MODAL ====== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22,94,54,0.85);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--white);
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(22,94,54,0.18);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  font-family: 'Lato', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.4s cubic-bezier(.4,0,.2,1);
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 22px;
  height: 22px;
  margin-right: 8px;
}
.cookie-modal .cookie-category.essential label {
  color: var(--accent);
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--accent);
  transform: scale(1.1);
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cookie-modal .accept {
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  color: var(--white);
}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
  background: linear-gradient(90deg, var(--accent-light) 60%, var(--accent) 100%);
  color: var(--white);
  transform: scale(1.04);
}
.cookie-modal .reject {
  background: var(--gray);
  color: var(--primary);
}
.cookie-modal .reject:hover, .cookie-modal .reject:focus {
  background: var(--accent-light);
  color: var(--white);
  transform: scale(1.04);
}

/* ====== MISCELLANEOUS ====== */
ul, ol {
  padding-left: 1.2em;
}
li {
  margin-bottom: 0.5em;
}
hr {
  border: none;
  border-top: 2px solid var(--accent-light);
  margin: 32px 0;
}

/* ====== GEOMETRIC DECORATIVE SHAPES (OPTIONAL) ====== */
.section::before {
  content: '';
  display: block;
  position: absolute;
  top: -18px;
  left: 24px;
  width: 60px;
  height: 8px;
  background: linear-gradient(90deg, var(--accent) 60%, var(--accent-light) 100%);
  border-radius: 8px;
  z-index: 1;
  opacity: 0.18;
}

/* ====== ENSURE NO OVERLAPPING ====== */
section, .card, .testimonial-card, .feature-grid > div, .experience-cards > div, .team-member, .image-slider > div, .image-grid > div, .image-gallery > div, .event-photos > div {
  margin-bottom: 20px;
}

/* ====== ENSURE PROPER Z-INDEX STACKING ====== */
header { z-index: 100; }
.mobile-menu { z-index: 200; }
.mobile-menu-toggle { z-index: 201; }
.cookie-banner { z-index: 300; }
.cookie-modal-overlay { z-index: 400; }

/* ====== REMOVE GRID/COLUMN PROPERTIES (MANDATORY) ====== */
/* No display: grid, grid-*, column-count, columns, column-width, column-gap, break-inside anywhere */
