/* =========================================================
   TT STUDIO
   PACKAGE DETAIL PAGE
   File: /public/css/package-detail.css

   Namespace:
   .tt-package-page

   Mục đích:
   Không làm ảnh hưởng CSS của Header / Footer / Website
========================================================= */


/* =========================================================
   BASE
========================================================= */

.tt-package-page {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #fff;
    color: #222;

    box-sizing: border-box;
}

.tt-package-page *,
.tt-package-page *::before,
.tt-package-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.tt-package-page .package-container {
    width: 100%;
    max-width: 1180px;

    margin: 30px auto;

    padding: 25px 20px 90px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.tt-package-page .package-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px;

    margin-bottom: 28px;

    font-size: 13px;
    line-height: 1.6;

    color: #999;
}

.tt-package-page .package-breadcrumb a {
    color: #777;

    text-decoration: none;

    transition: color .2s ease;
}

.tt-package-page .package-breadcrumb a:hover {
    color: #111;
}

.tt-package-page .package-breadcrumb .current {
    color: #222;
}


/* =========================================================
   HERO
========================================================= */

.tt-package-page .package-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, .85fr);

    min-height: 520px;

    overflow: hidden;

    margin-bottom: 55px;

    border-radius: 16px;

    background: #f6f5f2;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.tt-package-page .package-hero-image {
    position: relative;

    min-height: 520px;

    overflow: hidden;

    background: #eee;
}

.tt-package-page .package-hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .6s ease;
}

.tt-package-page .package-hero:hover
.package-hero-image img {
    transform: scale(1.025);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.tt-package-page .package-hero-image::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 35%;

    background: linear-gradient(
        to top,
        rgba(0,0,0,.28),
        transparent
    );

    pointer-events: none;
}


/* =========================================================
   NO IMAGE
========================================================= */

.tt-package-page .package-hero-no-image {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    min-height: 520px;

    background:
        linear-gradient(
            135deg,
            #eeeeeb,
            #f8f8f6
        );

    color: #999;

    font-size: 13px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.tt-package-page .package-hero-content {
    display: flex;

    flex-direction: column;
    justify-content: center;

    padding: 55px 50px;
}


/* =========================================================
   SERVICE
========================================================= */

.tt-package-page .package-service {
    display: inline-flex;

    align-items: center;

    width: fit-content;

    margin-bottom: 18px;

    padding: 7px 12px;

    border: 1px solid #ddd;

    border-radius: 30px;

    background: rgba(255,255,255,.65);

    color: #777;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


/* =========================================================
   TITLE
========================================================= */

.tt-package-page .package-hero h1 {
    margin: 0 0 18px;

    font-size: 40px;

    line-height: 1.25;

    font-weight: 600;

    letter-spacing: -.5px;

    color: #202020;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.tt-package-page .package-description {
    margin: 0 0 28px;

    font-size: 16px;

    line-height: 1.8;

    color: #666;
}


/* =========================================================
   PRICE
========================================================= */

.tt-package-page .package-hero-price {
    margin-bottom: 25px;

    padding-top: 22px;

    border-top: 1px solid #ddd;
}

.tt-package-page .package-price-label {
    display: block;

    margin-bottom: 6px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    color: #888;
}

.tt-package-page .package-price {
    margin: 0;

    font-size: 34px;

    line-height: 1.2;

    font-weight: 600;

    color: #222;
}

.tt-package-page .package-note {
    margin: 8px 0 0;

    font-size: 13px;

    line-height: 1.6;

    color: #777;
}


/* =========================================================
   CTA
========================================================= */

.tt-package-page .package-hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.tt-package-page .package-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 24px;

    border-radius: 5px;

    background: #f6971d;

    color: #fff;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s ease;
}

.tt-package-page .package-button:hover {
    background: #444;

    color: #fff;

    text-decoration: none;

    transform: translateY(-1px);
}

.tt-package-page .package-button-secondary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border: 1px solid #ddd;

    border-radius: 5px;

    background: #fff;

    color: #444;

    font-size: 13px;

    font-weight: 500;

    text-decoration: none;

    transition: all .2s ease;
}

.tt-package-page .package-button-secondary:hover {
    border-color: #222;

    color: #222;

    text-decoration: none;
}


/* =========================================================
   NAVIGATION
========================================================= */

.tt-package-page .package-navigation {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 20px;

    padding-bottom: 20px;

    border-bottom: 1px solid #eee;
}

.tt-package-page .package-navigation a {
    display: inline-flex;

    align-items: center;

    min-height: 38px;

    padding: 0 15px;

    border: 1px solid #e5e5e5;

    border-radius: 4px;

    background: #fff;

    color: #666;

    font-size: 12px;

    text-decoration: none;

    transition: all .2s ease;
}

