:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --header-bg: linear-gradient(135deg, #1f3741 0%, #21626f 100%);
    --card-shadow: 0 2px 10px rgba(0,0,0,0.3);
    --border-color: #404040;
    --accent-color: #e7ab23;
    --accent-hover: #357abd;
}

[data-theme="light"] {
    --bg-primary: #f8f8f8;
    --bg-secondary: white;
    --text-primary: #333;
    --text-secondary: #666;
    --header-bg: linear-gradient(135deg, #1f3741 0%, #21626f 100%);
    --card-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --border-color: #eee;
    --accent-color: #e7ab23;
    --accent-hover: #2980b9;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

header {
    background: var(--header-bg);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    box-shadow: var(--card-shadow);
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

.address {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.header-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-social a:hover {
    transform: scale(1.1);
}

.header-social svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.hours-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.hours-map-grid .info-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.info-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.opening-hours {
    list-style: none;
}

.opening-hours li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.opening-hours li:last-child {
    border-bottom: none;
}

.day {
    font-weight: bold;
    color: var(--text-primary);
}

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

.contact-info {
    margin-top: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
}

.contact-info span {
    font-weight: bold;
    margin-right: 0.5rem;
    color: var(--text-primary);
}

.map-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    flex: 1;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.social-section {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.social-section h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
}

.social-links a[href*="instagram"] {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-links a[href*="facebook"] {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
}

.social-links a[href*="twitch"] {
    background: linear-gradient(135deg, #9146ff 0%, #7c3aed 100%);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.instagram-feed {
    text-align: center;
    padding: 2rem 0;
}

footer {
    background: var(--header-bg);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    transition: background 0.3s ease;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--card-shadow);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--text-primary);
    transition: fill 0.3s ease;
}

[data-theme="light"] .theme-toggle svg {
    fill: #ffd700;
}

/* Profile Banner */
.profile-banner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.profile-banner-container {
    margin-bottom: 2rem;
    padding: 0;
}

/* Custom Instagram Widget */
.custom-instagram-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.instagram-post {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.8), rgba(255, 200, 87, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-icon {
    width: 40px;
    height: 40px;
    fill: white;
}

.instagram-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    text-align: center;
    padding: 1rem;
}

.instagram-placeholder svg {
    width: 48px;
    height: 48px;
    fill: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.instagram-placeholder p {
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .hours-map-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
}
