/*
Theme Name: Munich Pickleball Club
Description: A responsive WordPress theme for Munich Pickleball Club
Version: 1.0
*/

/* Munich Pickleball Club Design System */
:root {
    --background: 0 0% 100%;
    --foreground: 0 0% 10%;

    --card: 0 0% 100%;
    --card-foreground: 0 0% 10%;

    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 10%;

    /* Munich Pickleball Yellow - from logo */
    --primary: 51 100% 50%;
    --primary-foreground: 0 0% 10%;
    
    /* Bavarian Blue - from checkered pattern */
    --secondary: 200 100% 70%;
    --secondary-foreground: 0 0% 100%;

    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;

    --accent: 200 100% 70%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 51 100% 50%;

    --radius: 0.75rem;
    
    /* Custom Munich Pickleball Colors */
    --pickleball-yellow: 51 100% 50%;
    --pickleball-blue: 200 100% 70%;
    --bavarian-blue: 200 80% 60%;
    --club-navy: 220 50% 20%;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(var(--pickleball-yellow)), hsl(var(--pickleball-blue)));
    --gradient-accent: linear-gradient(90deg, hsl(var(--bavarian-blue)), hsl(var(--pickleball-blue)));
    
    /* Shadows */
    --shadow-soft: 0 4px 20px -8px hsl(var(--pickleball-blue) / 0.3);
    --shadow-card: 0 8px 30px -12px hsl(var(--club-navy) / 0.15);
    
    /* Animation */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base styles */
* {
    border-color: hsl(var(--border));
    box-sizing: border-box;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Layout utilities */
.flex {
    display: flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\\:flex {
        display: flex;
    }
    .md\\:hidden {
        display: none;
    }
}

/* Spacing utilities */
.space-x-3 > * + * {
    margin-left: 0.75rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Grid layouts */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-12 {
    gap: 3rem;
}

@media (min-width: 640px) {
    .sm\\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sm\\:flex-row {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .md\\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lg\\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Text utilities */
.text-center {
    text-align: center;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

@media (min-width: 640px) {
    .sm\\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
    .sm\\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    .sm\\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

@media (min-width: 768px) {
    .md\\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
}

@media (min-width: 1024px) {
    .lg\\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Color utilities */
.text-white {
    color: rgb(255 255 255);
}

.text-white-90 {
    color: rgb(255 255 255 / 0.9);
}

.text-white-80 {
    color: rgb(255 255 255 / 0.8);
}

.text-pickleball-yellow {
    color: hsl(var(--pickleball-yellow));
}

.text-club-navy {
    color: hsl(var(--club-navy));
}

.text-primary {
    color: hsl(var(--primary));
}

.text-secondary {
    color: hsl(var(--secondary));
}

.text-bavarian-blue {
    color: hsl(var(--bavarian-blue));
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

/* Background utilities */
.bg-background {
    background-color: hsl(var(--background));
}

.bg-white {
    background-color: rgb(255 255 255);
}

.bg-white\\/95 {
    background-color: rgb(255 255 255 / 0.95);
}

.bg-muted-30 {
    background-color: hsl(var(--muted) / 0.3);
}

.bg-gradient-hero {
    background-image: var(--gradient-hero);
}

.bg-black-10 {
    background-color: rgb(0 0 0 / 0.1);
}

.bg-white-10 {
    background-color: rgb(255 255 255 / 0.1);
}

.bg-white-20 {
    background-color: rgb(255 255 255 / 0.2);
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid hsl(var(--border));
}

nav {
    height: 4rem;
}

/* Hero section */
.min-h-screen-600 {
    min-height: 600px;
}

.pt-16 {
    padding-top: 4rem;
}

.py-16 {
    padding: 4rem 0;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: rgb(255 255 255);
    color: hsl(var(--club-navy));
    box-shadow: var(--shadow-card);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: rgb(255 255 255 / 0.9);
}

.btn-outline {
    border: 1px solid rgb(255 255 255);
    color: rgb(255 255 255);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: rgb(255 255 255 / 0.1);
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-start {
    justify-content: flex-start;
}

/* Card styles */
.card {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 0;
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: 0 10px 40px -15px hsl(var(--club-navy) / 0.25);
    transform: translateY(-2px);
}

.card-content {
    padding: 1.5rem;
}

/* Icon wrapper */
.icon-wrapper {
    padding: 0.75rem;
    background-color: hsl(var(--muted) / 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Event badge */
.event-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid transparent;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

/* Positioning utilities */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-20 {
    top: 5rem;
}

.right-10 {
    right: 2.5rem;
}

.bottom-20 {
    bottom: 5rem;
}

.left-10 {
    left: 2.5rem;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

/* Size utilities */
.w-32 {
    width: 8rem;
}

.h-32 {
    height: 8rem;
}

.w-24 {
    width: 6rem;
}

.h-24 {
    height: 6rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.h-4 {
    width: 1rem;
}

.w-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.w-5 {
    width: 1.25rem;
}

.h-8 {
    height: 2rem;
}

.w-8 {
    width: 2rem;
}

.h-10 {
    height: 2.5rem;
}

.w-10 {
    width: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.w-12 {
    width: 3rem;
}

.h-16 {
    height: 4rem;
}

/* Border radius */
.rounded-full {
    border-radius: 9999px;
}

/* Effects */
.blur-xl {
    filter: blur(24px);
}

.blur-lg {
    filter: blur(16px);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.overflow-hidden {
    overflow: hidden;
}

/* Object fit */
.object-contain {
    object-fit: contain;
}

/* Border utilities */
.border-b {
    border-bottom-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-border {
    border-color: hsl(var(--border));
}

/* Responsive utilities */
@media (min-width: 640px) {
    .sm\\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Form styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid hsl(var(--input));
    border-radius: calc(var(--radius) - 2px);
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

input[type="submit"] {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

input[type="submit"]:hover {
    background-color: hsl(var(--primary) / 0.9);
}

/* Mobile menu */
#mobile-menu {
    transition: var(--transition-smooth);
}

/* Footer styles */
footer {
    background-color: hsl(var(--club-navy));
    color: rgb(255 255 255);
    padding: 3rem 0;
}

footer a {
    color: rgb(255 255 255 / 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

footer a:hover {
    color: hsl(var(--primary));
}

/* Utility classes for WordPress navigation */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    display: inline-block;
}

.menu a {
    color: hsl(var(--foreground));
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.menu a:hover {
    color: hsl(var(--primary));
}

/* Mobile menu styles */
@media (max-width: 767px) {
    .mobile-menu .menu {
        flex-direction: column;
    }
    
    .mobile-menu .menu li {
        display: block;
        width: 100%;
    }
    
    .mobile-menu .menu a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid hsl(var(--border));
    }
}