/* ============================================================
   INDIVIDUAL ATTRACTION PAGE
   RESPONSIVE CARD
============================================================ */


/* ============================================================
   DISTRICT SECTION
============================================================ */

.district-section {

    padding:
        60px 0;

    background:
        #f8fafc;

}


/* ============================================================
   INDIVIDUAL ATTRACTION CARD
============================================================ */

.district-section .attraction-card {

    display:
        grid;

    grid-template-columns:
        minmax(320px, 0.9fr) minmax(0, 1.1fr);

    gap:
        40px;

    width:
        100%;

    max-width:
        1100px;

    margin:
        0 auto;

    padding:
        30px;

    background:
        #ffffff;

    border-radius:
        22px;

    box-shadow:
        0 10px 35px rgba(0,
            0,
            0,
            0.08);

    overflow:
        hidden;

    box-sizing:
        border-box;

}


/* ============================================================
   MAIN IMAGE
============================================================ */

.district-section .attraction-image {

    width:
        100%;

    height:
        420px;

    overflow:
        hidden;

    border-radius:
        16px;

    background:
        #e5e7eb;

}


.district-section .attraction-image img {

    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

}


/* ============================================================
   CONTENT
============================================================ */

.district-section .attraction-content {

    display:
        flex;

    flex-direction:
        column;

    min-width:
        0;

}


/* ============================================================
   FEATURED / SPONSORED
============================================================ */

.district-section .attraction-content .featured {

    display:
        inline-flex;

    align-items:
        center;

    width:
        fit-content;

    margin-bottom:
        10px;

    padding:
        6px 12px;

    border-radius:
        999px;

    background:
        #fff7ed;

    color:
        #c2410c;

    font-size:
        0.78rem;

    font-weight:
        700;

}


/* ============================================================
   CATEGORY
============================================================ */

.district-section .attraction-category {

    display:
        block;

    margin-bottom:
        8px;

    color:
        #64748b;

    font-size:
        0.85rem;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;

}


/* ============================================================
   TITLE
============================================================ */

.district-section .attraction-content h2 {

    margin:
        0 0 16px;

    color:
        #0f172a;

    font-size:
        clamp(1.8rem,
            3vw,
            2.6rem);

    line-height:
        1.2;

}


/* ============================================================
   DESCRIPTION
============================================================ */

.district-section .attraction-content>p {

    margin:
        0 0 24px;

    color:
        #475569;

    font-size:
        1rem;

    line-height:
        1.8;

}


/* ============================================================
   META INFORMATION
============================================================ */

.district-section .province-card-meta {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        10px;

    margin-bottom:
        25px;

}


.district-section .province-card-meta span {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        5px;

    padding:
        8px 12px;

    border:
        1px solid #e2e8f0;

    border-radius:
        10px;

    background:
        #f8fafc;

    color:
        #475569;

    font-size:
        0.85rem;

    line-height:
        1.4;

}


/* ============================================================
   GALLERY
============================================================ */

.district-section .attraction-content .attraction-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3,
            minmax(0, 1fr));

    gap:
        12px;

    margin:
        5px 0 28px;

}


.district-section .attraction-content .attraction-grid img {

    display:
        block;

    width:
        100%;

    height:
        120px;

    object-fit:
        cover;

    border-radius:
        12px;

    background:
        #e5e7eb;

}


/* ============================================================
   ACTION BUTTONS
============================================================ */

.district-section .attraction-actions {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px;

    margin-top:
        auto;

}


/* ============================================================
   COMMON ACTION BUTTON
============================================================ */

.district-section .attraction-action {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        46px;

    padding:
        11px 18px;

    border-radius:
        10px;

    text-decoration:
        none;

    font-size:
        0.92rem;

    font-weight:
        700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

    box-sizing:
        border-box;

}


.district-section .attraction-action:hover {

    transform:
        translateY(-2px);

}


/* ============================================================
   ADD TO MY TRIP
============================================================ */

.district-section .trip-button {

    background:
        #0f766e;

    color:
        #ffffff;

}


.district-section .trip-button:hover {

    box-shadow:
        0 8px 20px rgba(15,
            118,
            110,
            0.22);

}


/* ============================================================
   BACK TO PROVINCE
============================================================ */

.district-section .map-button {

    background:
        #f1f5f9;

    color:
        #334155;

    border:
        1px solid #e2e8f0;

}


