/* ===================================
   Tim Finnegan's Irish Pub - Styles
   Palette: Charcoal (#2D3436) + Coral (#FF6B6B)
   =================================== */

:root {
    --color-charcoal: #2D3436;
    --color-charcoal-light: #636e72;
    --color-coral: #FF6B6B;
    --color-coral-dark: #EE5253;
    --color-cream: #F9F7F5;
    --color-white: #FFFFFF;
    --color-border: #E8E8E8;
    --color-success: #00B894;
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(45, 52, 54, 0.08);
    --shadow-md: 0 4px 20px rgba(45, 52, 54, 0.12);
    --shadow-lg: 0 8px 40px rgba(45, 52, 54, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background-color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-charcoal);
}

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

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

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

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

.mt-4 {
    margin-top: 2rem;
}

.section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.tag {
    display: inline-block;
    background: var(--color-coral);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-coral);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    background: var(--color-coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-charcoal);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.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);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-charcoal);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-charcoal);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--color-coral);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-coral);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-charcoal);
    padding: 8px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.pexels.com/photos/18617711/pexels-photo-18617711.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 52, 54, 0.85) 0%, rgba(45, 52, 54, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--color-white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About */
.about {
    background: var(--color-white);
}

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

.about-image-wrapper {
    position: relative;
}

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

.about-content .tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 20px;
}

.lead {
    font-size: 1.125rem;
    color: var(--color-charcoal);
    margin-bottom: 16px;
    font-weight: 500;
}

.about-content p {
    color: var(--color-charcoal-light);
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-list .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-cream);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list strong {
    display: block;
    color: var(--color-charcoal);
    margin-bottom: 2px;
}

.feature-list span {
    font-size: 0.9rem;
    color: var(--color-charcoal-light);
}

/* Menu */
.menu {
    background: var(--color-cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

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

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

.menu-img {
    height: 200px;
    overflow: hidden;
}

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

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

.menu-info {
    padding: 24px;
}

.menu-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.menu-info p {
    color: var(--color-charcoal-light);
    font-size: 0.95rem;
}

/* Atmosphere */
.atmosphere {
    background: var(--color-white);
}

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

.atm-content .tag {
    margin-bottom: 16px;
}

.atm-content .section-title {
    margin-bottom: 20px;
}

.atm-content p {
    color: var(--color-charcoal-light);
    margin-bottom: 16px;
}

.stats {
    display: flex;
    gap: 48px;
    margin-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-coral);
    font-weight: 500;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-charcoal-light);
    margin-top: 4px;
}

.atm-images {
    position: relative;
}

.atm-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
}

.atm-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.atm-img-small {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-left: -40px;
}

.atm-img-small img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Contact */
.contact {
    background: var(--color-charcoal);
    color: var(--color-white);
}

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

.contact .section-title {
    color: var(--color-white);
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px 0;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 107, 107, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-coral);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--color-white);
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.info-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.info-item a {
    color: var(--color-coral);
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--color-charcoal);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-charcoal);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-charcoal);
    transition: border-color 0.3s ease;
    background: var(--color-cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-coral);
    background: var(--color-white);
}

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

.form-success {
    display: none;
    background: rgba(0, 184, 148, 0.1);
    color: var(--color-success);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #1a1f20;
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-brand p {
    max-width: 300px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 4px;
}

/* Mobile Menu */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 24px;
    box-shadow: var(--shadow-md);
    gap: 20px;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .about-grid,
    .atmosphere-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .atm-img-small {
        margin-left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stats {
        gap: 32px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

/* Scroll animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
