/* Embassy Irish Sports Bar & Grill - Stylesheet */

/* CSS Variables (Color Scheme) */
:root {
    --background: 0 0% 7.5%;
    --foreground: 0 0% 98%;
    --primary: 35 91% 68%; /* Gold/Amber */
    --primary-foreground: 355 91% 18%;
    --secondary: 142 76% 36%; /* Green - Irish theme */
    --secondary-foreground: 0 0% 98%;
    --border: 35 91% 68% / 0.2;
    --border-green: 142 76% 36% / 0.3;
    --radius: 0.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    /* Background: dark gradient with subtle texture */
    background-image: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 26, 0.95) 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(212, 175, 55, 0.03) 10px,
            rgba(212, 175, 55, 0.03) 20px
        );
    background-attachment: fixed;
    background-size: cover;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 6rem;
}

.logo {
    height: 4rem;
    width: auto;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

.nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgb(209, 213, 219);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: hsl(var(--primary));
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background-color: hsl(var(--primary));
    opacity: 1;
}

.nav-link.active:nth-child(even)::after {
    background-color: hsl(var(--secondary));
}

.mobile-menu-toggle {
    display: block;
    color: hsl(var(--primary));
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

/* Main Content */
.main {
    flex-grow: 1;
    padding-top: 6rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 6rem);
    margin-top: -6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: brightness(0.5);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent, rgba(0, 0, 0, 0.2));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
}

.hero-logo {
    height: 10rem;
    width: auto;
    margin: 0 auto 1rem;
    display: block;
}

.hero-title {
    font-size: 1.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-shadow: 0 0 8px hsl(35 80% 50% / 0.8), 0 0 20px hsl(35 80% 50% / 0.5);
}

/* Buttons */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: calc(var(--radius) - 2px);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}

.btn-primary:hover {
    background-color: transparent;
    color: hsl(var(--primary));
}

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

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

.btn-outline-green {
    background-color: transparent;
    color: hsl(var(--secondary));
    border-color: hsl(var(--secondary));
}

.btn-outline-green:hover {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

/* Experience Section */
.experience {
    padding: 3.5rem 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 1rem;
    color: hsl(var(--primary));
    text-shadow: 0 0 8px hsl(35 80% 50% / 0.8), 0 0 20px hsl(35 80% 50% / 0.5);
}

.section-title:nth-of-type(even) {
    color: hsl(var(--secondary));
    text-shadow: 0 0 8px hsl(142 70% 40% / 0.8), 0 0 20px hsl(142 70% 40% / 0.5);
}

.section-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    max-width: 48rem;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    border: 2px solid hsl(var(--border-green));
    background: hsl(var(--card) / 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:nth-child(even) {
    border-color: hsl(var(--border));
}

.gallery-item:hover {
    border-color: hsl(var(--primary));
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.gallery-item:nth-child(even):hover {
    border-color: hsl(var(--secondary));
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: transform 0.3s ease-in-out;
    border-radius: calc(var(--radius) - 2px);
}

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


/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.8);
    border-top: 1px solid hsl(var(--border-green));
    backdrop-filter: blur(4px);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 0;
}

.footer-name {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.footer-copyright {
    font-size: 0.875rem;
    color: hsl(var(--foreground) / 0.5);
    margin-top: 0.25rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link {
    color: hsl(var(--foreground) / 0.5);
    transition: color 0.3s;
}

.social-link:hover {
    color: hsl(var(--primary));
}

.social-link:nth-child(even):hover {
    color: hsl(var(--secondary));
}

.social-link svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero-logo {
        height: 14rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: hsl(var(--background));
}

::-webkit-scrollbar-thumb {
    background: hsl(var(--primary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--primary) / 0.8);
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

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

