/* PeaceTree Homes - Refreshed Resort Landing Page */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&display=swap');

:root {
    --bg: #0F0F0F;
    --panel: rgba(255, 255, 255, 0.05);
    --text: #E2C675;
    --muted: #4A4A4A;
    --accent: #C9A24A;
    --accent-deep: #A67C2E;
    --accent-soft: #E2C675;
    --border: rgba(255, 255, 255, 0.1);
    --radius: 28px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, #0F0F0F 0%, #1a1a1a 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

p {
    margin: 0 0 1.5rem;
    font-size: 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin: 0 0 1.25rem;
    line-height: 1.1;
}

.eyebrow.pill {
    display: inline-block;
    background: var(--accent-deep);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

img {
    display: block;
    max-width: 100%;
}

button,
a {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    padding: 1.25rem 2rem;
    background: transparent;
    backdrop-filter: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    width: min(1120px, calc(100% - 2rem));
    padding: 0.5rem 4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
    height: 80px;
    width: auto;
}

nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    color: #0F0F0F;
    text-decoration: none;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.75rem;
    transition: color 0.25s ease;
}

nav a:hover,
nav a:focus-visible {
    color: var(--accent-deep);
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.nav-toggle-label {
    display: none;
    position: relative;
    width: 48px;
    height: 48px;
    margin-left: auto;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: transform 0.25s ease, background 0.25s ease;
}

.nav-toggle-label span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0F0F0F;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    position: absolute;
}

.nav-toggle-label span:nth-child(2) {
    top: 16px;
}

.nav-toggle-label span:nth-child(3) {
    top: 22px;
}

.nav-toggle-label span:nth-child(4) {
    top: 28px;
}

#nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    transform: translateY(6px) rotate(45deg);
}

#nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    opacity: 0;
}

#nav-toggle:checked + .nav-toggle-label span:nth-child(4) {
    transform: translateY(-6px) rotate(-45deg);
}

main {
    padding-top: 0;
}

section {
    padding: 5rem 0;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('../Images/IMG_2733.jpg') center/cover no-repeat;
    margin-top: 0;
    padding-top: 96px;
    color: white;
}

.hero::after {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    padding: 0 1rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-style: italic;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero p {
    font-family: Inter, sans-serif;
    font-size: 1.25rem;
    max-width: 680px;
    margin: 0 auto 1.5rem;
    color: #ffffff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 1rem 1.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    box-shadow: 0 18px 42px rgba(201, 162, 74, 0.24);
}

.button-secondary {
    border: 1px solid rgba(201, 162, 74, 0.35);
    color: var(--accent-deep);
    background: white;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(16, 16, 16, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: #faf7f1;
}

.about {
    background: #1a1a1a;
    color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-copy h2 {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.about-copy p {
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.25rem;
    line-height: 1.9;
    color: white;
    margin-bottom: 1.25rem;
}

.about-image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(118, 97, 69, 0.12);
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.gallery {
    background: #1a1a1a;
    color: white;
    padding-top: 4rem;
}

.gallery .container {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 24px;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-grid img:hover {
    transform: translateY(-6px) scale(1.02);
}

.gallery-grid img:nth-child(1) { grid-column: 1 / span 6; grid-row: 1 / span 2; }
.gallery-grid img:nth-child(2) { grid-column: 7 / span 3; grid-row: 1 / span 1; }
.gallery-grid img:nth-child(3) { grid-column: 10 / span 3; grid-row: 1 / span 2; }
.gallery-grid img:nth-child(4) { grid-column: 7 / span 3; grid-row: 2 / span 1; }
.gallery-grid img:nth-child(5) { grid-column: 1 / span 6; grid-row: 3 / span 2; }
.gallery-grid img:nth-child(6) { grid-column: 7 / span 6; grid-row: 3 / span 2; }
.gallery-grid img:nth-child(7) { grid-column: 1 / span 4; grid-row: 5 / span 1; }
.gallery-grid img:nth-child(8) { grid-column: 5 / span 4; grid-row: 5 / span 1; }
.gallery-grid img:nth-child(9) { grid-column: 9 / span 4; grid-row: 5 / span 1; }

.contact {
    position: relative;
    overflow: hidden;
    background: #f2ede3;
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../Images/norbert-braun-rBdXE69NzX8-unsplash.jpg') center/cover no-repeat;
    filter: saturate(110%);
    transform: scale(1.03);
    opacity: 0.55;
    z-index: 0;
}

.contact::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.50);
    z-index: 0;
}

.contact > .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: stretch;
}

.contact-copy h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text);
    font-size: clamp(2rem, 3vw, 3rem);
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-copy p {
    font-family: Inter, sans-serif;
    color: var(--muted);
    max-width: 580px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.35rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(29, 27, 22, 0.08);
    color: #2d2a22;
    text-decoration: none;
    box-shadow: 0 20px 60px rgba(31, 29, 25, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover,
.contact-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 24px 70px rgba(31, 29, 25, 0.12);
}

.contact-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #9b7f2f;
    color: white;
    font-size: 0;
}
.contact-card .icon svg,
.policy-card .icon svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: currentColor;
}
.contact-card .icon svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: currentColor;
}

