/* Home screen specific styles */
.home-container {
    padding: 20px 20px 115px;
    background: #fafafa;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 480px) {
    .home-container {
        padding: 16px 14px 115px;
    }
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.location-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}
.location-selector svg { fill: #E37482; width: 18px; height: 18px; }

.header-icons {
    display: flex;
    gap: 12px;
}
.icon-btn {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    color: var(--text-dark);
    border: 1px solid #f0f0f0;
}
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    background: #E37482;
    border-radius: 50%;
    border: 2px solid #fff;
}

.hero-banner {
    background: linear-gradient(135deg, #A26DF8 0%, #E37482 100%);
    border-radius: 24px;
    padding: 30px 25px;
    color: #fff;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(227, 116, 130, 0.3);
    position: relative;
    overflow: hidden;
}
.hero-banner::after {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    filter: blur(20px);
}
.hero-banner h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}
.hero-banner p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Featured Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.section-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}
.section-header a {
    font-size: 14px;
    color: #E37482;
    text-decoration: none;
    font-weight: 600;
}

.horizontal-scroll, .featured-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-left: -20px;
    padding-left: 20px;
    margin-right: -20px;
    padding-right: 20px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}
/* Custom visible scrollbar for horizontal sections */
.horizontal-scroll::-webkit-scrollbar, .featured-scroll::-webkit-scrollbar { height: 6px; }
.horizontal-scroll::-webkit-scrollbar-track, .featured-scroll::-webkit-scrollbar-track { background: transparent; }
.horizontal-scroll::-webkit-scrollbar-thumb, .featured-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 10px; }

.companion-card {
    min-width: 200px;
    height: 260px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background: #ccc;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.companion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.card-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    z-index: 2;
    color: #fff;
}

.card-info h4 {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 5px 0;
}
.card-info h4 svg { width: 16px; height: 16px; fill: #4CAF50; }

.location-badge {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}
.location-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
}

.card-tags {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}
.tag {
    background: rgba(255,255,255,0.25);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.like-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.like-btn:active {
    transform: scale(0.9);
    background: #E37482;
    border-color: #E37482;
}
.like-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* Explore Section */
.explore-section {
    margin-bottom: 35px;
}
.explore-header {
    margin-bottom: 20px;
}
.explore-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.explore-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 360px) {
    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
.explore-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    background: #f8f9fc;
    border-radius: 20px;
    padding: 15px 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.explore-item:active, .explore-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.explore-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.explore-icon-wrapper i {
    font-size: 19px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.explore-icon-wrapper svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.explore-item span {
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

/* How It Works Flowchart */
.work-process-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    padding: 30px 10px;
    background-color: #f4eee6;
    border-radius: 16px;
    margin-top: 20px;
}

.flow-header {
    text-align: center;
    margin-bottom: 40px;
    border-top: 3px solid #333;
    padding-top: 15px;
    width: 90%;
    max-width: 500px;
}

.flow-header h3 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: 28px;
    line-height: 1.1;
    color: #333;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.flow-header p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

.flow-step {
    position: relative;
    width: 90%;
    max-width: 400px;
    padding: 25px;
    margin-bottom: 25px; 
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.flow-step::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 25px solid;
    z-index: 2;
}

.flow-step:last-child::after {
    display: none;
}
.flow-step:last-child {
    margin-bottom: 0;
}

.flow-step h4 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #222;
    text-transform: uppercase;
}

.flow-step p {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.step-green { background-color: #a3c4b9; }
.step-green::after { border-top-color: #a3c4b9; }

.step-peach { background-color: #f09f8d; }
.step-peach::after { border-top-color: #f09f8d; }

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