.tt-package-page .package-navigation a:hover {
    border-color: #222;

    color: #222;
}


/* =========================================================
   LAYOUT
========================================================= */

.tt-package-page .package-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    gap: 70px;

    align-items: start;
}


/* =========================================================
   CONTENT
========================================================= */

.tt-package-page .package-content {
    min-width: 0;
}

.tt-package-page .package-section {
    margin-bottom: 55px;
}

.tt-package-page .package-section-header {
    margin-bottom: 22px;

    padding-bottom: 14px;

    border-bottom: 1px solid #eee;
}

.tt-package-page .package-section-header span {
    display: block;

    margin-bottom: 7px;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.5px;

    color: #999;

    text-transform: uppercase;
}

.tt-package-page .package-section-header h2 {
    margin: 0;

    font-size: 25px;

    line-height: 1.35;

    font-weight: 600;

    color: #222;
}


/* =========================================================
   CONTENT BODY
========================================================= */

.tt-package-page .package-content-body {
    font-size: 16px;

    line-height: 1.85;

    color: #444;
}

.tt-package-page .package-content-body p {
    margin-top: 0;

    margin-bottom: 18px;
}

.tt-package-page .package-content-body ul,
.tt-package-page .package-content-body ol {
    margin: 0 0 22px;

    padding-left: 24px;
}

.tt-package-page .package-content-body li {
    margin-bottom: 9px;
}

.tt-package-page .package-content-body img {
    display: block;

    max-width: 100%;

    height: auto;

    margin: 28px auto;

    border-radius: 8px;
}

.tt-package-page .package-content-body h2,
.tt-package-page .package-content-body h3,
.tt-package-page .package-content-body h4 {
    color: #222;
}

.tt-package-page .package-content-body h2 {
    margin-top: 35px;
}

.tt-package-page .package-content-body h3 {
    margin-top: 28px;
}


/* =========================================================
   SIDEBAR
========================================================= */

.tt-package-page .package-sidebar {
    position: sticky;

    top: 25px;
}


/* =========================================================
   PRICE CARD
========================================================= */

.tt-package-page .package-price-card {
    overflow: hidden;

    border: 1px solid #e5e5e5;

    border-radius: 10px;

    background: #fff;

    box-shadow:
        0 10px 35px rgba(0,0,0,.055);
}

.tt-package-page .package-price-card-header {
    padding: 25px 25px 20px;

    background: #fafafa;

    border-bottom: 1px solid #eee;
}

.tt-package-page .package-price-card-label {
    display: block;

    margin-bottom: 8px;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.4px;

    color: #999;

    text-transform: uppercase;
}

.tt-package-page .package-price-card-price {
    margin: 0;

    font-size: 30px;

    line-height: 1.2;

    font-weight: 600;

    color: #222;
}

.tt-package-page .package-price-card-body {
    padding: 22px 25px 25px;
}


/* =========================================================
   INFO
========================================================= */

.tt-package-page .package-info {
    margin-bottom: 22px;
}

.tt-package-page .package-info-row {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 11px 0;

    border-bottom: 1px solid #eee;

    font-size: 13px;
}

.tt-package-page .package-info-row:last-child {
    border-bottom: 0;
}

.tt-package-page .package-info-label {
    color: #999;
}

.tt-package-page .package-info-value {
    color: #333;

    text-align: right;
}


/* =========================================================
   SIDEBAR BUTTON
========================================================= */

.tt-package-page .package-sidebar-button {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 48px;

    padding: 0 15px;

    border-radius: 5px;

    background: #f6971d;

    color: #fff;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition: background .2s ease;
}

.tt-package-page .package-sidebar-button:hover {
    background: #444;

    color: #fff;

    text-decoration: none;
}


/* =========================================================
   ALBUM
========================================================= */

.tt-package-page .package-albums {
    margin: 70px 0 0;

    padding-top: 45px;

    border-top: 1px solid #eee;
}

.tt-package-page .package-albums-header {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 25px;
}

.tt-package-page .package-section-label {
    display: block;

    margin-bottom: 7px;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.5px;

    color: #999;
}

.tt-package-page .package-albums-header h2 {
    margin: 0 0 8px;

    font-size: 26px;

    line-height: 1.3;

    font-weight: 600;

    color: #222;
}