.contact-cards-custom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    max-width: 100%;
}

.contact-card-item {
    width: 100%;
    flex-shrink: 0;
}

.contact-card-link {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem 2rem;
    background: #ffffff;
    border: 1px solid rgba(29, 27, 22, 0.08);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(31, 29, 25, 0.04);
    width: 100%;
    box-sizing: border-box;
}

.contact-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 29, 25, 0.1);
    border-color: #92794f;
}

.contact-card-link svg {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.contact-card-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #92794f;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.contact-card-value {
    display: block;
    font-size: 1rem;
    color: #2d2a22;
    font-weight: 500;
}

.contact-card span {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b7f6f;
}

.contact-card strong {
    display: block;
    margin-top: 0.25rem;
    color: #2d2a22;
    font-size: 1rem;
}

.map-frame {
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(29, 27, 22, 0.08);
    box-shadow: 0 30px 80px rgba(31, 29, 25, 0.08);
    min-height: 420px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    border: 0;
}

.policies {
    background: #ffffff;
}

.policies-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.policy-card {
    display: grid;
    gap: 1rem;
    background: #fcfaf6;
    border: 1px solid rgba(29, 27, 22, 0.08);
    border-radius: 28px;
    padding: 2rem;
    min-height: 260px;
    box-shadow: 0 22px 56px rgba(31, 29, 25, 0.06);
}

.policy-card h3 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: var(--text);
}

.policy-card p {
    color: var(--muted);
    line-height: 1.85;
}

footer {
    padding: 2.5rem 0;
    background: #A67C2E;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-grid p {
    color: #ffffff;
}

.footer-logo {
    display: none;
}

@media (max-width: 980px) {
    .about-grid,
    .contact-grid,
    .policies-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-rows: 180px;
    }

    .gallery-grid img {
        grid-column: span 6;
        grid-row: auto;
    }
}

@media (max-width: 992px) {
    header {
        padding: 1rem 0;
    }

    .nav-container {
        position: relative;
        flex-direction: row;
        align-items: center;
    }

    .nav-toggle-label {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        margin-top: 0.75rem;
        padding: 1rem 1.25rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 28px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 28px 60px rgba(15, 15, 15, 0.12);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    }

    #nav-toggle:checked + .nav-toggle-label + nav {
        max-height: 420px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        z-index: 51;
    }

    nav a {
        color: #0F0F0F;
        font-size: 1rem;
        padding: 0.85rem 1rem;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.9);
        text-align: center;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 50;
        cursor: pointer;
    }

    header:has(#nav-toggle:checked) ~ .nav-overlay {
        display: block;
    }
}

@media (max-width: 768px) {
    section {
        padding: 2.5rem 0;
    }

    .hero {
        min-height: 72vh;
    }

    .hero-actions {
        flex-direction: column;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(240px, auto);
    }

    .gallery-grid img {
        height: auto;
        min-height: 240px;
    }

    .gallery-grid img:nth-child(1),
    .gallery-grid img:nth-child(2),
    .gallery-grid img:nth-child(3),
    .gallery-grid img:nth-child(4),
    .gallery-grid img:nth-child(5),
    .gallery-grid img:nth-child(6),
    .gallery-grid img:nth-child(7),
    .gallery-grid img:nth-child(8),
    .gallery-grid img:nth-child(9) {
        grid-column: auto;
        grid-row: auto;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 0.75rem;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 10vw, 4rem);
    }

    .button {
        width: 100%;
    }
}
