:root {
    --primary: #FF3A5E;
    --secondary: #3A66FF;
    --dark: #151928;
    --light: #F8F9FC;
    --success: #00D97E;
    --warning: #FFAB2D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background-color: rgba(21, 25, 40, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.search-login {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-btn {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.2rem;
    cursor: pointer;
}

.advanced-search-btn {
    margin-left: 0.5rem; 
    padding: 0.75rem 1rem; 
    background: #6c757d; 
    color: white;
    border: none; 
    border-radius: 20px !important; 
    cursor: pointer;
}

.login-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 58, 94, 0.3);
}

/* Hero Section */
.hero {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero.png') center/cover no-repeat;
    filter: brightness(0.4);
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.search-container {
    display: flex;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-container input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: white;
    font-size: 1rem;
    outline: none;
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-container button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.search-container button:hover {
    background: #ff1a43;
}

/* Categories */
.categories {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title p {
    color: rgba(248, 249, 252, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: linear-gradient(to bottom, rgba(58, 102, 255, 0.1), rgba(255, 58, 94, 0.1));
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-url) center/cover no-repeat;
    opacity: 0.2;
    z-index: -1;
    transition: opacity 0.2s;
    filter: grayscale(100%);
    transition: filter 0.4s ease, opacity 0.2s ease;
}

.category-card:hover::before {
    filter: grayscale(80%);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(58, 102, 255, 0.2);
}

.category-card:hover::before {
    opacity: 0.3;
}

.category-icon {
    width: 90px;
    height: 90px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 0; /* keep image square */
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.category-card p {
    font-size: 0.9rem;
    color: rgba(248, 249, 252, 0.7);
    margin-bottom: 1.5rem;
}

.category-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.category-card a:hover {
    gap: 0.8rem;
}

/* Featured Activities */
.featured {
    padding: 5rem 0;
    background-color: rgba(21, 25, 40, 0.5);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.activity-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.activity-img {
    height: 200px;
    position: relative;
}

.activity-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--warning);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

.activity-content {
    padding: 1.5rem;
}

.activity-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.activity-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--warning);
    font-weight: 600;
}

.activity-price {
    color: var(--success);
    font-weight: 600;
}

.activity-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.activity-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(248, 249, 252, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.activity-buttons {
    display: flex;
    gap: 0.8rem;
}

.btn-details {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.btn-details:hover {
    background: var(--primary);
    color: white;
}

.btn-book {
    flex: 1;
    padding: 0.8rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-book:hover {
    background: #ff1a43;
}

/* Footer */
footer {
    background-color: #0f121d;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.footer-about p {
    color: rgba(248, 249, 252, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: background 0.3s, transform 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(248, 249, 252, 0.7);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(248, 249, 252, 0.5);
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px 0 0 8px;
    color: white;
    outline: none;
}

.newsletter-form button {
    padding: 0 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #ff1a43;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .search-container {
        flex-direction: column;
        background: transparent;
        border: none;
        backdrop-filter: none;
    }
    
    .search-container input {
        border-radius: 50px;
        margin-bottom: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .search-container button {
        width: 100%;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
}
