@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #A3238E;
    --primary-dark: #8b1c7a;
    --secondary: #47a5ae;
    --accent: #ed35bb;
    --bg-gradient: linear-gradient(135deg, #fdf4fb 0%, #f0fdfd 100%);
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(163, 35, 142, 0.1);
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1200px;
    /* Full website width */
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header Styling */
.main-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

/* Footer Styling */
.main-footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: white;
}

.footer-section a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Main Content Area */
main {
    flex: 1;
}

/* Existing Components Modified for Desktop */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.service-item {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* Buttons and Inputs */
.btn {
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

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

/* App-style Components */
.tag-location {
    background: #f3e8ff;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tag-location::before {
    content: '•';
    font-size: 1.2rem;
}

.stat-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 500;
}

.price-badge {
    background: #e0f2f1;
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    border: 1px solid #b2dfdb;
}

.search-container {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 10px;
}

.search-container input {
    border: none;
    padding: 15px 0;
}

.search-container input:focus {
    box-shadow: none;
}

.list-item-app {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.list-item-app:hover {
    border-color: var(--primary);
    background: #fafafa;
}

.img-specialty {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: slideUp 0.6s ease forwards;
}

/* Bubble Design Components */
.location-bubble {
    background: #e0f2f1;
    border-radius: 20px;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.date-card-v2 {
    min-width: 85px;
    height: 125px;
    background: #fff;
    border: 1.5px solid #f1f5f9;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-card-v2 .day {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.date-card-v2 .date {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
}

.date-card-v2 .month {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.date-card-v2.active {
    background: #f0fdfd;
    border-color: #47a5ae;
}

.date-card-v2.active .day,
.date-card-v2.active .month,
.date-card-v2.active .date {
    color: #47a5ae;
}

.time-bubble {
    background: #fff;
    border: 1.5px solid #f1f5f9;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
}

.time-bubble.active {
    background: #f0fdfd;
    border-color: #47a5ae;
    color: #47a5ae;
}

.time-bubble.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f8fafc;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .header-container {
        justify-content: center;
        gap: 20px;
    }

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

/* Sidebar Styling */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: white !important;
    box-shadow: 2px 0 15px rgba(0,0,0,0.15);
    z-index: 2001;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-links a {
    text-decoration: none !important;
    color: #1e293b !important;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 14px 18px;
    border-radius: 14px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-links a:hover {
    background: #f8fafc;
    color: var(--primary) !important;
    transform: translateX(5px);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: var(--primary);
    padding: 5px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        display: none;
    }

    .header-container {
        justify-content: space-between !important;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .service-item {
        padding: 20px 10px;
        min-height: 160px;
    }

    .service-item h3 {
        font-size: 0.95rem;
    }

    .service-item p {
        font-size: 0.75rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .container {
        padding: 20px 15px;
    }

    h1 {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 380px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}