.tt-package-page .package-albums-header p {
    margin: 0;

    color: #777;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   ALBUM GRID
========================================================= */

.tt-package-page .package-albums-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.tt-package-page .package-album-item {
    display: block;

    overflow: hidden;

    background: #fff;

    color: #222;

    text-decoration: none;

    border: 1px solid #eee;

    border-radius: 8px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.tt-package-page .package-album-item:hover {
    color: #222;

    text-decoration: none;

    transform: translateY(-3px);

    border-color: #ddd;

    box-shadow:
        0 10px 28px rgba(0,0,0,.08);
}

.tt-package-page .package-album-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #f4f4f4;
}

.tt-package-page .package-album-image img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}

.tt-package-page .package-album-item:hover
.package-album-image img {
    transform: scale(1.045);
}

.tt-package-page .package-album-info {
    padding: 14px 15px 16px;
}

.tt-package-page .package-album-info h3 {
    margin: 0 0 7px;

    font-size: 15px;

    line-height: 1.4;

    font-weight: 600;

    color: #222;
}

.tt-package-page .package-album-info span {
    font-size: 12px;

    color: #888;

    transition: color .2s ease;
}

.tt-package-page .package-album-item:hover
.package-album-info span {
    color: #222;
}


/* =========================================================
   BOTTOM NAV
========================================================= */

.tt-package-page .package-bottom-nav {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 70px;

    padding-top: 30px;

    border-top: 1px solid #eee;
}

.tt-package-page .package-bottom-link {
    display: block;

    padding: 20px;

    border: 1px solid #e5e5e5;

    border-radius: 6px;

    color: #333;

    text-decoration: none;

    transition: all .2s ease;
}

.tt-package-page .package-bottom-link:hover {
    border-color: #222;

    color: #222;

    text-decoration: none;
}

.tt-package-page .package-bottom-label {
    display: block;

    margin-bottom: 6px;

    font-size: 10px;

    color: #999;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.tt-package-page .package-bottom-title {
    font-size: 15px;

    font-weight: 600;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .tt-package-page .package-hero {
        grid-template-columns: 1fr 1fr;
    }

    .tt-package-page .package-hero-content {
        padding: 40px 35px;
    }

    .tt-package-page .package-hero h1 {
        font-size: 34px;
    }

    .tt-package-page .package-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .tt-package-page .package-sidebar {
        position: static;

        width: 100%;

        max-width: 500px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .tt-package-page .package-container {
        padding: 18px 15px 60px;
    }

    .tt-package-page .package-breadcrumb {
        margin-bottom: 20px;

        font-size: 12px;
    }

    .tt-package-page .package-hero {
        display: block;

        margin-bottom: 35px;

        border-radius: 10px;
    }

    .tt-package-page .package-hero-image,
    .tt-package-page .package-hero-no-image {
        min-height: 330px;

        height: 330px;
    }

    .tt-package-page .package-hero-content {
        padding: 30px 22px 32px;
    }

    .tt-package-page .package-service {
        margin-bottom: 14px;
    }

    .tt-package-page .package-hero h1 {
        margin-bottom: 15px;

        font-size: 28px;
    }

    .tt-package-page .package-description {
        margin-bottom: 22px;

        font-size: 15px;

        line-height: 1.75;
    }

    .tt-package-page .package-price {
        font-size: 30px;
    }

    .tt-package-page .package-hero-actions {
        display: grid;

        grid-template-columns: 1fr;
    }

    .tt-package-page .package-button,
    .tt-package-page .package-button-secondary {
        width: 100%;
    }

    .tt-package-page .package-navigation {
        margin-bottom: 35px;
    }

    .tt-package-page .package-layout {
        gap: 35px;
    }

    .tt-package-page .package-section {
        margin-bottom: 40px;
    }

    .tt-package-page .package-section-header h2 {
        font-size: 22px;
    }

    .tt-package-page .package-content-body {
        font-size: 15px;

        line-height: 1.8;
    }

    .tt-package-page .package-albums {
        margin-top: 50px;

        padding-top: 30px;
    }

    .tt-package-page .package-albums-header h2 {
        font-size: 22px;
    }

    .tt-package-page .package-albums-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .tt-package-page .package-album-info {
        padding: 11px 12px 13px;
    }

    .tt-package-page .package-album-info h3 {
        font-size: 14px;
    }

    .tt-package-page .package-bottom-nav {
        grid-template-columns: 1fr;

        margin-top: 50px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .tt-package-page .package-hero-image,
    .tt-package-page .package-hero-no-image {
        min-height: 280px;

        height: 280px;
    }

    .tt-package-page .package-hero-content {
        padding: 26px 20px 28px;
    }

    .tt-package-page .package-hero h1 {
        font-size: 25px;
    }

    .tt-package-page .package-albums-grid {
        grid-template-columns: 1fr;
    }

    .tt-package-page .package-price-card-header,
    .tt-package-page .package-price-card-body {
        padding-left: 20px;

        padding-right: 20px;
    }
}
