@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --dribbble-purple: #0d0c22;
    --dribbble-light-grey: #6e6d7a;
    --dribbble-text-dark: #0d0c22;
    --dribbble-button-bg: #0d0c22;
    --dribbble-button-text: #ffffff;
    --dribbble-border-color: #e8e8e8;
    --dribbble-accent-pink: #ea4c89;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dribbble-text-dark);
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #fff;
    border-bottom: 1px solid var(--dribbble-border-color);
}

.navbar-left {
    display: flex;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dribbble-purple);
    margin-right: 30px;
}

.nav-links ul {
    display: flex;
    gap: 30px;
}

.nav-links ul li {
    position: relative;
}

.nav-links ul li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--dribbble-light-grey);
    padding: 5px 0;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.nav-links ul li a:hover {
    color: var(--dribbble-purple);
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--dribbble-light-grey);
    margin-left: 6px;
    transition: border-top-color 0.2s ease;
}

.nav-links ul li a:hover .dropdown-arrow {
    border-top-color: var(--dribbble-purple);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid var(--dribbble-border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    min-width: 180px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.nav-links ul li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 8px 15px;
    color: var(--dribbble-light-grey);
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: #f7f7f7;
    color: var(--dribbble-purple);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sign-up-btn {
    font-size: 16px;
    font-weight: 500;
    color: var(--dribbble-light-grey);
    padding: 8px 15px;
    transition: color 0.2s ease;
}

.sign-up-btn:hover {
    color: var(--dribbble-purple);
}

.log-in-btn {
    background-color: var(--dribbble-button-bg);
    color: var(--dribbble-button-text);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.log-in-btn:hover {
    background-color: #333;
}

/* Hero Section */
.hero-section {

    text-align: center;
    padding: 50px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 700;
    color: var(--dribbble-purple);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-section p {
    font-size: 20px;
    color: var(--dribbble-light-grey);
    margin-bottom: 40px;
}

.search-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background-color: #f3f3f4;
    border-radius: 12px;
    padding: 10px;
    width: 100%;
    max-width: 650px;
    position: relative;
}

.search-input-wrapper input[type="text"] {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 18px;
    outline: none;
    color: var(--dribbble-text-dark);
}

.search-input-wrapper input[type="text"]::placeholder {
    color: var(--dribbble-light-grey);
}

.search-input-wrapper select {
    appearance: none;
    background-color: transparent;
    border: none;
    font-size: 16px;
    color: var(--dribbble-light-grey);
    padding: 10px 15px;
    cursor: pointer;
    outline: none;
    position: relative;
    padding-right: 30px; /* Space for custom arrow */
}

.search-input-wrapper select:focus {
    outline: none;
}

/* Custom arrow for select */
.search-input-wrapper select::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--dribbble-light-grey);
    pointer-events: none;
}


.search-icon {
    background-color: var(--dribbble-accent-pink);
    border: none;
    border-radius: 50px;
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: background-color 0.2s ease;
}

.search-icon:hover {
    background-color: #d13f77;
}

.search-icon svg {
    color: #fff;
    width: 20px;
    height: 20px;
}

.trending-searches {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.trending-searches span {
    font-size: 14px;
    color: var(--dribbble-text-dark);
    font-weight: 500;
}

.trending-searches .tag {
    background-color: #f7f7f7;
    border: 1px solid var(--dribbble-border-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--dribbble-light-grey);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.trending-searches .tag:hover {
    background-color: #e8e8e8;
    border-color: #d1d1d1;
    color: var(--dribbble-purple);
}

/* Bottom Banner */
.bottom-banner {
    background-color: var(--dribbble-button-bg);
    color: var(--dribbble-button-text);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sparkle-icon {
    font-size: 24px;
    line-height: 1;
}

.banner-content p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.start-search-btn {
    background-color: #fff;
    color: var(--dribbble-button-bg);
    padding: 5px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.2s ease;
}

.start-search-btn:hover {
    background-color: #e0e0e0;
}

.close-banner-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-banner-btn:hover {
    color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .nav-links ul {
        gap: 20px;
    }

    .navbar-left {
        margin-right: 15px;
    }

    .logo {
        font-size: 24px;
    }

    .hero-section h1 {
        font-size: 50px;
    }

    .hero-section p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .navbar-left {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .nav-links {
        display: none; /* Hide navigation links for smaller screens, can be made into a hamburger menu */
    }

    .navbar-right {
        width: 100%;
        justify-content: flex-end;
        gap: 10px;
    }

    .sign-up-btn, .log-in-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .hero-section {
        padding: 80px 15px 60px;
    }

    .hero-section h1 {
        font-size: 40px;
    }

    .hero-section p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .search-input-wrapper {
        flex-direction: column;
        padding: 15px;
    }

    .search-input-wrapper input[type="text"],
    .search-input-wrapper select {
        width: 100%;
        margin-bottom: 10px;
    }

    .search-input-wrapper select {
        padding-right: 15px; /* Adjust padding for custom arrow in smaller screens */
    }

    .search-icon {
        width: 100%;
        margin-left: 0;
    }

    .trending-searches {
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .trending-searches span, .trending-searches .tag {
        font-size: 13px;
        padding: 6px 12px;
    }

    .bottom-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
        gap: 10px;
    }

    .banner-content {
        flex-direction: column;
        gap: 5px;
    }

    .sparkle-icon {
        font-size: 20px;
    }

    .banner-content p {
        font-size: 14px;
    }

    .start-search-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .close-banner-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 15px;
    }

    .trending-searches .tag {
        font-size: 12px;
        padding: 5px 10px;
    }

    .logo {
        font-size: 20px;
    }

    .log-in-btn, .sign-up-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}