﻿/* ==========================================
   Shandiz Tourism Page
   CSS کاملاً ایزوله
========================================== */

.sh-tourism-page {
    --tour-green: #12635e;
    --tour-green-dark: #0d4d49;
    --tour-gold: #d49a32;
    --tour-bg: #f4f6f7;
    --tour-text: #333;
    --tour-muted: #777;
    width: 100%;
    background: var(--tour-bg);
    color: var(--tour-text);
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
    line-height: 1.9;
}


/* Container */

.sh-tourism-container {
    width: 92%;
    max-width: 1250px;
    margin: 0 auto;
}


/* ==========================================
   Hero
========================================== */

.sh-tourism-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    background: linear-gradient( rgba(18, 99, 94, 0.88), rgba(13, 77, 73, 0.92) ), url("/images/tourism/shandiz-banner.jpg") center center / cover no-repeat;
    text-align: center;
    overflow: hidden;
}


    .sh-tourism-hero::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border: 1px solid rgba(255,255,255,0.18);
        border-radius: 50%;
        bottom: -90px;
        left: -60px;
    }


.sh-tourism-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}


.sh-tourism-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 15px;
}


    .sh-tourism-badge i {
        color: var(--tour-gold);
    }


.sh-tourism-hero h1 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 34px;
    font-weight: 800;
}


.sh-tourism-hero p {
    margin: 0 auto;
    max-width: 700px;
    color: rgba(255,255,255,.9);
    font-size: 17px;
}


/* ==========================================
   Section title
========================================== */

.sh-tourism-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}


    .sh-tourism-section-title span {
        display: block;
        width: 45px;
        height: 2px;
        background: var(--tour-gold);
    }


    .sh-tourism-section-title h2 {
        margin: 0;
        color: var(--tour-green);
        font-size: 25px;
        font-weight: 800;
    }


/* ==========================================
   Intro
========================================== */

.sh-tourism-intro {
    padding: 60px 0 35px;
    background: #fff;
}


    .sh-tourism-intro p {
        max-width: 1000px;
        margin: 0 auto 12px;
        color: #555;
        text-align: justify;
        font-size: 16px;
    }


/* ==========================================
   Places
========================================== */

.sh-tourism-places {
    padding: 55px 0 70px;
}


.sh-tourism-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}


/* ==========================================
   Card
========================================== */

.sh-tourism-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,.07);
    transition: transform .3s ease, box-shadow .3s ease;
}


    .sh-tourism-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 15px 35px rgba(0,0,0,.12);
    }


/* Image */

.sh-tourism-card-image {
    position: relative;
    height: 205px;
    overflow: hidden;
}


    .sh-tourism-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .5s ease;
    }


.sh-tourism-card:hover
.sh-tourism-card-image img {
    transform: scale(1.07);
}


/* Icon */

.sh-tourism-card-icon {
    position: absolute;
    right: 18px;
    bottom: -21px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tour-gold);
    color: #fff;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}


    .sh-tourism-card-icon i {
        font-size: 18px;
    }


/* Body */

.sh-tourism-card-body {
    padding: 30px 20px 22px;
}


    .sh-tourism-card-body h3 {
        margin: 0 0 10px;
        color: var(--tour-green);
        font-size: 19px;
        font-weight: 800;
    }


    .sh-tourism-card-body p {
        min-height: 82px;
        margin: 0 0 15px;
        color: var(--tour-muted);
        font-size: 14px;
        line-height: 2;
    }


/* More */

.sh-tourism-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tour-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .2s;
}


    .sh-tourism-more i {
        transition: transform .2s;
    }


    .sh-tourism-more:hover {
        color: var(--tour-gold);
    }


        .sh-tourism-more:hover i {
            transform: translateX(-5px);
        }


/* ==========================================
   Bottom
========================================== */

.sh-tourism-bottom {
    padding: 20px 0 70px;
}


.sh-tourism-bottom-box {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px 35px;
    background: linear-gradient( 135deg, var(--tour-green), var(--tour-green-dark) );
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(18,99,94,.18);
}


.sh-tourism-bottom-icon {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: var(--tour-gold);
    font-size: 27px;
}


.sh-tourism-bottom-box h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 22px;
}


.sh-tourism-bottom-box p {
    margin: 0;
    color: rgba(255,255,255,.85);
    font-size: 14px;
}


/* ==========================================
   Tablet
========================================== */

@media (max-width: 1100px) {

    .sh-tourism-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* ==========================================
   Mobile
========================================== */

@media (max-width: 800px) {

    .sh-tourism-hero {
        min-height: 280px;
        padding: 55px 20px;
    }


        .sh-tourism-hero h1 {
            font-size: 27px;
        }


        .sh-tourism-hero p {
            font-size: 15px;
        }


    .sh-tourism-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }


    .sh-tourism-card-image {
        height: 180px;
    }


    .sh-tourism-card-body {
        padding: 28px 15px 18px;
    }


        .sh-tourism-card-body h3 {
            font-size: 17px;
        }


        .sh-tourism-card-body p {
            font-size: 13px;
        }
}


/* ==========================================
   Small Mobile
========================================== */

@media (max-width: 520px) {

    .sh-tourism-container {
        width: 90%;
    }


    .sh-tourism-hero {
        min-height: 250px;
    }


        .sh-tourism-hero h1 {
            font-size: 23px;
        }


    .sh-tourism-section-title {
        gap: 8px;
    }


        .sh-tourism-section-title span {
            width: 25px;
        }


        .sh-tourism-section-title h2 {
            font-size: 20px;
            text-align: center;
        }


    .sh-tourism-grid {
        grid-template-columns: 1fr;
    }


    .sh-tourism-card-image {
        height: 210px;
    }


    .sh-tourism-card-body p {
        min-height: auto;
    }


    .sh-tourism-bottom-box {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
}
/* =========================
   Back To Top
========================= */

#sh-back-to-top {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #12635e;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .3s ease;
    box-shadow: 0 5px 18px rgba(0,0,0,.18);
}

    #sh-back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #sh-back-to-top:hover {
        background: #d49a32;
    }

    #sh-back-to-top i {
        line-height: 1;
    }