/*
Theme Name: Corfu Padel Villas Live
Theme URI: https://corfupadelvillas.com
Author: Kandybase Ltd
Description: A clean editorial WordPress theme for the Corfu Padel Villas live informational website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: corfu-padel-villas-live
*/

:root {
    --cpv-ink: #1f211c;
    --cpv-olive: #5c6b45;
    --cpv-bronze: #a98755;
    --cpv-stone: #d7d0c4;
    --cpv-sand: #f3efe8;
    --cpv-white: #fffdf9;
    --cpv-muted: #6f7168;
    --cpv-border: rgba(31, 33, 28, 0.14);
    --cpv-shadow: 0 24px 70px rgba(31, 33, 28, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cpv-white);
    color: var(--cpv-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

img {
    height: auto;
    max-width: 100%;
}

a {
    color: inherit;
}

.cpv-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(31, 33, 28, 0.46);
    color: var(--cpv-white);
    backdrop-filter: blur(18px);
}

.cpv-nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 78px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.cpv-brand {
    text-decoration: none;
}

.cpv-brand strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1;
    font-weight: 500;
}

.cpv-brand span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 253, 249, 0.72);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.cpv-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    font-size: 13px;
    color: rgba(255, 253, 249, 0.82);
}

.cpv-nav a {
    text-decoration: none;
}

.cpv-nav a:hover {
    color: var(--cpv-white);
}

.cpv-main {
    background:
        radial-gradient(circle at 8% 12%, rgba(169, 135, 85, 0.13), transparent 28rem),
        linear-gradient(180deg, var(--cpv-white), var(--cpv-sand) 52%, var(--cpv-white));
}

.cpv-content > .wp-block-group,
.cpv-content > .wp-block-cover,
.cpv-content > .wp-block-columns,
.cpv-content > .wp-block-heading,
.cpv-content > p {
    margin-top: 0;
}

.cpv-content .wp-block-cover {
    min-height: 92vh;
    padding: 140px 24px 72px;
}

.cpv-content .wp-block-cover__inner-container,
.cpv-section,
.cpv-content > .wp-block-group {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.cpv-content > .wp-block-group {
    padding: 96px 0;
}

.cpv-content .alignfull {
    width: 100%;
    max-width: none;
}

.cpv-content .alignfull > .wp-block-group__inner-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.cpv-hero-kicker,
.cpv-kicker {
    color: var(--cpv-olive);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.26em;
    line-height: 1.4;
    text-transform: uppercase;
}

.wp-block-cover .cpv-hero-kicker {
    color: rgba(255, 253, 249, 0.76);
}

h1,
h2,
h3,
.cpv-display {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 0.98;
}

h1,
.cpv-display {
    max-width: 920px;
    font-size: clamp(56px, 9vw, 132px);
}

h2 {
    max-width: 820px;
    font-size: clamp(42px, 6vw, 86px);
}

h3 {
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.05;
}

p {
    color: var(--cpv-muted);
}

.cpv-lead {
    max-width: 760px;
    color: rgba(31, 33, 28, 0.72);
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.45;
}

.wp-block-cover .cpv-lead,
.wp-block-cover p {
    color: rgba(255, 253, 249, 0.82);
}

.cpv-button,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid rgba(255, 253, 249, 0.32);
    border-radius: 999px;
    background: var(--cpv-white);
    color: var(--cpv-ink);
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.cpv-button--dark .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
    border-color: var(--cpv-ink);
    background: transparent;
    color: var(--cpv-ink);
}

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

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

.cpv-card {
    min-height: 260px;
    border: 1px solid rgba(31, 33, 28, 0.1);
    border-radius: 28px;
    background: rgba(255, 253, 249, 0.78);
    box-shadow: var(--cpv-shadow);
    padding: 30px;
}

.cpv-card h3 {
    margin-bottom: 18px;
}

.cpv-card p {
    margin-bottom: 0;
}

.cpv-number {
    display: block;
    margin-bottom: 46px;
    color: var(--cpv-bronze);
    font-size: 12px;
    letter-spacing: 0.16em;
}

.cpv-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cpv-timeline .cpv-card {
    min-height: 190px;
}

.cpv-editorial-band {
    background: var(--cpv-ink);
    color: var(--cpv-white);
}

.cpv-editorial-band p {
    color: rgba(255, 253, 249, 0.72);
}

.cpv-editorial-band .cpv-kicker {
    color: rgba(255, 253, 249, 0.62);
}

.cpv-image-card {
    overflow: hidden;
    padding: 0;
}

.cpv-image-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.cpv-image-card .cpv-card-body {
    padding: 28px;
}

.cpv-page-shell {
    padding: 150px 0 80px;
}

.cpv-site-footer {
    background: var(--cpv-ink);
    color: rgba(255, 253, 249, 0.72);
    padding: 72px 0;
}

.cpv-footer-inner {
    display: grid;
    grid-template-columns: minmax(240px, 1.1fr) minmax(420px, 1.6fr);
    gap: 32px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.cpv-footer-inner strong {
    display: block;
    color: var(--cpv-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
}

.cpv-footer-brand p {
    max-width: 360px;
}

.cpv-footer-small {
    margin-top: 28px;
    color: rgba(255, 253, 249, 0.46);
    font-size: 13px;
}

.cpv-footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.cpv-footer-links span {
    display: block;
    margin-bottom: 18px;
    color: rgba(255, 253, 249, 0.44);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.cpv-footer-links a {
    display: block;
    margin-top: 10px;
    color: rgba(255, 253, 249, 0.74);
    font-size: 14px;
    text-decoration: none;
}

.cpv-footer-links a:hover {
    color: var(--cpv-white);
}

@media (max-width: 900px) {
    .cpv-nav-shell {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .cpv-nav {
        justify-content: flex-start;
        gap: 12px;
    }

    .cpv-content .wp-block-cover {
        padding-top: 190px;
    }

    .cpv-grid-4,
    .cpv-grid-3,
    .cpv-timeline {
        grid-template-columns: 1fr;
    }

    .cpv-content > .wp-block-group {
        padding: 70px 0;
    }

    .cpv-footer-inner {
        grid-template-columns: 1fr;
    }

    .cpv-footer-links {
        grid-template-columns: 1fr;
    }
}
