/* =========================================================
   SPILKOUR HOMEPAGE CSS
   Cleaned & Organized Version
   ========================================================= */


/* =========================================================
   1. RESET & GLOBAL
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0EA5E9;
    --primary-dark: #0284C7;

    --dark: #0F172A;
    --white: #FFFFFF;
    --gray: #64748B;

    --background: #F8FAFC;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--background);
    color: #111827;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   2. HERO
   ========================================================= */

.hero {
    position: relative;
    height: calc(100vh - 85px);

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
    text-align: center;
}

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .45);
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        rgba(15, 23, 42, .55),
        rgba(15, 23, 42, .55)
    );

    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 1000px;

    color: #fff;
}


/* Hero Tagline */

.tagline {
    display: inline-block;

    margin-top: 40px;
    margin-bottom: 20px;

    padding: 12px 28px;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 1px;

    color: #fff;

    border-radius: 50px;

    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);

    backdrop-filter: blur(12px);
}


/* Hero Heading */

.hero h1 {
    font-size: 72px;
    line-height: 1.1;

    margin-bottom: 25px;

    font-weight: 800;

    text-shadow: 0 5px 20px rgba(0, 0, 0, .35);
}


/* Hero Description */

.hero-description {
    max-width: 800px;

    margin: 0 auto 40px;

    font-size: 18px;
    line-height: 1.8;

    color: #E2E8F0;
}


/* =========================================================
   3. DESKTOP SEARCH
   ========================================================= */

.search-box {
    display: flex;

    width: 100%;
    max-width: 800px;

    margin: auto;

    background: #fff;

    border-radius: 60px;

    overflow: hidden;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .22);
}

.search-box input {
    flex: 1;

    border: none;
    outline: none;

    padding: 22px 30px;

    font-size: 17px;
}

.search-box button {
    border: none;

    padding: 22px 35px;

    background: var(--primary);
    color: #fff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition: .3s;
}

.search-box button:hover {
    background: var(--primary-dark);
}


/* Mobile search is hidden on desktop */

.mobile-search {
    display: none;
}


/* =========================================================
   4. SEARCH BUTTON / CLEAR BUTTON
   ========================================================= */

.search-btn {
    width: 90px;
    height: 70px;

    border: none;

    border-radius: 0 30px 30px 0;

    background: #2563eb;
    color: #fff;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}

.search-btn:hover {
    background: #1d4ed8;
}

.clear-btn {
    font-size: 28px;
    font-weight: 400;
}


/* =========================================================
   5. SCROLL DOWN
   ========================================================= */

.scroll-down {
    margin-top: 30px;

    color: #fff;
    opacity: .85;

    animation: float 2s infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }

    100% {
        transform: translateY(0);
    }
}


/* =========================================================
   6. INSTAGRAM FLOAT
   ========================================================= */

.instagram-float {
    position: fixed;

    bottom: 25px;
    right: 25px;

    width: 52px;
    height: 52px;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 28px;
    color: #fff;

    background: linear-gradient(
        45deg,
        #833AB4,
        #FD1D1D,
        #FCAF45
    );

    box-shadow: 0 5px 20px rgba(0, 0, 0, .25);

    z-index: 9999;

    transition: .3s;
}

.instagram-float:hover {
    transform: scale(1.08);
}


/* =========================================================
   7. TRENDING DESTINATIONS SECTION
   ========================================================= */

.section {
    width: 95%;
    max-width: 1500px;

    margin: 20px auto;

    padding: 0 15px;
}


/* Section Title */

.section-title {
    text-align: center;

    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 42px;

    font-weight: 800;

    color: #222;

    margin-bottom: 10px;
}

.section-title p {
    font-size: 17px;

    color: #666;

    max-width: 700px;

    margin: auto;
}


/* =========================================================
   8. TRENDING DESTINATION GRID
   ========================================================= */

/*
   Desktop:
   Auto-fit allows 4 cards when enough width is available.
*/

.trending-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 24px;
}


/* =========================================================
   9. DESTINATION CARD
   ========================================================= */

.destination-card {
    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    text-decoration: none;
    color: inherit;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);

    transition: .35s;
}

.destination-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 35px rgba(0, 0, 0, .15);
}


/* =========================================================
   10. DESTINATION CARD IMAGE
   ========================================================= */

.card-image {
    position: relative;

    width: 100%;
    height: 220px;

    overflow: hidden;

    background: #f5f5f5;
}

.card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s;
}

.destination-card:hover .card-image img {
    transform: scale(1.08);
}


/* =========================================================
   11. RATING BADGE
   ========================================================= */

.rating-badge {
    position: absolute;

    top: 12px;
    right: 12px;

    background: #16a34a;
    color: #fff;

    padding: 7px 12px;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 4px 12px rgba(22, 163, 74, .35);
}


/* =========================================================
   12. DESTINATION CARD CONTENT
   ========================================================= */

