:root {
    --primary: #007bff;
    --primary-dark: #0069d9;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #28a745;
    --danger: #dc3545;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Mobile Top Bar - Always Visible */
.mobile-top-bar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    animation: slideInDown 0.5s ease-out;
    font-size: 0.9rem;
}

/* Section Styling */
.section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 0.5rem auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
    color: white;
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 1s ease-out;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 4.5rem);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: slideInDown 0.8s ease-out;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    animation: slideInDown 1s ease-out;
    color: white;
}

.hero-image {
    margin-top: 1.5rem;
    max-width: 300px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 5px 15px rgba(0,0,0,0.1);
    animation: fadeIn 1.2s ease-out, float 6s ease-in-out infinite;
}

.hero-image img {
    display: block;
}

/* Button Styling */
.cta-button, .phone-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cta-button:hover, .phone-button:hover,
.cta-button:focus, .phone-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

/* Services */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
    overflow: hidden;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    padding: 1.5rem;
    border-top: 4px solid var(--primary);
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-5px);
    will-change: transform;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Hours Section */
.hours-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 500px;
    margin: 0 auto;
}

.status-indicator {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-top: 1rem;
    font-weight: 600;
}

.status-indicator.open {
    background: #d4edda;
    color: var(--success);
}

.status-indicator.closed {
    background: #f8d7da;
    color: var(--danger);
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 0 1rem;
}

.phone-button {
    display: block;
    max-width: 300px;
    margin: 1.5rem auto;
    font-size: 1.2rem;
}

.contact-info {
    text-align: left;
    max-width: 500px;
    margin: 1.5rem auto;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info p {
    margin: 1rem 0;
    font-size: 1.05rem;
}

.contact-info strong {
    color: var(--primary);
    min-width: 140px;
    display: inline-block;
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.map-container iframe {
    display: block;
    border: none;
}

/* Social Media Section */
.social-container {
    margin-top: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.instagram-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.instagram-embed-container {
    width: 100%;
    max-width: 540px;
    min-width: 326px;
    overflow: hidden;
}

.instagram-media {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: #FFF !important;
    box-shadow: 0 0 1px 0 rgba(0,0,0,0.5), 0 1px 10px 0 rgba(0,0,0,0.15) !important;
    min-height: 400px !important;
}

@media (max-width: 767px) {
    .instagram-wrapper {
        padding: 0.5rem;
        margin: 0;
        border-radius: 8px;
    }
    
    .instagram-embed-container {
        min-width: 280px;
    }
    
    .instagram-media {
        border-radius: 8px !important;
        min-height: 350px !important;
    }
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .mobile-top-bar {
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
    }
    
    .hero {
        padding: 2rem 1rem 1.5rem;
        padding-top: 4.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
    }
    
    .hero-image {
        max-width: 250px;
        margin-top: 1rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .map-container {
        margin-top: 1.5rem;
    }
    
    .section {
        padding: 1.5rem 1rem;
    }
    
    /* Ensure no horizontal overflow on mobile */
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .container, .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .row {
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
    
    .col-12, .col-lg-8, .col-md-8, .col-md-6, .col-md-4 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Desktop Styles */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        justify-content: space-around;
        text-align: left;
        padding: 4rem 2rem;
    }
    
    .hero-content {
        max-width: 50%;
    }
    
    .hero-image {
        margin-top: 0;
        max-width: 40%;
    }
    
    .section {
        padding: 4rem 2rem;
    }
}