@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); /********** Template CSS **********/

body {
    font-family: 'Roboto', sans-serif;
}

:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

/* Đảm bảo font chữ đều nhau cho navbar */
.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .dropdown-item {
    font-size: 16px !important; /* Kích thước chữ chung */
    font-weight: 600 !important; /* Độ đậm chung */
    letter-spacing: 0.5px; /* Giãn khoảng cách giữa các chữ */
    padding: 14px 18px !important; /* Khoảng cách trong ô */
    margin-right: 30px !important; /* Khoảng cách giữa các ô */
}


/* Giảm khoảng cách giữa dropdown và mục "Sản phẩm" */
/* Responsive: Giữ kích thước chữ đều trên mobile */
@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .dropdown-item {
        font-size: 15px !important;
        padding: 10px 12px !important;
        margin-right: 20px !important;
    }
}
/* Đảm bảo font chữ và kích thước đều nhau */
.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .dropdown-item {
    font-family: 'Roboto', sans-serif !important; /* Font hỗ trợ Unicode */
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    text-rendering: optimizeLegibility; /* Tối ưu hiển thị chữ */
    text-transform: none; /* Tránh lỗi chữ in hoa */
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}

.carousel-item img {
  width: 100%;
  height: 100vh; /* full chiều cao màn hình */
  object-fit: cover;
  object-position: center;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* tránh thanh cuộn ngang */
}

/*** Service ***/
.service-item {
    height: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 30px auto;
    width: 65px;
    height: 65px;
    transition: .5s;
}

.service-item i,
.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF !important;
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url(../../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    padding-left: 65px;
    padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
    padding: 30px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: #FFFFFF;
}


/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Footer ***/
.newsletter {
    position: relative;
    z-index: 1;
}

.footer {
    position: relative;
    bottom: unset;
    margin-top: 50px;
   width: 100%;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
/* --- Theme colors --- */
:root{
  --pccc-red: #e63600;
  --pccc-orange: #ff6a2d;
  --pccc-dark: #091422;
  --contrast-white: #ffffff;
}


/* Responsive tweaks */
@media (max-width:991px){
  .logo-box img { max-height:56px; }
  .search-inline input { width: 140px; }
}
@media (max-width:576px){
  .brand-text { display:none; }
  .search-inline { display:none; }
  .call-btn { padding: 8px 12px; font-size:14px; }
}

/* PCCC color palette: red / orange */
.text-primary { color: #d9534f !important; }
.bg-primary { background-color: #d9534f !important; }
.btn-primary { background-color: #d9534f !important; border-color: #d9534f !important; }
.section-title.text-primary { color: #d9534f !important; }
.testimonial { background: linear-gradient(90deg, rgba(217,83,79,0.95), rgba(255,140,0,0.95)); }
.service-icon .fa { color: #d9534f; }
.back-to-top { background-color: #d9534f !important; }
/* Giữ kích thước cố định cho ảnh trong carousel */
.carousel-item img {
    height: 700px;           /* Chiều cao cố định cho slide */
    width: 100%;             /* Luôn full chiều ngang */
    object-fit: cover;       /* Cắt ảnh vừa khung, không méo */
    object-position: center; /* Canh giữa hình */
}

/* Responsive cho màn hình nhỏ hơn */
@media (max-width: 768px) {
    .carousel-item img {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 300px;
    }
}
/* Hiệu ứng nổi ảnh trong phần giới thiệu */
.about-section img {
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.4);
}

/* Khi di chuột vào ảnh */
.about-section img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(255, 50, 0, 0.35); /* ánh đỏ cam nhẹ */
    border-color: rgba(255, 80, 0, 0.6);
    z-index: 2;
}
.product-img {
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
.product-img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
    filter: brightness(1.1);
}
.modal-content {
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255,0,0,0.4);
}
/* Giữ tỉ lệ ảnh đồng đều, không vỡ bố cục */
.product-img-container {
    width: 100%;
    height: 250px; /* có thể điều chỉnh theo ý bạn */
    overflow: hidden;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    background: #fff;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.4s ease;
}

/* Hiệu ứng hover ảnh */
.product-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.15);
}

/* Hiệu ứng hover card */
.product-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    background-color: #fff;
}
.product-card:hover {
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2);
    transform: translateY(-5px);
}
.product-img-container {
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.product-img-container img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.25);
}
.product-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card .card-text {
    min-height: 80px; /* điều chỉnh cho các đoạn mô tả đều nhau */
}

.product-card .btn {
    align-self: center;
}
.product-description {
    margin-top: 1rem;
    line-height: 1.7;
    color: #333;
}

