/* ===== GLOBAL RESET ===== */
ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000;
}

a:visited {
    color: #000;
}


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

body {
    font-family: "Georgia", "Times New Roman", serif;
}

/* ================= HERO SECTION ================= */

.hero-section {
    position: relative;
    height: 55vh;
    min-height: 420px;
    background: url("../images/hero-bg4.png") center center / cover no-repeat;
    color: #ffffff;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Logo Left */
.hero-logo {
    position: absolute;
    top: 50px;
    left: 100px;
    z-index: 3;
}

.hero-logo img {
    width: 120px;
    height: auto;
}

/* Center Content */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Title */
.hero-title {
    font-size: 56px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

/* Subtitle */
.hero-subtitle {
    display: block;
    font-size: 18px;
    letter-spacing: 4px;
    margin-top: 12px;
    text-transform: uppercase;
    color: #ffffff;
}

/* Divider lines */
.hero-subtitle::before,
.hero-subtitle::after {
    content: "";
    width: 55px;
    height: 2px;
    background: #ffffff;
    display: inline-block;
    margin: 0 12px;
    vertical-align: middle;
}


/* ================= MOBILE HERO ================= */
@media (max-width: 767px) {

    .hero-section {
        height: 70vh;
        min-height: 520px;
        background-position: center top;
    }

    /* Center content */
    .hero-content {
        padding: 0 20px;
    }

    /* Logo – reduce bottom gap */
    .hero-logo {
        position: relative;
        top: 50px;
        left: auto;
        margin-bottom: 8px;   /* 🔥 reduced from 20px */
        text-align: center;
        z-index: 3;
    }

    .hero-logo img {
        width: 90px;
    }

    /* Title – tighter spacing */
    .hero-title {
        font-size: 40px;
        letter-spacing: 3px;
        line-height: 1.1;
        margin-top: 0;
        margin-bottom: 6px;   /* 🔥 tighter gap */
    }

    /* Subtitle */
    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 3px;
        margin-top: 4px;
    }
	  .hero-content {
    transform: translateY(-90px);  /* move slightly up */
}
    .hero-subtitle::before,
    .hero-subtitle::after {
        width: 40px;
    }
}


/* RESET (IMPORTANT) */
ul { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; color: #000; }

/* ================= DESKTOP NAV ================= */
@media (min-width: 992px) {

    .mobile-header { display: none; }

    .main-nav { background: #fff; }

    .menu {
        display: flex;
        justify-content: center;
        gap: 35px;
        padding: 18px 0;
    }

    .menu > li {
        position: relative;
    }

    .menu > li > a {
        font-size: 13px;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-weight: 600;
        padding: 10px 0;
        display: inline-block;
    }

    /* Dropdown */
    .dropdown-menu {
        position: absolute;
        top: 100%;               /* FIX GAP ISSUE */
        left: 50%;
        transform: translateX(-50%);
        width: 240px;
        background: #fff;
        display: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        text-align: center;
        z-index: 999;
    }

    /* Invisible hover bridge */
    .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -12px;
        left: 0;
        width: 100%;
        height: 12px;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .dropdown-menu a {
        display: block;
        padding: 14px 10px;
        font-size: 12px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    /* KEEP DROPDOWN OPEN */
    .dropdown-parent:hover .dropdown-menu,
    .dropdown-menu:hover {
        display: block;
    }
}

/* ================= MOBILE NAV ================= */
@media (max-width: 991px) {

    .site-header {
        position: relative;
        z-index: 10;
        background: #fff;
    }

    .mobile-header {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 60px;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    .hamburger {
        font-size: 28px;
        cursor: pointer;
        user-select: none;
    }

    /* IMPORTANT: let menu take normal document flow */
    .main-nav {
        display: none;
        background: #fff;
        width: 100%;
    }

    .main-nav.open {
        display: block;
    }

    .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .menu > li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .menu a {
        display: block;
        padding: 16px 0;
        font-size: 14px;
        letter-spacing: 3px;
        font-weight: 600;
        text-transform: uppercase;
    }

    /* Mobile dropdown */
    .dropdown-menu {
        display: none;
        background: #f7f7f7;
        width: 100%;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #e0e0e0;
    }

    .dropdown-parent.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        font-size: 13px;
        letter-spacing: 2px;
        padding: 14px 0;
    }

    /* Arrow */
    .dropdown-toggle::after {
        content: " ▾";
        margin-left: 6px;
        font-size: 12px;
    }

    /* Disable hover completely on mobile */
    .dropdown-parent:hover .dropdown-menu {
        display: none;
    }
}


/* Make button look like link */
.dropdown-toggle {
    background: none;
    border: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
}

/* Arrow */
.dropdown-toggle::after {
    content: " ▾";
    margin-left: 5px;
}

/* Desktop hover */
@media (min-width: 992px) {
    .dropdown-parent:hover .dropdown-menu {
        display: block;
    }
}

/* Mobile open */
@media (max-width: 991px) {
    .dropdown-parent.open .dropdown-menu {
        display: block;
    }
}




/* ================= COURSES SECTION ================= */

.courses-section {
    position: relative;
    padding: 80px 20px;
    background: url("../images/hero-bg.png") center center / cover no-repeat;
    text-align: center;
}

/* Overlay for readability */
.courses-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

/* Content above overlay */
.courses-inner {
    position: relative;
    z-index: 2;
}

/* Section title */
.section-title {
    font-size: 26px;
    margin-bottom: 50px;
    font-weight: 600;
}

/* Grid */
.courses-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Make entire card clickable */
.course-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Card */
.course-card {
    border: 1px solid #000;
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Card title */
.course-title {
    min-height: 48px;
    padding: 14px;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Logo area */
.course-logo {
    flex: 1;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-logo img {
    max-width: 140px;
    height: auto;
}

/* Hover effect */
.course-link:hover .course-card {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

/* ================= TABLET ================= */

@media (max-width: 991px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================= MOBILE ================= */

@media (max-width: 575px) {

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 35px;
    }

    .course-logo {
        padding: 30px 15px;
    }

    .course-logo img {
        max-width: 120px;
    }
}


/* ================= CTA SECTION ================= */

.cta-section {
    background: #4a4a4a;          /* dark grey background */
    padding: 90px 20px;
    text-align: center;
}

.cta-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Button */
.cta-button {
    background: #6fa7b1;          /* teal button like reference */
    color: #ffffff;
    padding: 22px 55px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #ffffff;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Hover effect (desktop) */
.cta-button:hover {
    background: #5a96a0;
}

/* ================= MOBILE ================= */

@media (max-width: 575px) {

    .cta-section {
        padding: 70px 15px;
    }

    .cta-button {
        padding: 18px 35px;
        font-size: 18px;
    }
}


/* ================= MEMBERSHIP SECTION ================= */

.membership-section {
    position: relative;
    background: url("../images/hero-bg.png") center center / cover no-repeat;
    padding: 100px 20px;
}

/* Overlay */
.membership-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Center content */
.membership-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card */
.membership-card {
    background: #ffffff;
    max-width: 560px;
    width: 100%;
    border: 1px solid #000;
    text-align: center;
}

/* Header */
.membership-header {
    padding: 14px;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
}

/* Body */
.membership-body {
    padding: 40px 30px;
}

.membership-body h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.membership-desc {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Course list */
.membership-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.membership-list li {
    font-size: 14px;
    padding: 6px 0;
    letter-spacing: 1px;
}

/* Button */
.membership-btn {
    display: inline-block;
    background: #6fa96f;      /* golf green */
    color: #ffffff;           /* text always white */
    padding: 14px 36px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid #6fa96f;
    transition: all 0.3s ease;
}

/* Hover */
.membership-btn:hover {
    background: #4f7f4f;      /* darker green */
    border-color: #4f7f4f;
    color: #ffffff;
}


/* ================= MOBILE ================= */

@media (max-width: 575px) {

    .membership-section {
        padding: 80px 15px;
    }

    .membership-body {
        padding: 30px 20px;
    }

    .membership-body h2 {
        font-size: 22px;
    }

    .membership-desc {
        font-size: 14px;
    }

    .membership-list li {
        font-size: 13px;
    }
}


/* ================= FOOTER ================= */

.site-footer {
    background: #4a4a4a;          /* dark grey like reference */
    padding: 60px 20px;
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
}

.footer-copy {
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-powered {
    color: #ffffff;
    font-size: 14px;
}

.footer-powered span {
    font-weight: 700;
    letter-spacing: 1px;
}

/* ================= MOBILE ================= */

@media (max-width: 575px) {
    .site-footer {
        padding: 45px 15px;
    }

    .footer-copy,
    .footer-powered {
        font-size: 12px;
    }
}



/* ================= MEMBERSHIP SECTION (ISOLATED) ================= */

.wc-ms-section {
    padding: 60px 20px;
    background: #fafafa;
}

.wc-ms-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

/* Titles */
.wc-ms-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.wc-ms-highlight {
    background: #e8f2e8;
    padding: 20px;
    border-left: 5px solid #5c8f5c;
    margin-bottom: 25px;
}

.wc-ms-highlight h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

/* Courses line */
.wc-ms-courses {
    font-weight: 600;
    margin-bottom: 20px;
}

/* Links */
.wc-ms-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.wc-ms-links a {
    background: #5c8f5c;
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
    text-decoration: none;
}

/* Section titles */
.wc-ms-subtitle {
    font-size: 20px;
    margin: 30px 0 15px;
    border-bottom: 2px solid #ddd;
}

/* Benefits */
.wc-ms-benefits {
    padding-left: 20px;
}

.wc-ms-benefits li {
    margin-bottom: 8px;
}

/* Notes */
.wc-ms-note {
    background: #fff6e5;
    padding: 18px;
    border-left: 4px solid #d4a54c;
    margin: 30px 0;
}

/* Course block */
.wc-ms-course {
    margin-bottom: 40px;
}

.wc-ms-course h4 {
    border-bottom: 1px solid #000;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

/* Table */
.wc-ms-table {
    width: 100%;
    border-collapse: collapse;
}

.wc-ms-table th,
.wc-ms-table td {
    padding: 10px;
    border-bottom: 1px solid #000;
    font-size: 14px;
}

/* Sidebar */
.wc-ms-sidebar {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    height: fit-content;
}

/* MOBILE */
@media (max-width: 991px) {
    .wc-ms-container {
        grid-template-columns: 1fr;
    }

    .wc-ms-title {
        font-size: 26px;
    }

    .wc-ms-links {
        flex-direction: column;
    }
}

/* ===== SIDEBAR BOXES ===== */

.wc-ms-box {
    border: 1px solid #000;
    padding: 20px;
    background: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.wc-ms-box h4 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}

/* Social Icons */
.wc-ms-social {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.wc-ms-social a {
    font-size: 22px;
    color: #000;
    transition: color 0.3s ease;
}

.wc-ms-social a:hover {
    color: #5c8f5c;
}

/* Weather */
.wc-ms-weather-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.wc-ms-weather-note {
    font-size: 13px;
    color: #555;
}

/* MOBILE */
@media (max-width: 991px) {
    .wc-ms-box {
        margin-top: 20px;
    }
}


/* ================= TOURNAMENTS SECTION ================= */

.wc-ts-section {
    padding: 70px 20px;
    background: #fafafa;
}

.wc-ts-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

/* Title */
.wc-ts-title {
    font-size: 32px;
    margin-bottom: 20px;
}

/* Description */
.wc-ts-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Form */
.wc-ts-form {
    margin-top: 25px;
}

.wc-ts-form label {
    display: block;
    font-weight: 600;
    margin: 12px 0 5px;
    font-size: 13px;
}

.wc-ts-form input,
.wc-ts-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    font-size: 13px;
}

.wc-ts-checkbox label {
    display: block;
    font-weight: normal;
    margin: 5px 0;
}

.wc-ts-inline {
    margin: 15px 0;
    font-weight: normal;
}

/* Button */
.wc-ts-btn {
    background: #5c8f5c;
    color: #fff;
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.wc-ts-btn:hover {
    background: #476f47;
}

/* Sidebar */
.wc-ts-sidebar .wc-ts-box {
    border: 1px solid #000;
    padding: 20px;
    background: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.wc-ts-box h4 {
    font-size: 14px;
    letter-spacing: 2px;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Social */
.wc-ts-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 22px;
}

/* Weather */
.wc-ts-weather-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.wc-ts-weather-note {
    font-size: 13px;
    color: #555;
}

/* MOBILE */
@media (max-width: 991px) {
    .wc-ts-container {
        grid-template-columns: 1fr;
    }

    .wc-ts-title {
        font-size: 26px;
    }
}



/* ===== CONTACT PAGE (SCOPED) ===== */

.wc-contact-section {
  padding: 90px 20px;
  background: #fafafa;
}

.wc-contact-wrap {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 50px;
}

/* TITLE */
.wc-contact-title {
  font-size: 32px;
  margin-bottom: 25px;
}

/* FORM */
.wc-contact-form {
  border: 1px solid #000;
  padding: 40px;
  background: #fff;
}

.wc-form-group {
  margin-bottom: 20px;
}

.wc-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.wc-form-group input,
.wc-form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.wc-submit-btn {
  background: #eee;
  border: 1px solid #ccc;
  padding: 10px 22px;
  font-size: 14px;
  cursor: pointer;
}

.wc-submit-btn:hover {
  background: #ddd;
}

/* SIDEBAR */
.wc-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.wc-side-box {
  border: 1px solid #000;
  padding: 20px;
  text-align: center;
  background: #fff;
}

.wc-side-box h4 {
  font-size: 14px;
  letter-spacing: 2px;
  border-bottom: 1px solid #000;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

/* SOCIAL */
.wc-social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.wc-social-icons a {
  font-size: 20px;
  color: #000;
}

/* WEATHER */
.wc-weather {
  font-size: 14px;
  line-height: 1.6;
}

/* ===== MOBILE ===== */
@media (max-width: 991px) {
  .wc-contact-wrap {
    grid-template-columns: 1fr;
  }

  .wc-contact-form {
    padding: 30px 20px;
  }

  .wc-contact-title {
    font-size: 26px;
  }
}





