/* CSS Variables */
:root {
    --main-green: #1e3000; --orange: #ee7a13; --text-yellow: #fffadd;
    --outline-grey: #f4f1eb; --event-bg: #a7a49a;
    --font-main: 'Open Sans', sans-serif; --font-heading: 'Lora', serif;
    --transition-duration: 0.6s; /* Page transition */
    --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
    --modal-transition-duration: 0.4s; /* Modal fade */
    --modal-transition-timing: ease-in-out;
}

/* Add a keyframe animation for more engaging entrances */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Global Reset & Base Styles (Mobile First) */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-main); background-color: var(--main-green); color: var(--text-yellow);
    line-height: 1.6; position: relative; overflow-x: hidden;
    overflow-y: scroll; font-size: 16px;
    /* Removed fixed header padding */
}
.subpage-body {
    padding-top: 64px; /* Account for fixed header */
}
.hidden {
    display: none !important; /* Simplified hiding */
}

/* General Logo Placeholder / Text */
.logo-placeholder { text-align: center; }
.logo-text { font-family: var(--font-heading); font-weight: bold; color: var(--outline-grey); }
.logo-placeholder .logo-image { max-width: 100px; height: auto; vertical-align: middle; }

/* General Page Transition Styles (Applied to signup page) */
.page {
    min-height: calc(100vh - 64px); background-color: var(--main-green); color: var(--text-yellow); padding: 20px;
    display: flex; flex-direction: column; align-items: center; position: relative; box-sizing: border-box;
    padding-top: 80px; padding-bottom: 60px;
    animation: fadeIn var(--transition-duration) var(--transition-timing) forwards;
}
.page .logo-placeholder { position: absolute; top: 25px; left: 50%; transform: translateX(-50%); margin-bottom: 0; }
.page .logo-placeholder .logo-image { max-width: 80px; }
.page .back-btn {
    position: absolute; top: 25px; right: 20px; z-index: 50; border-radius: 8px;
    padding: 5px 15px; font-size: 0.85rem; color: var(--outline-grey);
    border: 1px solid var(--outline-grey); background-color: transparent;
    font-family: var(--font-main); text-transform: lowercase; cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.page .back-btn:hover { background-color: rgba(244, 241, 235, 0.1); color: var(--outline-grey); }
.page .content-wrapper { max-width: 100%; width: 100%; margin-top: 40px; text-align: center; font-family: var(--font-heading); }

/* Landing actions (anchors styled like buttons) */
#landing .actions .text-btn { font-family: var(--font-main); font-size: 0.9rem; color: var(--text-yellow); background-color: transparent; border: 1px solid var(--outline-grey); border-radius: 6px; padding: 8px 18px; cursor: pointer; text-decoration: none; transition: background-color 0.3s ease, color 0.3s ease; white-space: nowrap; text-transform: capitalize; }
#landing .actions .text-btn:hover { background-color: rgba(244, 241, 235, 0.1); }

/* ========== LANDING PAGE STYLES (Mobile First) ========== */
#landing {
    min-height: calc(100vh - 64px); position: relative; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 20px 15px;
    background-image: url('images/landing-bg.jpeg.jpeg');
    background-size: cover; background-position: center center; background-repeat: no-repeat;
    z-index: 10; opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity var(--transition-duration) var(--transition-timing),
                 transform var(--transition-duration) var(--transition-timing);
}
#landing.hidden {
    opacity: 0 !important; visibility: hidden !important; transform: translateY(-20px);
    pointer-events: none !important; display: none !important;
}
#landing .overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--main-green); opacity: 0.88; z-index: 1; }
#landing .content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 600px; margin-top: 0; padding: 20px 0; }
#landing .logo-placeholder { margin-bottom: 30px; transform: translateY(0); }
#landing .logo-placeholder .logo-image { max-width: 120px; }
#landing .join-club-text { font-style: italic; font-size: 1.1rem; margin-bottom: 15px; color: var(--text-yellow); }
#landing .main-signup-btn {
    font-family: var(--font-heading); font-size: 1.6rem; font-weight: 500; color: var(--text-yellow);
    background-color: transparent; border: 1.5px solid var(--outline-grey); border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 8px; /* MOVED UP: Further reduced bottom margin */
    cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: space-between;
    width: 90%; max-width: 400px; transition: background-color 0.3s ease, color 0.3s ease; text-transform: uppercase;
}
#landing .main-signup-btn span:first-child { flex-grow: 1; text-align: center; padding-left: 15px; }
#landing .main-signup-btn .arrow { font-size: 1.6rem; line-height: 1; margin-left: 10px; text-align: right; }
#landing .main-signup-btn:hover { background-color: rgba(244, 241, 235, 0.1); }
#landing .actions {
    display: flex; gap: 10px; align-items: center; justify-content: center;
    margin-top: 5px; /* MOVED UP: Kept small top margin */
    flex-wrap: wrap;
}
#landing .actions button:not(.icon-link),
#landing .actions .text-btn {
    font-family: var(--font-main); font-size: 0.9rem; color: var(--text-yellow); background-color: transparent;
    border: 1px solid var(--outline-grey); border-radius: 6px; padding: 8px 18px; cursor: pointer;
    text-decoration: none; transition: background-color 0.3s ease, color 0.3s ease; white-space: nowrap;
}
#landing .actions .icon-link {
    background-color: transparent; border: 1.5px solid var(--orange); border-radius: 6px;
    width: 40px; height: 40px; padding: 0; cursor: pointer; text-decoration: none;
    display: flex; align-items: center; justify-content: center; transition: background-color 0.3s ease;
}
#landing .actions .icon-link svg { fill: var(--text-yellow); width: 18px; height: 18px; transition: fill 0.3s ease; }
#landing .actions button:not(.icon-link):hover,
#landing .actions .text-btn:hover,
#landing .actions .icon-link:hover { background-color: rgba(244, 241, 235, 0.1); }