.product-description h3 {
    font-size: 1.3rem;
    margin-top: 1.2rem;
    color: #222;
    font-weight: 600;
}

.product-description h4 {
    font-size: 1.1rem;
    margin-top: 1rem;
    color: #c00;
    font-weight: 600;
}

.product-description ul {
    padding-left: 1.5rem;
    list-style: disc;
}

.product-description li {
    margin-bottom: 0.4rem;
}
/* Thêm vào CSS */

/* =========================
   RESPONSIVE - MOBILE STYLE
   ========================= */

/* Tổng thể */
body {
    overflow-x: hidden;
}

/* Carousel */
@media (max-width: 768px) {
    .carousel-caption {
        bottom: 20px;
        padding: 10px;
    }
    .carousel-caption h1 {
        font-size: 1.2rem !important;
    }
    .carousel-caption h6 {
        font-size: 0.9rem !important;
    }
    .carousel-caption .btn {
        padding: 6px 14px !important;
        font-size: 0.9rem !important;
    }
}

/* About section */
@media (max-width: 768px) {
    .section-title {
        font-size: 0.9rem;
    }
    .container-xxl .row {
        text-align: center;
    }
    .container-xxl ul {
        text-align: left;
        font-size: 0.9rem;
    }
    .container-xxl img {
        width: 90% !important;
        margin: auto;
    }
}

/* Service cards */
@media (max-width: 768px) {
    .service-item {
        display: block;
        text-align: center;
        padding: 20px 10px;
    }
    .service-icon {
        margin: 0 auto 10px;
    }
    .service-item h5 {
        font-size: 1rem;
    }
}

/* Product cards */
@media (max-width: 768px) {
    .product-card {
        margin-bottom: 20px;
    }
    .product-img-container img {
        width: 100%;
        height: auto;
    }
}

/* Contact CTA */
@media (max-width: 768px) {
    .container-fluid.py-5.mt-5 .row {
        text-align: center;
    }
    .container-fluid.py-5.mt-5 .btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* Footer */
.footer {
    margin-top: auto;
    width: 100%;
    text-align: center;
}
.footer .row {
    text-align: center;
}
.footer a.btn.btn-link {
    padding: 5px 0;
    display: block;
}
.footer-menu a {
    margin: 0 8px;
}


/* ======= HEADER - RESPONSIVE FIX ======= */
@media (max-width: 768px) {
    /* Ẩn topbar trên mobile để tiết kiệm không gian */
    .topbar {
        display: none;
    }

    /* Logo nhỏ hơn, căn giữa */
    .navbar-brand .logo-box img {
        max-height: 60px;
    }

    /* Navbar dính sát trên cùng, không nền trắng */
    .site-navbar {
        background-color: #ff4d00 !important;
        padding: 8px 0;
    }

    /* Căn giữa logo và nút toggle */
    .navbar-brand {
        margin: auto;
    }

    .navbar-toggler {
        border: none;
        color: #fff;
        font-size: 1.5rem;
    }

    /* Chữ trong menu khi mở ra */
    .navbar-collapse {
        background-color: #ff4d00;
        text-align: center;
    }

    .navbar-nav .nav-link {
        color: white !important;
        padding: 10px 0;
        font-weight: 500;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,0.2);
    }
}

/* Restore logo-box hover */
.logo-box {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.logo-box:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(255, 60, 0, 0.4);
}

/* Tắt hover riêng của img (nếu đang override) */
.logo-box img {
    transition: none !important;
}

.logo-box img:hover {
    transform: none !important;
    box-shadow: none !important;
}
/* ================================
   FIX HERO TITLE — FORCE OVERRIDE
/* ================= HERO SOFT STYLE ================= */
.hero-soft {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 60px 30px;
    text-align: center;

    background: linear-gradient(90deg, rgba(255,180,150,0.22), rgba(255,120,80,0.18));
    border-radius: 26px;
    border: 1px solid rgba(255,120,80,0.22);
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}

/* ================= HERO SOFT STYLE ================= */
.hero-soft {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 60px 30px;
    text-align: center;

    background: linear-gradient(90deg, rgba(255,180,150,0.22), rgba(255,120,80,0.18));
    border-radius: 26px;
    border: 1px solid rgba(255,120,80,0.22);
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}

.hero-soft h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #c93a2e;
}

.hero-soft p {
    margin-top: 10px;
    font-size: 17px;
    color: #444;
}

footer a {
    text-decoration: none !important;
    color: white !important;
}

footer a:hover {
    color: #ffcc00 !important; /* màu hover tùy bạn */
}
