/* DESIGN SYSTEM & GLOBAL STYLES - The Original Tavern */

:root {
    /* Color Palette - Summer Cyan Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f0fdfa;
    --bg-tertiary: #ccfbf1;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    --accent: #00c3ff; /* Electric Blue/Cyan */
    --accent-rgb: 0, 195, 255;
    --accent-hover: #00a0d1;
    --accent-dark: #00779e;
    --accent-light: #b3efff;
    
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #868e96;
    --text-on-accent: #ffffff;
    
    --bg-subtle-overlay: rgba(0, 0, 0, 0.02);
    
    --success: #2ecc71;
    --danger: #e74c3c;
    --gmaps-blue: #4285f4;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-accent: 'Outfit', sans-serif;
    
    /* Layout & Shadows */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    --border-cyan: 1px solid rgba(var(--accent-rgb), 0.15);
    --border-subtle: 1px solid rgba(0, 0, 0, 0.06);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    --shadow-cyan: 0 0 30px rgba(var(--accent-rgb), 0.08);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(var(--accent-rgb), 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(var(--accent-rgb), 0.02) 0%, transparent 40%);
    background-attachment: fixed;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-family: var(--font-accent);
    font-weight: 800;
}

h2 {
    font-family: var(--font-heading);
    font-weight: 700;
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

.section-padding {
    padding: 100px 0;
}

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

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

.text-gradient {
    background: linear-gradient(135deg, #06b6d4 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.text-accent {
    color: var(--accent);
}

.text-small {
    font-size: 0.875rem;
}

/* Section Header Structure */
.section-tagline {
    display: block;
    font-family: var(--font-accent);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-subtitle {
    max-width: 600px;
    margin: 16px auto 0 auto;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    color: var(--text-on-accent);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.2);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
    color: var(--text-on-accent);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background: var(--bg-subtle-overlay);
    color: var(--text-primary);
    border: var(--border-subtle);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(var(--accent-rgb), 0.05);
    border-color: rgba(var(--accent-rgb), 0.5);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--border-radius-sm);
}

.btn-full-width {
    width: 100%;
    display: flex;
}

.btn-gmaps {
    background-color: #202124;
    color: #fff;
    border: 1px solid #3c4043;
    box-shadow: var(--shadow-sm);
}

.btn-gmaps:hover {
    background-color: #2c2d30;
    border-color: var(--gmaps-blue);
    transform: translateY(-2px);
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    fill: currentColor;
}

/* Icon Utilities */
.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}