/* ========== PAST EVENTS STYLES (Mobile First) ========== */
/* Using #upcoming-events ID for consistency if JS relies on it, but styles apply to Past Events */
#upcoming-events {
    position: relative; z-index: 5; background-color: var(--main-green); padding: 50px 15px 60px 15px;
    box-sizing: border-box; width: 100%; text-align: center; opacity: 1; visibility: visible;
    transition: opacity var(--transition-duration) var(--transition-timing);
}
#upcoming-events.hidden,
#about.hidden,
#contact.hidden {
    /* This is no longer needed as sections are always visible on the main page */
}
.logo-placeholder.upcoming-logo { display: none; }
#upcoming-events h2 { font-family: var(--font-main); font-size: 1.3rem; text-transform: lowercase; letter-spacing: 1px; margin-bottom: 40px; color: var(--text-yellow); font-weight: normal; text-align: center; }
.events-grid { display: grid; grid-template-columns: 1fr; gap: 25px; max-width: 500px; margin: 0 auto 50px auto; text-align: left; }
.event-item { display: flex; flex-direction: column; background-color: var(--main-green); overflow: hidden; }
.event-image-placeholder { width: 100%; height: 250px; background-color: #555; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.event-image-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.event-description { width: 100%; background-color: var(--event-bg); padding: 20px 25px; color: var(--main-green); font-family: var(--font-main); font-size: 0.9rem; line-height: 1.6; display: flex; flex-direction: column; justify-content: center; height: auto; }
.event-description p { margin-bottom: 5px; color: var(--main-green); font-family: var(--font-main); }
.event-description p:last-child { margin-bottom: 0; }
.event-description strong { font-weight: 700; color: var(--main-green); font-family: var(--font-main); }
.bottom-signup-btn {
    font-family: var(--font-main); font-size: 0.9rem; color: var(--text-yellow); background-color: transparent;
    border: 1.5px solid var(--outline-grey); border-radius: 8px; padding: 10px 30px; cursor: pointer;
    text-decoration: none; transition: background-color 0.3s ease, color 0.3s ease; display: inline-block;
    margin-top: 0; text-transform: uppercase;
}
.bottom-signup-btn:hover { background-color: rgba(244, 241, 235, 0.1); color: var(--text-yellow); }

/* ========== SIGNUP PAGE STYLES (Mobile First) ========== */
#signup-page {
    padding-bottom: 20px; /* Reduced bottom padding */
}
#signup-page h2 { font-family: var(--font-heading); font-size: 1.7rem; font-style: italic; font-weight: 500; margin-bottom: 30px; color: var(--outline-grey); }
#signup-page p, #signup-page .list-group, #signup-page .form-link { font-family: var(--font-heading); font-size: 1.05rem; line-height: 1.7; color: var(--text-yellow); margin-bottom: 30px; }
#signup-page p:last-child { margin-bottom: 0; }
#signup-page .list-group div { margin-bottom: 6px; }
.highlight-signup { color: var(--orange); font-weight: 700; }
#signup-page .form-link { color: var(--text-yellow); text-decoration: underline; transition: color 0.3s ease; display: inline-block; margin-bottom: 0; }
#signup-page .form-link:hover { color: var(--outline-grey); }
.animate-line { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--transition-timing), transform 0.8s var(--transition-timing); }
.animate-line.visible { opacity: 1; transform: translateY(0); }

