/* Locally hosted so the MGS mark never falls back to a generic font. */
@font-face {
    font-family: "Pirata One";
    src: url("../fonts/PirataOne-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap
}

/* ========================================
   Design tokens
   Shared colors and typography settings.
   ======================================== */
:root {
    --green: #77a934;
    --green-dark: #41641f;
    --ink: #050706;
    --paper: #f3f3f1;
    --muted: #c8cbc8;
    --display: "Barlow Condensed",sans-serif
}

/* ========================================
   Base styles
   Reset defaults and define page-wide rules.
   ======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px
}

body {
    background: #050605;
    color: #fff;
    font-family: Inter,Arial,sans-serif;
    line-height: 1.5
}

a {
    color: inherit;
    text-decoration: none
}

/* ========================================
   Header and navigation
   Fixed header, branding, desktop links,
   booking button, and mobile menu control.
   ======================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    background: rgba(3,5,4,.96);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px)
}

.navbar {
    height: 90px;
    width: 100%;
    padding: 0 clamp(42px, 3vw, 62px);
    display: flex;
    align-items: center;
    justify-content: space-between
}

/* Logo artwork and brand text */
.logo {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo-mark {
    width: 52px;
    height: 52px;
    display: block;
    flex-shrink: 0;
    object-fit: contain
}

.logo-copy {
    display: flex;
    flex-direction: column
}

.logo-name {
    font: 700 33px/1 var(--display);
    letter-spacing: 1px;
    transform: scaleY(1.12);
    transform-origin: left center;
    margin-bottom: 2px
}

.logo-name strong {
    color: #91bd4b
}

.logo-tagline {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    margin-top: 5px
}

/* Desktop navigation links and main call to action */
.nav-menu,.nav-links {
    display: flex;
    align-items: center
}

.nav-menu {
    flex: 1;
    justify-content: flex-end;
    gap: clamp(30px, 2.5vw, 46px)
}

.nav-links {
    margin-left: auto;
    gap: clamp(24px, 1.8vw, 36px)
}

.nav-links a {
    font: 600 18px var(--display);
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 34px 0;
    position: relative
}

.nav-links a:hover,.nav-links a.active {
    color: #fff
}

.nav-links a.active:after {
    content: "";
    height: 2px;
    background: var(--green);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px
}

.nav-button,.button-primary {
    background: linear-gradient(135deg,#78a937,#5f902a)
}

.nav-button {
    font: 600 19px var(--display);
    text-transform: uppercase;
    padding: 14px 30px;
    border-radius: 3px
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    background: #fff;
    margin: 6px
}

/* ========================================
   Hero section
   Full-width simulator image, overlay,
   headline, buttons, and walk-in message.
   ======================================== */
.hero {
    height: 578px;
    margin-top: 90px;
    position: relative;
    overflow: hidden
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 53%
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#020302 0%,rgba(2,3,2,.95) 25%,rgba(2,3,2,.54) 43%,rgba(2,3,2,.02) 66%)
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: clamp(80px, 10vh, 120px) clamp(44px, 3vw, 62px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start
}

.hero-eyebrow {
    color: var(--green);
    font: 700 38px/1 var(--display);
    letter-spacing: 1.4px;
    text-transform: uppercase
}

.hero h1 {
    font: 600 clamp(76px,7vw,104px)/.93 var(--display);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 8px 0 14px
}

.hero-description {
    font-size: 19px;
    line-height: 1.45;
    color: #e5e7e4
}

.hero-buttons {
    display: flex;
    gap: 13px;
    margin-top: 27px
}

.button {
    min-width: 205px;
    padding: 16px 25px;
    text-align: center;
    text-transform: uppercase;
    font: 600 18px var(--display);
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 4px;
    transition: .2s
}

.button:hover,.card-button:hover,.nav-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1)
}

.button-primary {
    border-color: transparent
}

.button-primary span {
    margin-left: 20px
}

.walk-in-message {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    font-size: 14px
}

.round-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--green);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 21px
}

/* ========================================
   Amenities strip
   Five quick highlights below the hero.
   ======================================== */
.feature-strip {
    width: 100%;
    min-height: 121px;
    background: linear-gradient(120deg,#111411,#080a09);
    display: grid;
    grid-template-columns: repeat(5,1fr);
    padding: 23px 45px
}

.feature-strip article {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    border-right: 1px solid #2e312e
}

.feature-strip article:last-child {
    border: 0
}

.feature-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 1px solid var(--green);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: #fff
}

.video-play {
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #fff;
    transform: translateX(2px)
}

.party-icon {
    width: 35px;
    height: 35px;
    display: block;
    object-fit: contain;
    mix-blend-mode: screen
}