.district-section .map-button:hover {

    background:
        #e2e8f0;

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

    .district-section {

        padding:
            45px 0;

    }


    .district-section .attraction-card {

        grid-template-columns:
            1fr;

        max-width:
            720px;

        gap:
            28px;

        padding:
            24px;

    }


    .district-section .attraction-image {

        height:
            360px;

    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    .district-section {

        padding:
            25px 0;

    }


    .district-section .section-container {

        width:
            100%;

        padding-left:
            14px;

        padding-right:
            14px;

        box-sizing:
            border-box;

    }


    .district-section .attraction-card {

        display:
            flex;

        flex-direction:
            column;

        gap:
            20px;

        padding:
            15px;

        border-radius:
            16px;

        box-shadow:
            0 6px 22px rgba(0,
                0,
                0,
                0.07);

    }


    .district-section .attraction-image {

        height:
            230px;

        border-radius:
            12px;

    }


    .district-section .attraction-content h2 {

        margin-bottom:
            12px;

        font-size:
            1.55rem;

    }


    .district-section .attraction-content>p {

        margin-bottom:
            18px;

        font-size:
            0.94rem;

        line-height:
            1.7;

    }


    .district-section .province-card-meta {

        display:
            grid;

        grid-template-columns:
            1fr;

        gap:
            8px;

        margin-bottom:
            20px;

    }


    .district-section .province-card-meta span {

        width:
            100%;

        box-sizing:
            border-box;

    }


    /* --------------------------------------------------------
       MOBILE GALLERY
    -------------------------------------------------------- */

    .district-section .attraction-content .attraction-grid {

        grid-template-columns:
            repeat(2,
                minmax(0, 1fr));

        gap:
            8px;

        margin-bottom:
            22px;

    }


    .district-section .attraction-content .attraction-grid img {

        height:
            100px;

        border-radius:
            9px;

    }


    /* --------------------------------------------------------
       MOBILE BUTTONS
    -------------------------------------------------------- */

    .district-section .attraction-actions {

        flex-direction:
            column;

        width:
            100%;

        gap:
            9px;

    }


    .district-section .attraction-action {

        width:
            100%;

        min-height:
            46px;

    }

}


/* ============================================================
   SMALL PHONES
============================================================ */

@media (max-width: 380px) {

    .district-section .attraction-card {

        padding:
            12px;

    }


    .district-section .attraction-image {

        height:
            200px;

    }


    .district-section .attraction-content h2 {

        font-size:
            1.4rem;

    }


    .district-section .attraction-content .attraction-grid img {

        height:
            85px;

    }

}

/* ============================================================
   PROVINCE DETAIL HERO
   Individual Attraction Page
============================================================ */

.province-detail-hero {

    position: relative;

    width: 100%;

    min-height: 320px;

    padding:
        70px 24px 60px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    align-items:
        center;

    text-align:
        center;

    overflow:
        hidden;

    background:
        linear-gradient(135deg,
            #0f172a 0%,
            #164e63 50%,
            #0f766e 100%);

}


/* ============================================================
   HERO BACK BUTTON
============================================================ */

.province-detail-hero .back-button {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        6px;

    margin-bottom:
        25px;

    padding:
        10px 18px;

    border:
        1px solid rgba(255, 255, 255, 0.35);

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, 0.10);

    color:
        #ffffff;

    text-decoration:
        none;

    font-size:
        14px;

    font-weight:
        600;

    line-height:
        1;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;

}


/* ============================================================
   BACK BUTTON HOVER
============================================================ */

.province-detail-hero .back-button:hover {

    background:
        rgba(255, 255, 255, 0.18);

    border-color:
        rgba(255, 255, 255, 0.60);

    transform:
        translateY(-2px);

}


/* ============================================================
   ATTRACTION TITLE
============================================================ */

.province-detail-hero h1 {

    width:
        100%;

    max-width:
        900px;

    margin:
        0;

    color:
        #ffffff;

    font-size:
        clamp(32px,
            5vw,
            58px);

    font-weight:
        800;

    line-height:
        1.1;

    letter-spacing:
        -0.02em;

    text-shadow:
        0 3px 15px rgba(0, 0, 0, 0.25);

}


/* ============================================================
   SINHALA NAME
============================================================ */

.province-detail-hero p {

    margin:
        14px 0 0;

    color:
        rgba(255, 255, 255, 0.88);

    font-size:
        clamp(17px,
            2.5vw,
            23px);

    font-weight:
        500;

    line-height:
        1.5;

}


/* ============================================================
   OPTIONAL DECORATIVE LINE
============================================================ */

.province-detail-hero::after {

    content:
        "";

    position:
        absolute;

    bottom:
        0;

    left:
        50%;

    width:
        90px;

    height:
        4px;

    transform:
        translateX(-50%);

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, 0.85);

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 768px) {

    .province-detail-hero {

        min-height:
            280px;

        padding:
            55px 20px 50px;

    }


    .province-detail-hero .back-button {

        margin-bottom:
            20px;

        padding:
            9px 16px;

        font-size:
            13px;

    }


    .province-detail-hero h1 {

        font-size:
            clamp(30px,
                8vw,
                44px);

    }


    .province-detail-hero p {

        margin-top:
            10px;

        font-size:
            18px;

    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 480px) {

    .province-detail-hero {

        min-height:
            245px;

        padding:
            45px 16px 42px;

    }


    .province-detail-hero .back-button {

        margin-bottom:
            18px;

        padding:
            9px 14px;

        font-size:
            12px;

    }


    .province-detail-hero h1 {

        font-size:
            30px;

        line-height:
            1.15;

    }


    .province-detail-hero p {

        margin-top:
            9px;

        font-size:
            16px;

    }


    .province-detail-hero::after {

        width:
            65px;

        height:
            3px;

    }

}