/* Home Page Styles */

.hero-section {
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: hsl(var(--primary));
    top: -200px;
    right: -100px;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: hsl(var(--ring));
    bottom: -150px;
    left: -100px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
}

.hero-search {
    max-width: 36rem;
    margin: 0 auto;
}

.hero-search-inner {
    position: relative;
}

.hero-search-input {
    height: 3rem !important;
    font-size: 1rem !important;
    border-radius: 9999px 0 0 9999px !important;
    padding-left: 1.25rem !important;
}

.hero-location-btn {
    border-radius: 0 9999px 9999px 0 !important;
    height: 3rem;
    white-space: nowrap;
    gap: 0.5rem;
    padding: 0 1.25rem;
}

@media (max-width: 639px) {
    .hero-location-text { display: none; }
    .hero-location-btn { padding: 0 0.75rem; }
}

.section {
    padding: 2rem 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Location Cards */
.location-card {
    display: block;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: white;
    text-decoration: none;
    min-height: 100px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.location-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.location-card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.location-card-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.location-card-temp {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 300;
    color: white;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(to bottom right, var(--indigo-50), var(--blue-100));
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.dark .feature-icon {
    background: linear-gradient(to bottom right, var(--indigo-900), var(--blue-900));
    color: var(--blue-400);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Recent location card with weather data */
.recent-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.recent-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.recent-card-inner {
    padding: 1.25rem;
    color: white;
    min-height: 100px;
}

.recent-card-inner h4 {
    font-weight: 500;
    color: white;
    margin-bottom: 0;
}

.recent-card-temp {
    font-size: 2rem;
    font-weight: 300;
}

.recent-card-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    font-size: 0.75rem;
    opacity: 0.8;
}