.car-icon {
    width: 34px;
    height: 28px;
    display: block;
    object-fit: contain;
    mix-blend-mode: screen
}

.feature-strip h2,.action-card h2 {
    font: 600 22px var(--display);
    text-transform: uppercase;
    letter-spacing: .3px
}

.feature-strip p {
    font-size: 12px;
    color: #d1d3d1;
    margin-top: 4px;
    line-height: 1.65
}

/* ========================================
   Action cards
   Booking, pricing, leagues, and events.
   ======================================== */
.action-grid {
    background: var(--paper);
    padding: 33px clamp(34px, 3vw, 62px);
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    color: #101510
}

.action-card {
    height: 208px;
    border: 1px solid #ccc;
    border-radius: 7px;
    position: relative;
    overflow: hidden;
    padding: 22px 18px;
    background: linear-gradient(120deg,#fff 0 55%,#dfe1dc)
}

.card-copy {
    position: relative;
    z-index: 2
}

.action-card h2 {
    color: #1d3a18;
    font-size: 24px
}

.action-card p {
    font-size: 13px;
    margin: 7px 0 24px
}

.card-button {
    display: inline-block;
    border: 1px solid #aaa;
    border-radius: 3px;
    background: rgba(255,255,255,.72);
    padding: 10px 20px;
    text-transform: uppercase;
    font: 600 15px var(--display);
    transition: .2s
}

.card-button.green {
    background: var(--green);
    border-color: var(--green);
    color: white
}

.card-button span {
    margin-left: 16px
}

.phone-mockup {
    position: absolute;
    right: 12px;
    top: 13px;
    width: 112px;
    height: 230px;
    padding: 14px 10px;
    background: #fbfbfb;
    border: 5px solid #242424;
    border-radius: 22px;
    transform: rotate(5deg);
    box-shadow: 0 8px 15px #777;
    color: #262626;
    font-size: 7px
}

.phone-mockup b {
    display: block;
    margin: 9px 0
}

.calendar {
    line-height: 2;
    text-align: center
}

.phone-mockup em {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 5px;
    margin-top: 8px;
    border-radius: 3px
}

/* Decorative artwork used inside action cards */
.pricing-card {
    background: radial-gradient(circle at 85% 28%,#adba94,transparent 38%),linear-gradient(120deg,#fff 0 48%,#65803e)
}

.golf-ball {
    position: absolute;
    width: 120px;
    height: 112px;
    right: 8px;
    bottom: -3px;
    object-fit: contain;
    filter: invert(1);
    mix-blend-mode: screen
}

.tutorial-card {
    background: linear-gradient(120deg,#fff 0 52%,#ded2b2)
}

.play-mark {
    position: absolute;
    right: 30px;
    bottom: 28px;
    width: 78px;
    height: 78px;
    border: 2px solid var(--green);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(119,169,52,.08)
}

.play-mark::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 24px solid var(--green);
    transform: translateX(3px)
}

.merch-card {
    background: linear-gradient(90deg,#fff 0 49%,rgba(255,255,255,.08)),radial-gradient(circle at 88% 28%,#7ba638,#1f3c17 68%)
}

.merch-mark {
    position: absolute;
    right: 20px;
    bottom: 25px;
    font: 400 62px/1 "Pirata One",fantasy;
    letter-spacing: 0;
    color: rgba(255,255,255,.88);
    transform: rotate(-5deg)
}

/* ========================================
   Footer
   Location, opening hours, contact details,
   and social media links.
   ======================================== */
footer {
    min-height: 80px;
    background: linear-gradient(100deg,#315b22,#153618);
    display: grid;
    grid-template-columns: 1.1fr 1.15fr .75fr 1fr 1.55fr;
    align-items: center;
    padding: 10px clamp(42px, 3vw, 62px);
    gap: 20px
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px
}

.footer-item>span {
    font-size: 31px;
    color: #b3d76c
}

.footer-item strong,.socials strong {
    text-transform: uppercase;
    font-family: var(--display);
    font-size: 15px
}

.socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px
}

.socials strong {
    margin-right: 4px;
    white-space: nowrap
}

.socials a {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: border-color .2s ease,transform .2s ease
}

.socials a:hover {
    border-color: rgba(255,255,255,.8);
    transform: translateY(-2px)
}

.socials img {
    width: 14px;
    height: 14px;
    display: block;
    filter: brightness(0) invert(1)
}

/* ========================================
   Wide and fullscreen displays
   Let the hero grow with the viewport so
   the photo is not heavily cropped vertically.
   ======================================== */
@media(min-width:1400px) {
    .hero {
        height: clamp(578px, 42vw, 960px)
    }

    .hero-photo {
        object-position: center center
    }
}

/* ========================================
   Responsive layout: tablets and laptops
   ======================================== */
@media(max-width:1150px) {
    .nav-links {
        gap: 18px
    }

    .nav-links a {
        font-size: 15px
    }

    .nav-menu {
        gap: 20px
    }

    .feature-strip {
        grid-template-columns: repeat(3,1fr)
    }

    .feature-strip article {
        padding: 12px;
        border-bottom: 1px solid #2e312e
    }

    .action-grid {
        grid-template-columns: repeat(2,1fr)
    }

    footer {
        grid-template-columns: repeat(3,1fr)
    }
}

/* ========================================
   Responsive layout: tablets and mobile nav
   ======================================== */
@media(max-width:820px) {
    .navbar {
        height: 74px;
        padding: 0 20px
    }

    .logo-name {
        font-size: 26px
    }

    .logo-mark {
        width: 40px;
        height: 40px
    }

    .menu-toggle {
        display: block;
        z-index: 2
    }

    .nav-menu {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: #070907;
        padding: 20px;
        display: none;
        align-items: stretch;
        flex-direction: column
    }

    .nav-menu.open {
        display: flex
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-left: 0
    }

    .nav-links a {
        padding: 11px 4px
    }

    .nav-links a.active:after {
        display: none
    }

    .nav-button {
        text-align: center
    }

    .hero {
        margin-top: 74px;
        height: 600px
    }

    .hero-photo {
        object-position: 62% center
    }

    .hero-shade {
        background: linear-gradient(90deg,rgba(0,0,0,.96),rgba(0,0,0,.68) 64%,rgba(0,0,0,.15))
    }

    .hero-content {
        padding: 40px 25px;
        justify-content: flex-end
    }

    .hero h1 {
        font-size: 70px
    }

    .hero-eyebrow {
        font-size: 31px
    }

    .feature-strip {
        grid-template-columns: 1fr 1fr;
        padding: 16px
    }

    .action-grid {
        padding: 22px 16px;
        grid-template-columns: 1fr 1fr
    }

    footer {
        grid-template-columns: 1fr 1fr;
        padding: 22px
    }
}

/* ========================================
   Responsive layout: small phones
   ======================================== */
@media(max-width:560px) {
    .hero {
        height: 620px
    }

    .hero-content {
        padding-bottom: 42px
    }

    .hero h1 {
        font-size: 58px
    }

    .hero-description {
        font-size: 15px
    }

    .hero-description br {
        display: none
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%
    }

    .button {
        width: 100%
    }

    .feature-strip,.action-grid,footer {
        grid-template-columns: 1fr
    }

    .feature-strip article {
        border-right: 0
    }

    .action-card {
        height: 218px
    }

    footer {
        gap: 20px
    }

    .socials {
        padding-top: 8px
    }

    .walk-in-message {
        font-size: 12px
    }
}

/* ========================================
   Redirected route pages
   Shared styling for booking, pricing,
   events, tutorials, and merchandise.
   ======================================== */
.route-body {
    min-height: 100vh;
    background: #101712
}

.route-logo .logo-name {
    display: block
}

.route-main {
    min-height: calc(100vh - 80px);
    padding-top: 90px;
    color: #f1f4ef
}

.route-hero {
    padding: 64px clamp(34px,6vw,110px) 54px;
    color: #fff;
    background:
        linear-gradient(105deg,rgba(22,61,25,.96),rgba(5,10,6,.97) 68%),
        url("../images/hero-golf-image.jpg") center 48%/cover
}

.route-eyebrow {
    margin-bottom: 5px;
    color: #9ccb52;
    font: 600 21px var(--display);
    letter-spacing: 1.2px;
    text-transform: uppercase
}

.route-hero h1 {
    font: 600 clamp(56px,6vw,86px)/.95 var(--display);
    letter-spacing: .7px;
    text-transform: uppercase
}

.route-hero>p:last-child {
    max-width: 650px;
    margin-top: 12px;
    color: #d8ded7;
    font-size: 17px
}

.route-content {
    padding: 36px clamp(34px,6vw,110px) 52px
}

.route-panel,.product-card,.featured-video {
    background: #19231b;
    border: 1px solid #334136;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.16)
}

.route-panel {
    padding: 25px
}

.route-panel h2,.product-card h2,.featured-video h2 {
    color: #f3f6f1;
    font: 600 28px var(--display);
    letter-spacing: .4px;
    text-transform: uppercase
}

.route-panel p,.product-card p,.featured-video p {
    margin-top: 7px;
    color: #c4cec3;
    font-size: 14px
}

.route-panel ul {
    margin: 16px 0 0 20px;
    color: #c4cec3;
    font-size: 14px
}

.route-panel li+li {
    margin-top: 7px
}

.booking-layout,.events-grid {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(280px,.85fr);
    gap: 20px
}

.route-fields {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 13px;
    margin-top: 22px
}

.route-fields label {
    color: #dce4da;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase
}

.route-fields input,.route-fields select {
    width: 100%;
    margin-top: 6px;
    padding: 12px 10px;
    color: #f3f6f1;
    background: #101712;
    border: 1px solid #3a4a3d;
    border-radius: 4px;
    color-scheme: dark;
    font: 500 14px Inter,sans-serif
}

.route-button {
    display: inline-block;
    margin-top: 22px;
    padding: 12px 20px;
    color: #fff;
    background: linear-gradient(135deg,#78a937,#5f902a);
    border-radius: 4px;
    font: 600 17px var(--display);
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: transform .2s ease,filter .2s ease
}

.route-button:hover {
    filter: brightness(1.08);
    transform: translateY(-2px)
}

.route-summary {
    background: linear-gradient(145deg,#1c281e,#172018)
}

.pricing-grid,.merch-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px
}

.price-option {
    position: relative;
    min-height: 250px
}

.price-option.featured {
    border-color: #78a937;
    background: linear-gradient(145deg,#24351f,#19231b)
}

.price-label {
    color: #65912f!important;
    font: 600 22px var(--display)!important;
    text-transform: uppercase
}

.option-badge {
    position: absolute;
    top: 0;
    right: 18px;
    padding: 5px 10px;
    color: #fff;
    background: #6f9e32;
    border-radius: 0 0 4px 4px;
    font: 600 12px var(--display);
    letter-spacing: .4px;
    text-transform: uppercase
}

.event-option {
    min-height: 330px
}

.route-icon,.event-party-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
    border: 1px solid #78a937;
    border-radius: 50%
}

.route-icon {
    display: grid;
    place-items: center;
    color: #a8d45e;
    font-size: 30px
}

.event-party-icon {
    padding: 11px;
    object-fit: contain;
    background: #172017
}

.tutorial-grid {
    display: grid;
    grid-template-columns: minmax(0,1.6fr) minmax(290px,.8fr);
    gap: 20px
}

.featured-video {
    display: grid;
    grid-template-columns: minmax(240px,1.1fr) minmax(240px,.9fr);
    gap: 24px;
    padding: 20px
}

.featured-video>div:last-child {
    align-self: center
}

.video-placeholder {
    display: grid;
    min-height: 260px;
    place-items: center;
    background: radial-gradient(circle at center,#426b2e,#101b12 68%);
    border-radius: 7px
}

.video-placeholder span {
    display: grid;
    width: 64px;
    height: 64px;
    color: #fff;
    border: 1px solid #9acb4f;
    border-radius: 50%;
    place-items: center;
    padding-left: 4px;
    font-size: 25px
}

.muted-button {
    background: #647063
}

.tutorial-list>a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 0;
    color: #e7ece5;
    border-bottom: 1px solid #334136
}

.tutorial-list>a>span {
    color: #79a73b;
    font: 600 24px var(--display)
}

.tutorial-list small {
    display: block;
    margin-top: 2px;
    color: #9faa9e
}

.product-card {
    padding: 14px 14px 20px
}

.product-card h2,.product-card p {
    padding: 0 6px
}

.product-art {
    display: grid;
    min-height: 210px;
    margin-bottom: 17px;
    place-items: center;
    background: linear-gradient(145deg,#dce8cf,#9ab276);
    border-radius: 6px
}

.polo-art {
    background: linear-gradient(145deg,#d9ddd4,#6f7f68)
}

.towel-art {
    background: linear-gradient(145deg,#e5dfce,#b99c63)
}

.product-mgs {
    color: rgba(255,255,255,.92);
    font: 400 65px "Pirata One",fantasy;
    transform: rotate(-4deg)
}

.route-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px clamp(34px,6vw,110px);
    color: #dce5d9;
    background: linear-gradient(100deg,#315b22,#153618);
    font-size: 13px
}

@media(max-width:900px) {
    .pricing-grid,.merch-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .tutorial-grid,.featured-video {
        grid-template-columns: 1fr
    }
}

@media(max-width:820px) {
    .route-main {
        padding-top: 74px
    }
}

@media(max-width:620px) {
    .route-hero {
        padding: 45px 22px 38px
    }

    .route-content {
        padding: 24px 16px 36px
    }

    .booking-layout,.events-grid,.pricing-grid,.merch-grid,.route-fields {
        grid-template-columns: 1fr
    }

    .featured-video {
        padding: 13px
    }

    .video-placeholder {
        min-height: 210px
    }

    .route-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 22px
    }
}

/* Respect the visitor's reduced-motion setting */
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .button,.card-button,.nav-button {
        transition: none
    }
}
