﻿/* ==========================================================
   SLIDESHOW / PHOTO GALLERY PAGE
========================================================== */


/* ==========================================================
   MAIN SECTION
========================================================== */

.slideshow-section {

    padding: 90px 0 100px;

    background:
        linear-gradient(
            135deg,
            #f5f9fc 0%,
            #fffdf3 100%
        );
}


/* ==========================================================
   INTRO
========================================================== */

.slideshow-intro {

    max-width: 800px;

    margin: 0 auto 50px;

    text-align: center;
}


/* ==========================================================
   LABEL
========================================================== */

.slideshow-label {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;

    margin-bottom: 14px;
}


.slideshow-label span {

    width: 32px;

    height: 3px;

    background: var(--yellow);

    border-radius: 5px;
}


/* ==========================================================
   HEADING
========================================================== */

.slideshow-intro h2 {

    color: var(--primary-dark);

    font-family: "Playfair Display", serif;

    font-size: clamp(40px, 4vw, 54px);

    line-height: 1.15;

    font-weight: 800;

    margin-bottom: 17px;
}


.slideshow-intro h2 span {

    color: var(--primary);

    display: inline-block;
}


/* ==========================================================
   INTRO TEXT
========================================================== */

.slideshow-intro p {

    color: #667586;

    font-size: 16px;

    line-height: 1.8;

    max-width: 720px;

    margin: 0 auto;
}


/* ==========================================================
   MAIN CARD
========================================================== */

.slideshow-card {

    background: #ffffff;

    border-radius: 10px;

    border: 1px solid #e2e9ef;

    box-shadow:
        0 12px 40px rgba(20,45,80,.08);

    overflow: hidden;
}


/* ==========================================================
   CARD HEADER
========================================================== */

.slideshow-card-header {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 25px 30px;

    background:
        linear-gradient(
            135deg,
            #092f61,
            #164f92
        );

    color: #ffffff;
}


/* ==========================================================
   HEADER ICON
========================================================== */

.slideshow-heading-icon {

    width: 58px;

    height: 58px;

    min-width: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background: var(--yellow);

    color: var(--dark);

    font-size: 24px;
}


/* ==========================================================
   HEADER TEXT
========================================================== */

.slideshow-small-title {

    color: var(--yellow);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.7px;

    margin-bottom: 4px;
}


.slideshow-card-header h3 {

    margin: 0;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 25px;

    font-weight: 700;

    line-height: 1.25;
}


/* ==========================================================
   GRID WRAPPER
========================================================== */

.slideshow-grid-wrapper {

    padding: 18px;
}


/* ==========================================================
   DATALIST
========================================================== */

.slideshow-datalist {

    width: 100% !important;

    border-collapse: separate !important;

    border-spacing: 12px !important;
}


.slideshow-datalist > tbody > tr > td {

    border: none !important;

    padding: 0 !important;

    vertical-align: top;
}


/* ==========================================================
   PHOTO CARD
========================================================== */

.slideshow-photo-card {

    background: #ffffff;

    border: 1px solid #e0e7ed;

    border-radius: 8px;

    overflow: hidden;

    box-shadow:
        0 5px 20px rgba(20,45,80,.05);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.slideshow-photo-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 14px 32px rgba(20,45,80,.12);
}


/* ==========================================================
   PHOTO LINK
========================================================== */

.slideshow-photo-link {

    display: block;

    position: relative;

    width: 100%;

    height: 260px;

    overflow: hidden;

    background: #e9eef3;

    text-decoration: none;
}


/* ==========================================================
   PHOTO
========================================================== */

.slideshow-photo {

    width: 100% !important;

    height: 100% !important;

    object-fit: cover;

    display: block;

    transition:
        transform .5s ease;
}


.slideshow-photo-card:hover .slideshow-photo {

    transform: scale(1.06);
}


/* ==========================================================
   OVERLAY
========================================================== */

.slideshow-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background:
        rgba(9,47,97,.72);

    color: #ffffff;

    opacity: 0;

    transition: opacity .3s ease;
}


.slideshow-photo-card:hover .slideshow-overlay {

    opacity: 1;
}


/* ==========================================================
   ZOOM ICON
========================================================== */

.slideshow-zoom {

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--yellow);

    color: var(--dark);

    font-size: 21px;

    transform: scale(.8);

    transition: transform .3s ease;
}


.slideshow-photo-card:hover .slideshow-zoom {

    transform: scale(1);
}


.slideshow-overlay span {

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.4px;
}


/* ==========================================================
   PHOTO CAPTION
========================================================== */

.slideshow-photo-caption {

    display: flex;

    align-items: center;

    gap: 9px;

    min-height: 55px;

    padding: 12px 15px;

    border-top: 1px solid #e7edf2;

    background: #ffffff;

    color: #657384;

    font-size: 12px;

    line-height: 1.45;
}


.slideshow-photo-caption i {

    color: var(--primary);

    font-size: 14px;

    flex-shrink: 0;
}


.slideshow-photo-caption span {

    display: block;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* ==========================================================
   ERROR
========================================================== */

.slideshow-error {

    padding: 0 30px 20px;

    color: #dc3545;

    font-size: 13px;
}


.slideshow-error:empty {

    display: none;
}


/* ==========================================================
   BACK BUTTON
========================================================== */

.slideshow-back {

    display: flex;

    justify-content: center;

    margin-top: 30px;
}


.slideshow-back-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 21px;

    background: var(--primary);

    color: #ffffff;

    text-decoration: none;

    border-radius: 4px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .8px;

    transition:
        background .25s ease,
        transform .25s ease;
}


.slideshow-back-button:hover {

    background: var(--yellow);

    color: var(--dark);

    transform: translateY(-2px);
}


.slideshow-back-button i {

    font-size: 14px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) {

    .slideshow-section {

        padding: 75px 0 80px;
    }


    .slideshow-photo-link {

        height: 220px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .slideshow-section {

        padding: 60px 0 65px;
    }


    .slideshow-intro {

        margin-bottom: 35px;
    }


    .slideshow-intro h2 {

        font-size: 36px;
    }


    .slideshow-intro p {

        font-size: 15px;
    }


    .slideshow-card-header {

        padding: 20px;

        gap: 13px;
    }


    .slideshow-heading-icon {

        width: 50px;

        height: 50px;

        min-width: 50px;

        font-size: 20px;
    }


    .slideshow-card-header h3 {

        font-size: 21px;
    }


    .slideshow-small-title {

        font-size: 9px;
    }


    .slideshow-grid-wrapper {

        padding: 12px;
    }


    .slideshow-datalist {

        border-spacing: 0 !important;
    }


    .slideshow-datalist > tbody > tr > td {

        display: block;

        width: 100% !important;

        padding: 8px !important;
    }


    .slideshow-photo-link {

        height: 280px;
    }


    .slideshow-photo-caption {

        min-height: 50px;

        font-size: 12px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .slideshow-intro h2 {

        font-size: 32px;
    }


    .slideshow-card-header {

        align-items: flex-start;
    }


    .slideshow-heading-icon {

        width: 44px;

        height: 44px;

        min-width: 44px;
    }


    .slideshow-card-header h3 {

        font-size: 19px;
    }


    .slideshow-photo-link {

        height: 235px;
    }

}