﻿@import "style.css";

@font-face {
    font-family: 'PlayfairDisplay';
    src: url('/assets/fonts/playfair/PlayfairDisplay-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.logo-header {
    width: 150px;
}

.footer-logo-wrap {
    width: 122px;
    display: inline-block;
}

.lower-content.less-margin {
    margin-bottom: 12px !important;
}

.margin-bottom-13 {
    margin-bottom: 13px !important;
}

.margin-bottom-5 {
    margin-bottom: 5px !important;
}
.margin-bottom-10 {
    margin-bottom: 10px !important;
}
.margin-bottom-15 {
    margin-bottom: 15px !important;
}
.margin-bottom-20 {
    margin-bottom: 20px !important;
}
.margin-bottom-25 {
    margin-bottom: 25px !important;
}


/* Alignment */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

/* Weight and Style */
.bold {
    font-weight: 700 !important;
}

.semi-bold {
    font-weight: 600 !important;
}

.normal-weight {
    font-weight: 400 !important;
}

.italic {
    font-style: italic !important;
}

/* Transform */
.text-uppercase {
    text-transform: uppercase !important;
}

.text-capitalize {
    text-transform: capitalize !important;
}

.text-lowercase {
    text-transform: lowercase !important;
}

/* Font Size Utilities (10px to 20px) */
.font-size-10 {
    font-size: 10px !important;
}

.font-size-11 {
    font-size: 11px !important;
}

.font-size-12 {
    font-size: 12px !important;
}

.font-size-13 {
    font-size: 13px !important;
}

.font-size-14 {
    font-size: 14px !important;
}

.font-size-15 {
    font-size: 15px !important;
}

.font-size-16 {
    font-size: 16px !important;
}

.font-size-17 {
    font-size: 17px !important;
}

.font-size-18 {
    font-size: 18px !important;
}

.font-size-19 {
    font-size: 19px !important;
}

.font-size-20 {
    font-size: 20px !important;
}

/* Form Margin Top Utilities (5px increments) */
.margin-top-5 {
    margin-top: 5px !important;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.margin-top-15 {
    margin-top: 15px !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

/* --- Floating Utilities --- */

.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

/* The Clearfix hack to contain floats */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}


/* --- Flexbox Utilities --- */

/* Basic Container Setup */
.d-flex {
    display: flex !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

/* Flex Direction */
.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

/* Horizontal Alignment (Justify Content) */
.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

/* Vertical Alignment (Align Items) */
.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.items-center {
    align-items: center;
}

.items-stretch {
    align-items: stretch;
}

/* Item Sizing and Order */
.flex-grow {
    flex-grow: 1;
    /* Allows the item to grow and fill available space */
}

.flex-shrink {
    flex-shrink: 1;
    /* Allows the item to shrink */
}

.flex-no-shrink {
    flex-shrink: 0;
    /* Prevents the item from shrinking */
}

.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

/* --- Display Control Utilities --- */

/* Block (takes full width, starts new line) */
.d-block {
    display: block !important;
}

/* Inline (flows with text, ignores set width/height) */
.d-inline {
    display: inline !important;
}

/* Inline-Block (flows with text, respects set width/height) */
.d-inline-block {
    display: inline-block !important;
}

/* None (hides element, removes from layout flow) */
.d-none {
    display: none !important;
}

/* --- Display Reset Utility --- */

/* Resets display to the initial/default browser value */
.d-initial {
    display: initial !important;
}

.gm-style-iw-chr {
    height: 18px;
}

/* Màu chữ trắng */
.color-white {
    color: white;
}

/* Màu chữ đen */
.color-black {
    color: black;
}

.article-title {
    font-size: 22px;
    color: #ffc107;
}

.article-content {
    color: #a7a7a7;
}

.main-box {
    padding-top: 24px;
    padding-left: 22px;
}

.menu-list li a:hover {
    color: #ffc107;
    text-decoration: none;
}

/* Áp dụng cho danh sách ul trong box menu nổi bật */
.menu-list {
    /* 1. Loại bỏ dấu đầu dòng mặc định */
    list-style: none;
    padding-left: 0;
    /* Đảm bảo không có padding mặc định bên trái */
    margin: 0;
    /* Đảm bảo không có margin mặc định */
}

/* Áp dụng cho các mục danh sách li */
.menu-list>li {
    /* Tạo không gian giữa các mục */
    padding-left: 1.5em;
    /* Tạo khoảng trống cho dấu đầu dòng tùy chỉnh */
    margin-bottom: 0.8em;
    /* Khoảng cách giữa các mục */
    position: relative;
    /* Quan trọng để định vị dấu đầu dòng tùy chỉnh */
    text-align: left;
}

/* 2. Tạo dấu đầu dòng tùy chỉnh (Sử dụng ::before) */
.menu-list>li::before {
    content: "\2022";
    /* Mã Unicode cho dấu chấm tròn (bullet point) */
    /* content: "\25A0"; /* Hoặc có thể dùng dấu vuông: ■ */
    /* content: "\2013"; /* Hoặc có thể dùng dấu gạch ngang: – */

    /* Định vị dấu đầu dòng */
    position: absolute;
    left: 0;
    /* Đặt nó ở vị trí bắt đầu của padding-left đã tạo */
    top: 0;

    /* Thiết lập màu sắc và kích thước */
    color: #ff9900;
    /* Thay đổi màu sắc thành màu cam/vàng nổi bật */
    font-size: 2em;
    /* Tăng kích thước dấu đầu dòng */
    font-weight: bold;
    line-height: inherit;
    /* Kế thừa chiều cao dòng */
}

/* 3. Style cho thẻ <a> bên trong (nếu cần) */
.menu-list a {
    text-decoration: none;
    /* Loại bỏ gạch chân */
    color: inherit;
    /* Giữ màu chữ (có thể là màu trắng hoặc xám như trong hình) */
    display: block;
    /* Giúp toàn bộ mục dễ bấm hơn */
}

.menu-list a:hover {
    color: #ff9900;
    /* Đổi màu chữ khi hover */
}


/* ================= PROJECT ================= */

@keyframes lineGlow {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* ================= CARD ================= */
.project-card {
    background: linear-gradient(180deg, #1a1a1a, #101010);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    margin-bottom: 48px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: cardAppear 0.8s ease forwards;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    text-decoration: none;
}

/* ================= IMAGE ================= */
.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover img {
    transform: scale(1.12);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8),
            rgba(0, 0, 0, 0.1));
    opacity: 0;
    transition: opacity 0.6s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.common-section {
    background-color: var(--kendesign-blackground-color);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 80px 0 120px;
}

.subheading {
    text-align: center;
}

/* ================= CONTENT ================= */
.project-content {
    padding: 30px;
}

.project-title {
    font-size: 24px;
    margin-bottom: 12px;
    position: relative;
    color: var(--e-global-color-text);
}

.project-title::after {
    content: '';
    width: 0;
    height: 2px;
    background: #caa45a;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: width 0.4s ease;
}

.project-card:hover .project-title::after {
    width: 60px;
    text-decoration: none;
}
.project-card:hover .project-title {
    text-decoration: none;
}

.project-desc {
    color: #bdbdbd;
    font-size: 15px;
    margin-bottom: 12px;
}

.project-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e1b261;
    border: 1px solid rgba(202, 164, 90, 0.4);
    transition: background 0.4s ease, color 0.4s ease;
}

.project-card:hover .project-tag {
    background: #caa45a;
    color: #000;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .section-title {
        font-size: 34px;
    }

    .project-image img {
        height: 280px;
    }
}


@keyframes pageFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ================= HEADER ================= */
  .project-header {
    padding: 100px 0 60px;
    text-align: center;
  }

  .project-subtitle {
    color: #caa45a;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 12px;
    display: inline-block;
  }

  .project-title {
    font-size: 26px;
    margin-bottom: 7px;
  }

  .project-meta {
    color: #bdbdbd;
    font-size: 14px;
  }

  .project-meta span {
    margin: 0 12px;
  }

  /* ================= DESCRIPTION ================= */
  .project-description {
    max-width: 900px;
    margin: 0 auto 80px;
    color: #bdbdbd;
    font-size: 16px;
    text-align: center;
  }
  .gallery-item {
    position: relative;
    display: block;
    background: #111;
    padding: 10px; /* frame thickness */
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition:
      transform 0.4s ease,
      box-shadow 0.4s ease,
      border-color 0.4s ease;
    margin-top: 22px;
  }
  
  /* Subtle inner frame */
  .gallery-item::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(202, 164, 90, 0.18);
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  
  /* Hover elevation */
  .gallery-item:hover {
    transform: translateY(-6px);
    border-color: rgba(202, 164, 90, 0.45);
    box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.7),
      inset 0 0 0 1px rgba(255, 255, 255, 0.03);
   
  }
  
  /* Image handling */
  .gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
  }
  
  /* Image zoom */
  .gallery-item:hover img {
    transform: scale(1.08);
  }
  
  /* Overlay refinement */
  .gallery-overlay {
    position: absolute;
    inset: 10px; /* match frame padding */
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.75),
      rgba(0,0,0,0.15)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
  
  /* Caption alignment inside frame */
  .gallery-caption {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 16px;
    font-size: 14px;
    color: #e0e0e0;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.65),
      transparent
    );
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
  }
  
  .gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
  }

  /* ================= RESPONSIVE ================= */
  @media (max-width: 991px) {
    .project-title {
      font-size: 34px;
    }

    .gallery-item img {
      height: 260px;
    }
  }
   /* ================= PAGINATION (GENERIC) ================= */
    .ui-pagination {
      margin: 80px 0 60px;
    }

    .ui-pagination .pagination {
      gap: 14px;
    }

    .ui-pagination .page-link {
      background: transparent;
      color: #bdbdbd;
      border: 1px solid rgba(255,255,255,0.08);
      padding: 10px 18px;
      font-size: 14px;
      letter-spacing: 1px;
      text-transform: uppercase;
      transition:
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
    }

    .ui-pagination .page-link {
      border-radius: 0;
    }

    .ui-pagination .page-item:not(.active):not(.disabled) .page-link:hover {
      color: #caa45a;
      border-color: rgba(202,164,90,0.6);
      transform: translateY(-2px);
      box-shadow:
        0 10px 25px rgba(0,0,0,0.6),
        inset 0 0 0 1px rgba(202,164,90,0.15);
    }

    .ui-pagination .page-item.active .page-link {
      background: #caa45a;
      color: #000;
      border-color: #caa45a;
      box-shadow: 0 10px 30px rgba(202,164,90,0.35);
    }

    .ui-pagination .page-item.disabled .page-link {
      color: #555;
      border-color: rgba(255,255,255,0.04);
      pointer-events: none;
    }

    .ui-pagination .page-link:focus {
      box-shadow: none;
    }

    @media (max-width: 575px) {
      .section-title {
        font-size: 32px;
      }

      .gallery-item img {
        height: 240px;
      }

      .ui-pagination .page-link {
        padding: 8px 14px;
        font-size: 13px;
      }
    }

    /* Capitalize utility class */
    .capitalize {
      text-transform: capitalize;
    }

    .uppercase {
      text-transform: uppercase;
    }
    .article-title-md {
      font-size: 32px;
    }

    
    /* Font size utility classes from 15px to 32px */
    .font-size-15 { font-size: 15px !important; }
    .font-size-16 { font-size: 16px !important; }
    .font-size-17 { font-size: 17px !important; }
    .font-size-18 { font-size: 18px !important; }
    .font-size-19 { font-size: 19px !important; }
    .font-size-20 { font-size: 20px !important; }
    .font-size-21 { font-size: 21px !important; }
    .font-size-22 { font-size: 22px !important; }
    .font-size-23 { font-size: 23px !important; }
    .font-size-24 { font-size: 24px !important; }
    .font-size-25 { font-size: 25px !important; }
    .font-size-26 { font-size: 26px !important; }
    .font-size-27 { font-size: 27px !important; }
    .font-size-28 { font-size: 28px !important; }
    .font-size-29 { font-size: 29px !important; }
    .font-size-30 { font-size: 30px !important; }
    .font-size-31 { font-size: 31px !important; }
    .font-size-32 { font-size: 32px !important; }

    .project-title {
        font-size: 19px;
        text-transform: uppercase;
        font-weight: 400 !important;
        color: var(--e-global-color-primary);
    }
    
    .page-title-md{
        font-size: 34px;
        line-height: 58px;
        font-weight: 400 !important;
        color: var(--e-global-color-primary);
    }
    .text-intro-lg{
        font-size: 40px;
        line-height: 62px;
        font-weight: 500;
        color: var(--e-global-color-primary);
    }
    .footer-section .middle-portion .info .text {
        text-align: left;
    }