/* ============================================
   Courts Padel - Elegant Minimal Styles
   In partnership with The Retreat Elcot Park
   ============================================ */

/* CSS Variables */
:root {
    --primary: #2C3E2D;
    --primary-light: #4A6B4D;
    --secondary: #8B7355;
    --accent: #C4A76C;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-body: #5A5A5A;
    --text-light: #8A8A8A;
    --border: #E5E2DD;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
}

h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Base */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-body);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-light);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--primary);
    left: 0;
    transition: var(--transition);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

/* Hamburger animation when active */
.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--cream);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
    max-width: 700px;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.hero .btn-primary:hover {
    background: var(--cream);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content p {
    color: var(--text-body);
    margin-bottom: 1.25rem;
}

.about-image img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow);
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    background: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============================================
   Booking Section
   ============================================ */
.booking-section {
    background: var(--white);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.booking-image img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow);
}

.info-block {
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.info-block:first-of-type {
    margin-top: 32px;
}

.info-block h4 {
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

.info-block p {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-section {
    background: var(--cream);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 50px 40px;
    text-align: center;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border-color: var(--primary);
    position: relative;
}

.pricing-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.currency {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-light);
}

.amount {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1;
}

.period {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-body);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--primary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: var(--white);
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 32px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 28px;
}

.contact-item h4 {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.contact-item p {
    color: var(--text-body);
    line-height: 1.8;
}

.contact-map {
    min-height: 400px;
    background: var(--cream-dark);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: var(--white);
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .booking-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image,
    .booking-image {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px 30px;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 1rem;
    }
    
    /* Mobile CTA in menu */
    .nav-links::after {
        content: 'Book Court';
        display: block;
        background: var(--primary);
        color: var(--white);
        padding: 14px 24px;
        text-align: center;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        margin-top: 20px;
        cursor: pointer;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        gap: 40px;
    }
    
    .contact-map {
        min-height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .pricing-card {
        padding: 40px 24px;
    }
    
    .amount {
        font-size: 3rem;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Smooth scroll for anchor links */
html {
    scroll-padding-top: 80px;
}

.footer a{color:white;}