.card-content {
    padding: 18px;

    flex: 1;

    display: flex;
    flex-direction: column;
}


/* Destination Name */

.destination-name {
    font-size: 22px;
    font-weight: 700;

    color: #222;

    margin-bottom: 8px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Location */

.destination-location {
    font-size: 14px;

    color: #666;

    margin-bottom: 14px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Status */

.status-row {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 15px;
}

.status {
    font-size: 13px;
    font-weight: 600;
}

.status.open {
    color: #16a34a;
}

.status.closed {
    color: #ef4444;
}


/* Tag */

.tag {
    background: #eef4ff;
    color: #2563eb;

    padding: 5px 10px;

    border-radius: 25px;

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
}


/* About */

.about {
    color: #666;

    font-size: 14px;
    line-height: 1.6;

    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   13. INTEREST CHIPS
   ========================================================= */

.interest-container {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;
}

.interest {
    background: #fff;
    color: #222;

    padding: 14px 22px;

    border-radius: 30px;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .08);

    transition: .3s;
}

.interest:hover {
    background: #0EA5E9;
    color: #fff;
}


/* =========================================================
   14. PUBLIC CREATIVITY
   ========================================================= */

.public-art-section {
    width: 100%;
    max-width: 1200px;

    margin: 55px auto 50px;

    padding: 0 20px;

    box-sizing: border-box;
}


/* Heading */

.public-art-heading {
    text-align: center;

    margin-bottom: 28px;
}

.public-art-heading h2 {
    margin: 0 0 7px;

    font-size: 30px;
    font-weight: 700;
}

.public-art-heading p {
    margin: 0;

    font-size: 15px;

    color: #777;
}


/* =========================================================
   15. PUBLIC ART GRID
   ========================================================= */

.public-art-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    width: 100%;
}


/* =========================================================
   16. PUBLIC ART CARD
   ========================================================= */

.public-art-card {
    position: relative;

    display: block;

    width: 100%;

    border-radius: 16px;

    overflow: hidden;

    text-decoration: none;

    background: #eee;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, .12);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.public-art-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, .18);
}


/* =========================================================
   17. PUBLIC ART IMAGE
   ========================================================= */

.public-art-image {
    position: relative;

    width: 100%;
    height: 330px;

    overflow: hidden;
}

.public-art-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .4s ease;
}

.public-art-card:hover .public-art-image img {
    transform: scale(1.05);
}


/* Gradient */

.public-art-image::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 55%;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .82),
        rgba(0, 0, 0, 0)
    );

    pointer-events: none;
}


/* =========================================================
   18. PUBLIC ART TEXT
   ========================================================= */

.public-art-overlay {
    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 16px;

    z-index: 2;

    color: #fff;
}

.public-art-overlay h3 {
    margin: 0 0 5px;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.2;

    text-shadow:
        0 1px 4px rgba(0, 0, 0, .4);
}

.public-art-overlay p {
    margin: 0;

    font-size: 14px;

    color: rgba(255, 255, 255, .9);
}


/* =========================================================
   19. PUBLIC ART MAIN UPLOAD BUTTON
   ========================================================= */

.public-art-upload {
    text-align: center;

    margin-top: 28px;
}

.public-art-upload-btn {
    display: inline-block;

    padding: 13px 28px;

    border-radius: 9px;

    background: #1748d1;
    color: #fff;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition: all .25s ease;
}

.public-art-upload-btn:hover {
    background: #0d35a5;

    transform: translateY(-2px);
}


/* =========================================================
   20. PUBLIC ART EMPTY STATE
   ========================================================= */

.public-art-empty {
    grid-column: 1 / -1;

    width: 100%;

    display: flex;

    justify-content: center;
    align-items: center;
}


/* Empty Creative Card */

.creativity-empty-card {
    width: 100%;
    max-width: 900px;

    min-height: 300px;

    padding: 45px 30px;

    box-sizing: border-box;

    border-radius: 20px;

    text-align: center;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f5f8ff,
            #ffffff,
            #fff5f5
        );

    border:
        1px solid rgba(23, 72, 209, .10);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .08);
}


/* Decorative Circle 1 */

.creativity-empty-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background:
        rgba(23, 72, 209, .08);

    top: -80px;
    left: -60px;

    animation:
        creativityFloat 5s ease-in-out infinite;
}


/* Decorative Circle 2 */

.creativity-empty-card::after {
    content: "";

    position: absolute;

    width: 140px;
    height: 140px;

    border-radius: 50%;

    background:
        rgba(220, 40, 50, .07);

    bottom: -70px;
    right: -40px;

    animation:
        creativityFloat 6s ease-in-out infinite reverse;
}


/* =========================================================
   21. CREATIVITY LOGO
   ========================================================= */

.creativity-logo {
    position: relative;

    z-index: 2;

    margin-bottom: 15px;
}

.creativity-logo img {
    width: 65px;
    height: 65px;

    object-fit: contain;

    animation:
        logoFloat 3s ease-in-out infinite;
}


