/* ===================================
   The Pier 180 Café - Styles
   Fresh, Airy, Pastel Tones
   Teal + Slate Grey Palette
=================================== */

/* CSS Custom Properties */
:root {
    --color-teal-50: #f0fdfa;
    --color-teal-100: #ccfbf1;
    --color-teal-200: #99f6e4;
    --color-teal-300: #5eead4;
    --color-teal-400: #2dd4bf;
    --color-teal-500: #14b8a6;
    --color-teal-600: #0d9488;
    --color-teal-700: #0f766e;
    --color-teal-800: #115e59;
    --color-teal-900: #134e4a;
    
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-slate-800);
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-slate-900);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal-600);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-slate-900);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-slate-500);
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius-full);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--color-teal-600);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--color-teal-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-slate-700);
    border: 2px solid var(--color-slate-200);
}

.btn-secondary:hover {
    border-color: var(--color-teal-600);
    color: var(--color-teal-600);
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-slate-100);
    transition: box-shadow 0.3s ease;
}

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-teal-700);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-slate-600);
    transition: color 0.2s ease;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-xs);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-slate-700);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    font-size: 2rem;
    color: var(--color-slate-700);
}

.mobile-menu ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.mobile-menu a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--color-slate-800);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--color-teal-50) 0%, #ffffff 50%, var(--color-slate-50) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-teal-100);
    color: var(--color-teal-700);
    border-radius: var(--border-radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--color-slate-900);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-slate-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-float-card {
    position: absolute;
    bottom: var(--spacing-xl);
    left: -var(--spacing-lg);
    background: #ffffff;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.float-card-icon {
    font-size: 1.5rem;
}

.float-card-card strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-slate-800);
}

.float-card-card span {
    font-size: 0.8125rem;
    color: var(--color-slate-500);
}

/* About Section */
.about {
    padding: var(--spacing-3xl) 0;
    background: #ffffff;
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--color-slate-600);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-slate-700);
}

.feature-item svg {
    color: var(--color-teal-600);
    flex-shrink: 0;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Menu Section */
.menu {
    padding: var(--spacing-3xl) 0;
    background: var(--color-slate-50);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.menu-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.menu-card-image {
    height: 240px;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.05);
}

.menu-card-content {
    padding: var(--spacing-xl);
}

.menu-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-slate-900);
}

.menu-card-content p {
    font-size: 0.9375rem;
    color: var(--color-slate-500);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.link-arrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-teal-600);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.link-arrow:hover {
    gap: 0.5rem;
}

/* Atmosphere Section */
.atmosphere {
    padding: var(--spacing-3xl) 0;
    background: #ffffff;
}

.atmosphere .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.atmosphere-text {
    font-size: 1.0625rem;
    color: var(--color-slate-600);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.atmosphere-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: var(--spacing-md);
}

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.large {
    grid-row: span 2;
}

/* Location Section */
.location {
    padding: var(--spacing-3xl) 0;
    background: var(--color-teal-50);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: stretch;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.info-block h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-teal-600);
    margin-bottom: var(--spacing-xs);
}

.info-block p {
    font-size: 1.0625rem;
    color: var(--color-slate-700);
    line-height: 1.7;
}

.info-block a {
    color: var(--color-slate-700);
    transition: color 0.2s ease;
}

.info-block a:hover {
    color: var(--color-teal-600);
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

/* Contact Section */
.contact {
    padding: var(--spacing-3xl) 0;
    background: #ffffff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-text {
    font-size: 1.0625rem;
    color: var(--color-slate-600);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    color: var(--color-slate-700);
}

.contact-item:hover {
    color: var(--color-teal-600);
}

.contact-form-wrapper {
    background: var(--color-slate-50);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate-700);
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-slate-800);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal-500);
    box-shadow: 0 0 0 3px var(--color-teal-100);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-slate-400);
}

.form-success {
    display: none;
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-teal-100);
    color: var(--color-teal-800);
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-weight: 500;
}

.form-success.show {
    display: block;
}

/* Footer */
.footer {
    background: var(--color-slate-900);
    color: var(--color-slate-300);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: var(--spacing-xs);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--color-slate-400);
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--color-slate-400);
}

.footer-links a:hover {
    color: var(--color-teal-400);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-slate-800);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-slate-500);
}

.footer-bottom p {
    margin-bottom: 0.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container,
    .about .container,
    .atmosphere .container,
    .location-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-float-card {
        left: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: var(--spacing-2xl);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .atmosphere-gallery {
        grid-template-rows: repeat(3, 180px);
    }
    
    .gallery-item.large {
        grid-row: span 1;
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
