/* Základní reset a font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #fff9f9 0%, #fff0f5 100%);
    color: #333;
    min-height: 100vh;
    padding-bottom: 40px;
}

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

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e91e63;
}

.logo i {
    font-size: 2rem;
}

.user-actions {
    display: flex;
    gap: 15px;
}

.btn-icon {
    background: white;
    border: 1px solid #eee;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-icon:hover {
    background: #f8f8f8;
    color: #e91e63;
    transform: translateY(-2px);
}

/* Sekce header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header .link {
    color: #e91e63;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.section-header .link:hover {
    text-decoration: underline;
}

/* Hero sekce - Carousel */
.hero {
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    padding: 0 40px;
}

.swiper {
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.appointment-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.appointment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.appointment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.salon-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.appointment-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.service {
    color: #666;
    font-size: 0.95rem;
}

.appointment-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95rem;
}

.appointment-details i {
    color: #e91e63;
    width: 20px;
}

.appointment-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #e91e63 0%, #ff4081 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d81b60 0%, #f50057 100%);
    box-shadow: 0 5px 15px rgba(233,30,99,0.3);
}

.btn-secondary {
    background: white;
    color: #666;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.swiper-button-next, .swiper-button-prev {
    color: #e91e63 !important;
    background: white;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem !important;
}

.swiper-pagination-bullet-active {
    background: #e91e63 !important;
}

/* Last Minute Bar */
.last-minute {
    margin-bottom: 40px;
}

.pulse-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #ff4081;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.pulse-text {
    font-size: 0.9rem;
    color: #ff4081;
    font-weight: 500;
}

.last-minute-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 5px 20px;
    scrollbar-width: thin;
}

.last-minute-scroll::-webkit-scrollbar {
    height: 6px;
}

.last-minute-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.last-minute-item {
    flex: 0 0 auto;
    width: 180px;
    background: white;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.last-minute-item.highlight {
    border-color: #ff4081;
    background: linear-gradient(135deg, #fff5f7 0%, #ffeef2 100%);
}

.last-minute-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.lm-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.lm-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #222;
}

.lm-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.lm-time {
    display: inline-block;
    background: #f0f0f0;
    color: #888;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Navigace Segmentů */
.segments-nav {
    background: white;
    border-radius: 20px;
    padding: 16px 24px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    position: sticky;
    top: 10px;
    z-index: 100;
    transition: all 0.3s ease;
}

.segments-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.segment-btn {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #f9f9f9;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    min-width: 90px;
}

.segment-btn.active {
    background: linear-gradient(135deg, #e91e63 0%, #ff4081 100%);
    color: white;
    border-color: #e91e63;
    box-shadow: 0 5px 15px rgba(233,30,99,0.2);
}

.segment-btn:hover:not(.active) {
    background: #f0f0f0;
    color: #333;
    border-color: #ddd;
}

.segment-btn i {
    font-size: 1.5rem;
}

.segment-btn span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Hlavní Feed */
.main-feed {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.segment-block {
    background: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.segment-header {
    margin-bottom: 25px;
}

.segment-header h3 {
    font-size: 1.4rem;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.segment-header p {
    color: #777;
    font-size: 0.95rem;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.tile {
    background: #fafafa;
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.tile.personal {
    background: linear-gradient(135deg, #fdf2ff 0%, #f5e6ff 100%);
}

.tile.action {
    background: linear-gradient(135deg, #fff2f6 0%, #ffe6ec 100%);
}

.tile.recommended {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f4ff 100%);
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.tile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.salon-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
}

.salon-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.salon-tag {
    display: inline-block;
    background: rgba(255,255,255,0.7);
    color: #666;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
}

.highlight-tag {
    background: #ff4081;
    color: white;
}

.tile-content {
    margin-bottom: 20px;
}

.next-slot, .offer, .salon-desc, .offer-desc {
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95rem;
}

.next-slot i, .offer i {
    color: #e91e63;
    margin-right: 8px;
}

.tile-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tile-btn.primary {
    background: linear-gradient(135deg, #e91e63 0%, #ff4081 100%);
    color: white;
    border: none;
}

.tile-btn:hover {
    background: #f0f0f0;
}

.tile-btn.primary:hover {
    background: linear-gradient(135deg, #d81b60 0%, #f50057 100%);
}

/* Footer */
.footer {
    margin-top: 60px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    padding: 20px;
    border-top: 1px solid #eee;
}

/* Responsivní úpravy */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .carousel-container {
        padding: 0 10px;
    }
    .segments-container {
        gap: 8px;
    }
    .segment-btn {
        min-width: 80px;
        padding: 10px 14px;
    }
    .tile-grid {
        grid-template-columns: 1fr;
    }
    .last-minute-item {
        width: 160px;
    }
}

/* Sticky nav efekt */
.sticky {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}