/* =========================================================
   22. EMPTY MESSAGE
   ========================================================= */

.creativity-message {
    position: relative;

    z-index: 2;
}

.creativity-message h3 {
    margin: 0 0 12px;

    font-size: 25px;
    font-weight: 700;

    color: #222;
}


/* Typing Text */

.typing-text {
    min-height: 25px;

    margin: 0 auto 25px;

    font-size: 16px;

    color: #666;

    line-height: 1.6;
}


/* Typing Cursor */

.typing-text::after {
    content: "|";

    margin-left: 2px;

    color: #1748d1;

    font-weight: 600;

    animation:
        blinkCursor .7s infinite;
}


/* Empty Upload Button */

.empty-upload-btn {
    position: relative;

    z-index: 2;

    display: inline-block;

    padding: 13px 26px;

    border-radius: 9px;

    background: #1748d1;
    color: #fff;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    box-shadow:
        0 5px 15px rgba(23, 72, 209, .20);

    transition: all .25s ease;
}

.empty-upload-btn:hover {
    transform: translateY(-3px);

    background: #0d35a5;

    box-shadow:
        0 8px 20px rgba(23, 72, 209, .28);
}


/* =========================================================
   23. PUBLIC ART ANIMATIONS
   ========================================================= */

@keyframes creativityFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes logoFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {
        transform:
            translateY(-5px)
            rotate(2deg);
    }
}

@keyframes blinkCursor {

    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0;
    }
}


/* =========================================================
   24. MOBILE — MAX 768px
   ========================================================= */

@media (max-width: 768px) {


    /* -----------------------------------------------------
       Hero
       ----------------------------------------------------- */

    .hero {
        height: 220px;
    }

    .hero-content {
        width: 94%;
    }

    .tagline {
        margin-top: 10px;

        padding: 7px 16px;

        font-size: 8px;
    }

    .hero h1 {
        font-size: 26px;

        margin-bottom: 8px;
    }

    .hero-description {
        display: none;
    }


    /* -----------------------------------------------------
       Desktop Search Hidden
       ----------------------------------------------------- */

    .hero .search-box {
        display: none;
    }


    /* -----------------------------------------------------
       Mobile Search
       ----------------------------------------------------- */

    .mobile-search {
        display: block;

        background: #fff;

        padding: 15px;
    }

    .mobile-search .search-box {
        display: flex;

        width: 100%;
        max-width: 100%;
    }

    .mobile-search input {
        padding: 13px;

        font-size: 13px;
    }

    .mobile-search button {
        padding: 13px 16px;

        font-size: 12px;
    }


    /* -----------------------------------------------------
       Main Sections
       ----------------------------------------------------- */

    .section {
        width: 100%;

        padding: 0 12px;
    }

    .section-title {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 25px;

        white-space: normal;
    }

    .section-title p {
        font-size: 13px;

        margin-left: 5px;
    }


    /* -----------------------------------------------------
       Trending Destination Cards
       ----------------------------------------------------- */

    .trending-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    .destination-card {
        border-radius: 14px;
    }

    .card-image {
        height: 140px;
    }

    .rating-badge {
        top: 8px;
        right: 8px;

        padding: 4px 8px;

        font-size: 10px;
    }

    .card-content {
        padding: 10px;
    }

    .destination-name {
        font-size: 15px;
    }

    .destination-location {
        font-size: 12px;

        margin-bottom: 8px;
    }

    .status {
        font-size: 11px;
    }

    .tag {
        font-size: 10px;

        padding: 3px 7px;
    }

    .about {
        font-size: 12px;

        line-height: 1.45;

        -webkit-line-clamp: 2;
    }


    /* -----------------------------------------------------
       Features
       ----------------------------------------------------- */

    .features {
        grid-template-columns: 1fr;
    }


    /* -----------------------------------------------------
       Instagram
       ----------------------------------------------------- */

    .instagram-float {
        width: 45px;
        height: 45px;

        font-size: 24px;

        right: 15px;
        bottom: 15px;
    }



/* =========================================================
   25. SMALL MOBILE — MAX 480px
   ========================================================= */

@media (max-width: 480px) {


    /* Trending */

    .trending-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }

    .card-image {
        height: 120px;
    }

    .destination-name {
        font-size: 14px;
    }

    .destination-location {
        font-size: 11px;
    }

    .about {
        font-size: 11px;
    }


    /* Hero */

    .hero {
        height: 200px;
    }

    .hero h1 {
        font-size: 21px;
    }


    /* Brand */

    .brand {
        font-size: 22px;
    }


    /* Logo */

    .logo img {
        width: 38px;
    }


   

}



@media (min-width:769px) and (max-width:1199px) {
    
.trending-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

    .hero {
        height: 500px;
    }
    
    .movie-card {
        width: 250px;
    }
    
    .card-image {
        height: 300px;
    }
}
    
    
    