/* ========== MODAL STYLES (Robust Version) ========== */
.modal {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000;
    display: flex; justify-content: center; align-items: center;
    padding: 15px; box-sizing: border-box;
    background-color: rgba(30, 48, 0, 0.92);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity var(--modal-transition-duration) var(--modal-transition-timing),
                visibility 0s var(--modal-transition-duration);
}
.modal.visible {
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: opacity var(--modal-transition-duration) var(--modal-transition-timing),
                visibility 0s 0s;
}
.modal-content {
    background-color: var(--main-green); color: var(--text-yellow);
    padding: 30px 25px; border-radius: 8px; max-width: 500px; width: 95%;
    position: relative; z-index: 1001; text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.modal-back-btn {
    position: absolute; top: 10px; right: 10px; z-index: 1002;
    border-radius: 25px; padding: 5px 15px; font-size: 0.8rem; color: var(--outline-grey);
    border: 1px solid var(--outline-grey); font-family: var(--font-main);
    text-transform: lowercase; background: transparent; cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.modal-back-btn:hover { background-color: rgba(244, 241, 235, 0.1); color: var(--outline-grey); }

/* --- About Us Modal Specifics --- */
#about-us-modal .modal-content h2 { font-family: var(--font-heading); font-size: 1.7rem; margin-bottom: 25px; text-align: center; font-weight: 500; color: var(--text-yellow); }
#about-us-modal .modal-content h2 em { font-style: italic; font-weight: inherit; }
#about-us-modal p.animate-paragraph { font-family: var(--font-heading); font-size: 1rem; line-height: 1.7; margin-bottom: 1.5em; color: var(--text-yellow); opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease-out, transform 0.5s ease-out; }
#about-us-modal p.animate-paragraph br { display: block; content: ""; margin-top: 0.3em; }
#about-us-modal p.animate-paragraph:last-child { margin-bottom: 0; }
#about-us-modal p.animate-paragraph.visible { opacity: 1; transform: translateY(0); }
#about-us-modal .highlight-living, #about-us-modal .highlight-you { color: var(--orange); font-weight: bold; }

/* --- Contact Modal Specifics --- */
#contact-modal .modal-content { text-align: center; padding-top: 45px; padding-bottom: 35px; }
#contact-modal h2 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 500; margin-bottom: 25px; color: var(--text-yellow); text-transform: lowercase; }
#contact-modal .email-info { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
#contact-modal .email-icon { width: 22px; height: 22px; fill: var(--text-yellow); }
#contact-modal .email-link { font-family: var(--font-heading); font-size: 1rem; color: var(--text-yellow); text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.3s ease, border-color 0.3s ease; word-break: break-all; }
#contact-modal .email-link:hover { color: var(--outline-grey); border-bottom-color: var(--outline-grey); }

/* ========== DESKTOP OVERRIDES (min-width: 768px) ========== */
@media (min-width: 768px) {
    body { font-size: 17px; }
    .logo-placeholder .logo-image { max-width: 130px; }

    .page { padding: 100px 40px 100px 40px; }
    .page .logo-placeholder { top: 35px; }
    .page .logo-placeholder .logo-image { max-width: 100px; }
    .page .back-btn { top: 35px; right: 25px; padding: 6px 20px; font-size: 0.9rem; }
    .page .content-wrapper { max-width: 650px; margin-top: 50px; }

    #landing { padding: 20px; }
    #landing .logo-placeholder .logo-image { max-width: 130px; }
    #landing .main-signup-btn {
        width: 400px; font-size: 2.2rem; padding: 12px 25px;
        margin-bottom: 8px; /* MOVED UP: Keep reduced margin */
    }
    #landing .main-signup-btn span:first-child { padding-left: 25px; }
    #landing .main-signup-btn .arrow { font-size: 2rem; margin-left: 15px; }
    #landing .actions {
        gap: 12px; flex-wrap: nowrap;
        margin-top: 8px; /* MOVED UP: Slightly increased margin from mobile */
    }
    #landing .actions button:not(.icon-link) { font-size: 0.95rem; padding: 8px 22px; }
    #landing .actions .icon-link { width: 44px; height: 44px; }
    #landing .actions .icon-link svg { width: 20px; height: 20px; }

    #upcoming-events { padding: 60px 20px 80px 20px; }
    #upcoming-events h2 { font-size: 1.5rem; margin-bottom: 50px; }
    .events-grid { max-width: 800px; gap: 30px; margin-bottom: 60px; }
    .event-item { flex-direction: row; align-items: stretch; height: 300px; }
    .event-image-placeholder { width: 45%; height: 100%; }
    .event-description { width: 55%; height: 100%; padding: 25px 30px; font-size: 0.95rem; }
    .bottom-signup-btn { font-size: 1rem; padding: 10px 35px; }

    #signup-page h2 { font-size: 2rem; margin-bottom: 40px; }
    #signup-page p, #signup-page .list-group, #signup-page .form-link { font-size: 1.15rem; margin-bottom: 40px; }
    #signup-page p:last-child { margin-bottom: 0; }

    /* Desktop Modal Styles */
    .modal { padding: 20px; }
    .modal-content { padding: 40px 50px; max-width: 650px; width: auto; }
    .modal-back-btn { top: 15px; right: 15px; padding: 6px 20px; font-size: 0.85rem; }
    /* Desktop About Modal */
    #about-us-modal .modal-content h2 { font-size: 2rem; margin-bottom: 35px; }
    #about-us-modal p.animate-paragraph { font-size: 1.1rem; line-height: 1.8; margin-bottom: 1.8em; }
    /* Desktop Contact Modal */
    #contact-modal .modal-content { padding: 50px 60px; }
    #contact-modal h2 { font-size: 1.8rem; margin-bottom: 30px; }
    #contact-modal .email-icon { width: 24px; height: 24px; }
    #contact-modal .email-link { font-size: 1.15rem; }

} /* End of @media (min-width: 768px) */

