﻿@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

:root {
    --gallery-black: #000;
    --gallery-gold: #ccb957;
    --gallery-green: #025602;
    --gallery-white: #ffffff;
}

.gallery-hero {
    position: relative;
    min-height: 60vh;
    height: 70vh;
    background: #000;
    overflow: hidden;
}

.gallery-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.gallery-hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--gallery-white);
}

.gallery-hero-content h1 {
    font-family: "Bebas Neue", "Oswald", sans-serif;
    text-transform: uppercase;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    letter-spacing: 0.08em;
    margin: 0;
}

.gallery-section {
    background: var(--gallery-black);
    padding: 80px 0 90px;
}

.gallery-heading {
    font-family: "Bebas Neue", "Oswald", sans-serif;
    text-transform: uppercase;
    color: var(--gallery-white);
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: 0.08em;
    margin-bottom: 2.5rem;
    text-align: center;
}

.gallery-heading--center {
    text-align: center;
}

.gallery-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.gallery-video-card {
    border-radius: 40px;
    overflow: hidden;
    background: #0f0f0f;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.gallery-video-card video {
    width: 100%;
    height: 100%;
    display: block;
}

.gallery-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.photo-tile {
    display: block;
    border-radius: 32px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.65);
}

.photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-tile--wide {
    aspect-ratio: 4 / 3;
}

.photo-tile--tall {
    aspect-ratio: 3 / 4;
}

.gallery-world {
    position: relative;
    padding: 90px 0 120px;
    background-image: url("https://golfenvy.com/wp-content/uploads/2025/04/Image-2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.gallery-world-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.gallery-world .container {
    position: relative;
    z-index: 2;
}

.gallery-world-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.gallery-world-card {
    text-align: center;
    color: var(--gallery-white);
}

.gallery-world-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 36px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

.gallery-world-card span {
    display: block;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    font-size: 0.85rem;
}

.gallery-cta {
    position: relative;
    min-height: 70vh;
    height: 80vh;
    background-image: url("https://golfenvy.com/wp-content/uploads/2025/04/66b266f4ea44fc74e1af93ca.jpg");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.75) 25%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.2) 75%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.gallery-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.gallery-cta-content {
    position: relative;
    z-index: 3;
    color: var(--gallery-white);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.gallery-cta-logo {
    max-width: 360px;
    width: min(75vw, 360px);
}

.gallery-cta-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-cta-btn {
    background: var(--gallery-gold);
    color: #000;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.45);
}

.gallery-cta-contact {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gallery-cta-contact p {
    margin: 0.4rem 0;
}

.gallery-cta-social {
    display: flex;
    gap: 12px;
}

.gallery-cta-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gallery-gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-decoration: none;
}

.gallery-footer {
    background: #0b5d1e;
    padding: 18px 0;
}

.gallery-footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    text-align: center;
    color: var(--gallery-white);
}

.gallery-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-footer-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-footer-link:hover {
    color: var(--gallery-gold);
}

.gallery-footer-sep {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 700;
}

.gallery-footer-social {
    display: flex;
    gap: 12px;
}

.gallery-footer-social a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 800;
}

.gallery-footer-social a:hover {
    color: var(--gallery-gold);
}

@media (max-width: 992px) {
    .gallery-video-grid,
    .gallery-photo-grid,
    .gallery-world-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-cta {
        min-height: 65vh;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        min-height: 50vh;
    }

    .gallery-section {
        padding: 70px 0 80px;
    }
}

@media (max-width: 576px) {
    .gallery-video-grid,
    .gallery-photo-grid,
    .gallery-world-grid {
        grid-template-columns: 1fr;
    }

    .gallery-video-card,
    .photo-tile,
    .gallery-world-card img {
        border-radius: 26px;
    }

    .gallery-cta-logo {
        width: min(80vw, 260px);
    }
}
