/**
 * ============================================================================
 * PAGEPOPLET BIGCITY THEME STYLESHEET
 * ============================================================================
 * Bright, colorful, modern urban design
 * ============================================================================ */

/* CSS Custom Properties */
:root {
    /* Extended color palette - user controls --c1 and --c2 via PHP */
    --accent1: #FFE66D;
    /* Yellow */
    --accent2: #95E1D3;
    /* Mint */
    --accent3: #F38181;
    /* Light Coral */
    --dark: #2C3E50;
    /* Dark Slate */
    --light: #F8F9FA;
    /* Light Gray */
    --white: #FFFFFF;

    /* Background colors */
    --bg: #FFFFFF;
    --bg-alt: #F0F8FF;
    --bg-section: #FAFBFC;

    /* Text colors */
    --text: #2C3E50;
    --text-light: #6C757D;
    --text-white: #FFFFFF;

    /* Borders and dividers */
    --border: #E9ECEF;
    --border-light: #F1F3F4;

    /* Spacing scale */
    --space-xs: 0.25rem;
    /* 4px */
    --space-sm: 0.5rem;
    /* 8px */
    --space-md: 1rem;
    /* 16px */
    --space-lg: 1.5rem;
    /* 24px */
    --space-xl: 2rem;
    /* 32px */
    --space-2xl: 3rem;
    /* 48px */
    --space-3xl: 4rem;
    /* 64px */

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-colored: 0 4px 12px rgba(255, 107, 107, 0.3);
}

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

body.theme-bigcity {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--c1);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--c2);
    text-decoration: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
    color: var(--text-white);
    padding: var(--space-3xl) var(--space-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.logo {
    max-height: 100px;
    width: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.brand h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-width: 140px;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--accent1);
    color: var(--dark);
}

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

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

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--c1);
    transform: translateY(-2px);
}

/* Gallery Section with Swiper */
.gallery-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
}

.gallery-section .swiper {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.gallery-section .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 400px;
}

.gallery-section .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-section .swiper-slide:hover img {
    transform: scale(1.1);
}

/* Swiper Navigation & Pagination */
.gallery-section .swiper-button-next,
.gallery-section .swiper-button-prev {
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-full);
    width: 50px;
    height: 50px;
    margin-top: -25px;
}

.gallery-section .swiper-button-next:after,
.gallery-section .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.gallery-section .swiper-button-next:hover,
.gallery-section .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.gallery-section .swiper-pagination-bullet {
    background-color: var(--white);
    opacity: 0.6;
}

.gallery-section .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--accent1);
}

/* Section Styles */
.about-section,
.contact-section,
.hours-section,
.social-section {
    padding: var(--space-3xl) 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--c1);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--c1), var(--c2));
    border-radius: 2px;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-section);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--c1);
}

.contact-item a {
    color: var(--text);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--c1);
}

.email-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--text);
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email-btn:hover {
    color: var(--c1);
}

/* Map */
.map-container {
    margin-top: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

#map {
    height: 400px;
    width: 100%;
    border-radius: var(--radius-lg);
}

.directions-link {
    display: inline-block;
    margin-top: var(--space-md);
    font-weight: 600;
    color: var(--c1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.directions-link:hover {
    color: var(--c2);
}

/* Hours Section */
.hours-grid {
    max-width: 600px;
    margin: 0 auto;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.hours-day {
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.hours-time {
    color: var(--text-light);
    font-weight: 500;
}

.hours-time .closed {
    color: var(--c1);
    font-style: italic;
}

.hours-row.current-day {
    background-color: #E8F4F8;
    border-left: 4px solid var(--c1);
}

/* Social Section */
.social-section {
    background: linear-gradient(135deg, var(--c2) 0%, var(--accent1) 100%);
    color: var(--text-white);
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--text-white);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon svg {
    width: 28px;
    height: 28px;
}

.social-icon:hover {
    background-color: var(--white);
    color: var(--c1);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    color: var(--text-white);
    padding: var(--space-xl) 0;
    text-align: center;
}

.site-footer span {
    margin-right: var(--space-md);
}

.site-footer a {
    color: var(--accent1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--accent2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: var(--space-2xl) var(--space-md);
    }

    .brand h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .gallery-section .swiper {
        height: 350px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    #map {
        height: 300px;
    }

    .hours-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }

    .site-footer {
        flex-direction: column;
        gap: var(--space-md);
    }

    .site-footer span {
        margin-right: 0;
        margin-bottom: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .brand {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .brand h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .gallery-section .swiper {
        height: 250px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
    }

    .social-icon svg {
        width: 24px;
        height: 24px;
    }
}