/* CSS Custom Properties */
:root {
    --color-primary: #0a0e1a;
    --color-secondary: #1a2332;
    --color-accent: #00d4ff;
    --color-accent-glow: #00d4ff33;
    --color-text: #ffffff;
    --color-text-muted: #a0aec0;
    --color-surface: #161b2a;
    --color-surface-elevated: #1e2635;
    --color-border: #2d3748;
    --color-success: #48bb78;
    --color-warning: #ed8936;

    --font-display: 'Orbitron', monospace;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --gradient-primary: linear-gradient(135deg, #0a0e1a 0%, #1a2332 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #0ea5e9 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(10, 14, 26, 0.8) 100%);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.24);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.32);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);

    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    --transition-fast: 0.2s ease-out;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 1.2vw, 16px);
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-primary);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--color-text-muted);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left var(--transition-smooth);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-primary);
    border: 2px solid transparent;
}

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

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

.btn-secondary:hover {
    background: var(--color-accent-glow);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-surface);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    border: 1px solid var(--color-border);
    animation: heroFadeIn 1s ease-out 0.2s both;
}

.rating-stars {
    color: var(--color-warning);
    font-size: 1.1rem;
}

.rating-text {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: heroFadeIn 1s ease-out 0.4s both;
}

.title-main {
    display: block;
    font-weight: 900;
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--color-accent-glow);
}

.title-sub {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    color: var(--color-text-muted);
    margin: 0.5rem 0;
    letter-spacing: 0.2em;
}

.title-location {
    display: block;
    font-size: 0.7em;
    color: var(--color-accent);
    font-weight: 600;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    animation: heroFadeIn 1s ease-out 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeIn 1s ease-out 0.8s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.title-accent {
    color: var(--color-accent);
    display: block;
    font-size: 0.7em;
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Gallery Section */
.gallery {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--color-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 212, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    font-size: 2rem;
    color: white;
}

/* Products Section */
.products {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--color-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
}

.product-card {
    background: var(--color-surface);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--color-accent-glow), transparent);
    opacity: 0;
    transition: all var(--transition-smooth);
    animation: rotate 4s linear infinite;
    z-index: -1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    transition: filter var(--transition-smooth);
}

.product-card:hover .product-icon {
    filter: grayscale(0%);
}

.product-card h3 {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.product-card p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.6;
}

/* Reviews Section */
.reviews {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--color-surface-elevated);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
}

.review-card {
    background: var(--color-surface);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-smooth);
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.review-stars {
    color: var(--color-warning);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.7;
    position: relative;
}

.review-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--color-accent);
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    font-family: var(--font-display);
}

.review-author {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--color-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(2rem, 6vw, 4rem);
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    background: var(--color-surface);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.contact-item h3 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
    line-height: 1.5;
}

.contact-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--color-text);
}

/* Hours Table */
.hours-table {
    background: var(--color-surface);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    min-width: 300px;
}

.hours-table h3 {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.25rem;
}

.hours-table table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.hours-table td:first-child {
    color: var(--color-text-muted);
    width: 40%;
}

.hours-table td:last-child {
    text-align: right;
    color: var(--color-text);
    font-weight: 500;
}

.hours-table tr.closed td:last-child {
    color: var(--color-warning);
}

.hours-table tr:last-child td {
    border-bottom: none;
}

/* Footer */
.footer {
    background: var(--color-surface-elevated);
    padding: clamp(2rem, 5vw, 3rem) 0 clamp(1rem, 3vw, 1.5rem);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.9rem;
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 1001;
    transition: color var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-accent);
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius-md);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    pointer-events: all;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-accent);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hours-table {
        min-width: auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .title-sub {
        font-size: 0.5em;
    }

    .hero-content {
        padding: 1rem;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 85%;
    }

    .lightbox-close {
        top: -40px;
        font-size: 2rem;
    }
}

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

/* Print Styles */
@media print {
    .hero-scroll-indicator,
    .lightbox,
    .hero-actions {
        display: none;
    }

    .hero {
        height: auto;
        min-height: auto;
    }

    body {
        color: black;
        background: white;
    }
}