/* TripAssistPro - shared site styles */

:root {
    --primary-color: #1a5f3f;
    --secondary-color: #2d8f5f;
    --accent-color: #ff6b35;
    --text-dark: #1a1a1a;
    --text-light: #666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #1a5f3f 0%, #2d8f5f 100%);
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0;
    z-index: 60;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #374151;
    transition: background 0.2s;
}

.nav-dropdown-menu a:hover {
    background: #f0fdf4;
    color: #1a5f3f;
}

.nav-dropdown-menu .dropdown-date {
    font-size: 0.75rem;
    color: #9ca3af;
}

.mobile-menu-panel {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 100;
    overflow-y: auto;
    padding: 5rem 1.5rem 2rem;
}

.mobile-menu-panel.active {
    display: block;
}

.sticky-info {
    position: sticky;
    top: 80px;
}

.banner-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-topic-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 9999px;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .hero-topic-pill {
        display: inline-flex;
        width: auto;
        padding: 0.55rem 1.35rem;
        font-size: 1rem;
    }
}

.hero-topic-pill:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.hero-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.hero-topic-grid .hero-topic-pill:last-child {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .hero-topic-grid {
        display: flex;
        flex-wrap: wrap;
    }

    .hero-topic-grid .hero-topic-pill:last-child {
        grid-column: auto;
    }
}

.card-tilt {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.card-tilt:hover {
    transform: rotateY(5deg) rotateX(-5deg);
}

.interest-card-large {
    grid-column: span 2;
}

@media (max-width: 1024px) {
    .interest-card-large {
        grid-column: span 1;
    }
}

.experience-card-featured {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 1024px) {
    .experience-card-featured {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.inspiration-card-wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .inspiration-card-wide {
        grid-column: span 1;
    }

    .mobile-menu-btn {
        display: block;
    }

    .desktop-nav {
        display: none;
    }
}