/* --- layout utilities --- */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.container.narrow, .narrow { max-width: 800px; }

/* --- header / top nav --- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(30,48,0,0.9); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(244,241,235,0.15); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px; }
.brand-logo { height: 40px; width: auto; display: block; }

/* Mobile Navigation */
.mobile-menu-btn { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  background: none; 
  border: 2px solid var(--outline-grey); 
  color: var(--text-yellow); 
  font-size: 1.2rem; 
  cursor: pointer; 
  padding: 8px 10px; 
  border-radius: 6px;
  transition: all 0.3s ease;
  min-width: 44px;
  height: 40px;
}
.mobile-menu-btn:hover {
  background: rgba(244,241,235,0.1);
  border-color: var(--text-yellow);
}
.main-nav { 
  display: none; 
  position: fixed; 
  top: 64px; 
  left: 0; 
  right: 0; 
  background: rgba(30,48,0,0.95); 
  backdrop-filter: blur(6px); 
  flex-direction: column; 
  padding: 20px; 
  gap: 16px; 
  border-top: 1px solid rgba(244,241,235,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 99;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.main-nav.active { display: flex; }
.main-nav .nav-link { 
  color: var(--text-yellow); 
  text-decoration: none; 
  font-family: var(--font-main); 
  font-size: 1rem; 
  opacity: 0.9; 
  padding: 12px 16px; 
  border-radius: 6px; 
  transition: all 0.25s ease; 
  text-transform: capitalize; 
  text-align: center;
  border: 1px solid transparent;
  background-color: transparent;
}
.main-nav .nav-link:hover { 
  background-color: #1e3000; 
  opacity: 1;
  border-color: rgba(244,241,235,0.2);
}
.main-nav .nav-divider { display: none; }
.main-nav .nav-cta { 
  color: var(--text-yellow); 
  text-decoration: none; 
  border: 1.5px solid var(--outline-grey); 
  border-radius: 8px; 
  padding: 12px 20px; 
  font-family: var(--font-heading); 
  text-transform: uppercase; 
  transition: all 0.3s ease; 
  text-align: center;
  margin-top: 8px;
}
.main-nav .nav-cta:hover { 
  background: rgba(244,241,235,0.1);
  border-color: var(--text-yellow);
}
.main-nav .nav-icon {
  align-self: center;
  margin: 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-link:focus,
.icon-link:active {
    outline: none;
    border-color: var(--orange); /* Or use a different focus indicator */
}

.icon-link svg {
    fill: var(--text-yellow);
}


/* Desktop Navigation */
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
  .brand-logo { height: 48px; }
  .nav-wrap { padding: 0; }
  .main-nav { 
    display: flex; 
    position: static; 
    background: none; 
    flex-direction: row; 
    padding: 0; 
    gap: 12px; 
    border: none;
    box-shadow: none;
    align-items: center;
  }
  .main-nav .nav-link { 
    font-size: 0.95rem; 
    padding: 8px 12px;
    border: 1px solid transparent;
    margin: 0;
  }
  .main-nav .nav-link:hover {
    background-color: #1e3000;
    border-color: rgba(244,241,235,0.2);
  }
  .main-nav .nav-divider { 
    display: block; 
    width: 1px; 
    height: 24px; 
    background: rgba(244,241,235,0.18); 
    margin: 0 8px;
    align-self: center;
  }
  .main-nav .nav-cta { 
    padding: 8px 16px;
    margin-top: 0;
  }
  .main-nav .nav-icon { 
    width: 44px; 
    height: 44px;
  }
  .main-nav .nav-icon svg { 
    width: 22px; 
    height: 22px; 
  }
}

/* --- footer --- */
.site-footer { background: #162200; border-top: 1px solid rgba(244,241,235,0.15); margin-top: 40px; }
/* Footer - Mobile First Design */
.site-footer { background: var(--bg-primary); padding: 32px 0 0; }
.footer-grid-4 { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 24px; 
  padding: 0 0 24px; 
  align-items: start; 
}

/* Footer Typography - Mobile Optimized */
.footer-brand-block { 
  text-align: center; 
  margin-bottom: 8px;
}
.footer-brand-block .footer-brand-name { 
  font-family: var(--font-heading); 
  font-weight: 700; 
  font-size: 1.1rem; 
  color: var(--text-yellow); 
  margin-bottom: 4px;
}
.footer-tagline { 
  font-family: var(--font-heading); 
  color: var(--text-yellow); 
  opacity: 0.85; 
  font-size: 0.85rem; 
  line-height: 1.3;
}

.footer-col { 
  text-align: center;
}
.footer-col .footer-title { 
  font-family: var(--font-heading); 
  font-weight: 700; 
  margin-bottom: 12px; 
  color: var(--text-yellow); 
  font-size: 0.9rem; 
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col .footer-list { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: flex;
  flex-direction: column;
  gap: 8px; 
}
.footer-col .footer-list li { 
  font-size: 0.8rem; 
  line-height: 1.5; 
  color: var(--text-yellow);
  opacity: 0.9;
}
.footer-col .footer-list a { 
  color: var(--text-yellow); 
  text-decoration: none; 
  opacity: 0.9; 
  font-size: inherit;
  transition: opacity 0.3s ease;
}
.footer-col .footer-list a:hover { 
  opacity: 1; 
  text-decoration: underline; 
}

/* Footer Bottom - Mobile */
.footer-bottom { 
  border-top: 1px solid rgba(244,241,235,0.12); 
  padding: 16px 0 20px; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 12px; 
  font-size: 0.75rem; 
  text-align: center;
  color: var(--text-yellow);
  opacity: 0.8;
}
.back-to-top { 
  color: var(--text-yellow); 
  text-decoration: none; 
  border: 1px solid var(--outline-grey); 
  padding: 8px 16px; 
  border-radius: 6px; 
  font-size: 0.75rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.back-to-top:hover { 
  background: rgba(244,241,235,0.08); 
  border-color: var(--text-yellow);
}

/* Tablet Responsive - 480px+ */
@media (min-width: 480px) {
  .footer-grid-4 { 
    grid-template-columns: 1fr 1fr; 
    gap: 28px; 
    padding: 0 0 28px;
  }
  .footer-brand-block { 
    text-align: left; 
    grid-column: 1 / -1;
    margin-bottom: 16px;
  }
  .footer-col { 
    text-align: left;
  }
  .footer-bottom { 
    flex-direction: row; 
    justify-content: space-between; 
    text-align: left; 
    font-size: 0.8rem;
  }
  .back-to-top { 
    font-size: 0.8rem;
  }
}

/* Desktop Responsive - 768px+ */
@media (min-width: 768px) {
  .footer-grid-4 { 
    grid-template-columns: 1.3fr 1fr 1.2fr 1fr; 
    gap: 32px; 
    padding: 0 0 32px;
  }
  .footer-brand-block { 
    grid-column: auto;
    margin-bottom: 0;
  }
  .footer-brand-block .footer-brand-name { 
    font-size: 1.2rem; 
  }
  .footer-tagline { 
    font-size: 0.9rem; 
  }
  .footer-col .footer-title { 
    font-size: 0.95rem; 
  }
  .footer-col .footer-list li { 
    font-size: 0.85rem; 
  }
  .footer-bottom { 
    font-size: 0.85rem; 
  }
  .back-to-top { 
    font-size: 0.85rem;
    padding: 6px 14px;
  }
}

/* Large Desktop - 1024px+ */
@media (min-width: 1024px) {
  .footer-grid-4 { 
    gap: 40px; 
  }
  .footer-brand-block .footer-brand-name { 
    font-size: 1.3rem; 
  }
  .footer-tagline { 
    font-size: 0.95rem; 
  }
  .footer-col .footer-title { 
    font-size: 1rem; 
  }
  .footer-col .footer-list li { 
    font-size: 0.9rem; 
  }
}

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.6fr 1fr; }
  .brand-logo { height: 52px; }
}

/* Legal Pages Styling */
.section-content { padding: 60px 0; scroll-margin-top: 80px; }
.section-title { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 20px; color: var(--text-yellow); text-align: left; position: relative; }
.section-title:after { content: ""; display: block; width: 64px; height: 2px; margin-top: 10px; background: linear-gradient(90deg, var(--orange), rgba(238,122,19,0)); }
.lead { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 14px; color: var(--text-yellow); }

.card { border: 1px solid rgba(244,241,235,0.18); background: rgba(255,255,255,0.02); border-radius: 10px; padding: 18px; }
.card a { color: var(--orange); text-decoration: underline; transition: color 0.3s ease; }
.card a:hover { color: var(--text-yellow); }
.list { margin: 8px 0 0 18px; padding-left: 6px; }
.list li { margin-bottom: 6px; }
.subhead { margin-top: 6px; margin-bottom: 6px; }

@media (min-width: 900px) {
  .section-title { font-size: 1.7rem; }
  .section-content { padding: 80px 0; }
}

/* --- About Us --- */
.about-section {
    background-color: var(--dark-green-bg);
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.about-copy h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--text-yellow);
}

.about-copy strong {
    font-size: 1.2rem;
    color: var(--text-yellow);
    font-weight: 700;
    display: inline-block;
    margin-top: 1rem;
}

.about-copy em {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #c5c5a7;
    display: block;
    margin-top: 2rem;
}

.about-visual-img {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- Contact Us --- */
.contact-card {
    background-color: #2a401e;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-list svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-yellow);
}

.contact-list a {
    color: var(--outline-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--text-yellow);
}

.small-text {
    font-size: 0.85rem;
    color: #a0a08c;
    margin-top: 2rem;
    border-top: 1px solid #4a5e43;
    padding-top: 1rem;
}


/* --- Subpages (Legal, etc) --- */
.subpage-body {
    background-color: var(--dark-green-bg);
}

.section-content {
    padding: 5rem 1rem;
}