
:root {
    background-image: url('anh/comchim2.jpg');
    --secondary-bg: #ffe8d6; 
    --accent-orange: #f28b5e;
    --text-dark: #333;
    --text-medium: #666;
    --text-light: #999;
    --border-radius-large: 30px;
    --border-radius-medium: 20px;
    --border-radius-small: 10px;
    --shadow-soft: rgba(0, 0, 0, 0.5) 0px 4px 12px;
    --shadow-lighter: rgba(0, 0, 0, 0.05) 0px 2px 8px;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}
main {
  display: block;
  width: 100%;
  text-align: left;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-image: url('anh/comchim2.jpg');
    background-size: cover;         
    background-repeat: no-repeat;   
    background-position: center;    
    background-attachment: fixed;   
    width: 100vw;                    
    /*height: 100vh; */                
    margin: 0;
    padding: 0;
    overflow-y: auto;   
    color: white;   
    position: relative;
    z-index: 0;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url('anh/comchim2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
.dashboard-container {
    display: flex;
    width: 100%;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-soft);
    overflow: visible; 
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  color: #333;
  margin: 0;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  margin-left: 110px; 
  margin-top: 15px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  max-width: 1000px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); 
}
.a-left img {
  width: 300px;
  border-radius: 15px;
  object-fit: cover;
}
.a-right {
  flex: 1;
  text-align: left;
}
.a-right h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
}
.a-right p {
  font-size: 16px;
  color: #444;
  line-height: 1.5;
}
.b {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  margin-left: 400px; 
  margin-top: 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  max-width: 1000px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); 
  margin-bottom: 80px;
}
.b-right img {
  width: 300px;
  border-radius: 15px;
  object-fit: cover;
}
.b-left {
  flex: 1;
  text-align: left;
  margin-bottom: 20px;
}
.b-left h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
}
.b-left p {
  font-size: 16px;
  color: #444;
  line-height: 1.5;
}
.slideshow-container {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin: auto;
  border-radius: 15px;
}
.slide {
  display: none;
}
.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  animation: fade 1s ease-in-out;
}
.fade {
  animation: fadeEffect 1s ease-in-out;
}
@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
.simple-header-text {
  margin: 0;
  position: relative;
  width: 100vw;
  height: 300px;
  background-color:url('anh/comchim2.jpg') center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 80px;
}
.simple-header-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.simple-header-text h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 64px;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  animation: fadeIn 2s ease forwards;
  opacity: 0;
  margin: 0;
}
.header-bg-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px 40px;
}
.underline {
  margin: 20px auto 0;
  width: 600px;
  height: 1px;
  background-color: #f7941d;
  z-index: 2;
  position: relative;
  margin-bottom: 30px;
  margin-top: 50px;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.breadcrumb {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 8px;
  color: orange;
}
.breadcrumb-item a {
  text-decoration: none;
  color: orange;
}
.breadcrumb-item.active {
  color: white;
}


.art-profile-container {
  width: 100vw;
  padding: 60px 20px;
  background-color: rgb(233, 224, 201);
  color: black;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}
.art-profile-container.visible {
  opacity: 1;
  transform: translateY(0);
}
.art-content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 20px;
  box-sizing: border-box;
}
.art-title{
  font-size: 50px;
  font-weight: bold;
  text-align: left;
  margin-left: 10px;
  margin-bottom: 20px;
  color:Black;

}
.art-title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  margin-left: 10px;
}
.arttitle-line {
  flex-grow: 1;
  height: 2px;
  background-color: black;
  margin-left: 20px;
}

.left-panel {
  flex: 1;
  text-align: left;
  padding: 20px;
  margin-right:10px;
}
.left-panel p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.right-panel {
  flex: 1;
  text-align: center;
  padding: 20px;
}
.right-panel img {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
  object-fit: cover;
}
/* -------- LAST SUPPER -------- */
.lastsupper-wrapper {
  display: flex;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}
.lastsupper-left,
.lastsupper-right {
  flex: 1;
}
.lastsupper-left img,
.lastsupper-image2 img {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
  object-fit: cover;
}
.lastsupper-left img{
  height: 455px;
}

.lastsupper-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lastsupper-content {
  padding: 20px;
  border-radius: 12px;
  text-align: left;
}
.lastsupper-title {
  margin-top: 0;
  font-size: 20px;
  font-weight: bold;
  font-size: 30px;
}
.tacpham{
  font-size: 30px;
}

/* Dropdown hiển thị khi hover vào li (giữ lại khi chuột ở trong menu con) */
.dropdown:hover .dropdown-content,
.dropdown .dropdown-content:hover {
  display: block;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 38px;
  left: 0;
  background-color: #ebdab6;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 300px;
  padding: 20px;
  z-index: 1000;
}
.menu-columns {
  display: flex;
  justify-content: space-between;
}
.column {
  flex: 1;
  margin-right: 20px;
}
.column a {
  display: block;
  color: #333;
  text-decoration: none;
  margin-bottom: 10px;
}
.column a:hover {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
}
/*PHAN MENU*/
.top-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-menu > li {
  position: relative;
  margin-right: 30px;
}

.main-menu > li > a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  padding: 8px 12px;
  display: inline-block;
}

.art-style-container {
  width: 100vw;
  padding: 60px 20px;
  background-color: rgb(233, 224, 201);
  color: black;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}
.art-style-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.art-title-style{
  font-size: 50px;
  font-weight: bold;
  text-align: left;
  margin-left: 10px;
  margin-bottom: 20px;
  color:Black;
}
.artstyle-wrapper {
  max-width: 1400px;
  padding: 0 10px; 
}
.artstyle-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  margin: 20px 0;
  padding: 0 10px;
  position: relative;
}
.artstyle-line {
  flex-grow: 1;
  height: 2px;
  background-color: black;
  margin-left: 20px;
}
.artstyle-line1{
  width: 300px;
  height: 2px;
  background-color: black;
  margin: 0 auto;
  display: block;
  
}
.artstyle-left {
  flex: 5;
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.artstyle-image img {
  max-width: 1000px;
  width: 950px;
  height: 500px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.artstyle-image {
  display: flex;
  padding: 0px 20px 0px 20px;
  border-radius: 12px;
}
.image-with-caption {
  text-align: center;
  margin: 0 auto;
}
.image-with-caption figcaption {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
  font-style: italic;
}
.artstyle-description{
  border-radius: 12px;
  padding: 0px 20px 5px 30px  ;
  text-align: left;

}
.artstyle-left h2 {
  text-align: left;
  padding-left: 20px;
}


.custom-toc-container {
  flex: none;
  width: 350px;
  background-color: rgb(235, 228, 208);
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 8px;
  position: sticky;
  top: 100px; 
  height: fit-content;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.toc-header {
  background-color: #f1f2f2;
  padding: 15px;
  text-align: left;
  font-weight: bold;
  font-size: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
}
.toc-box {
  border: 1px solid #f5f1e4;
  border-radius: 14px;
  padding: 10px;
  background: rgb(246, 243, 237); ;
}
.toc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #ffffff;
  font-size: 18px;
}
.toc-item:last-child {
  border-bottom: none;
}
.toc-number {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 2px 5px;
  font-weight: bold;
  font-size: 16px;
  margin-right: 12px;
  color: #000000;
  flex-shrink: 0;
}
.toc-text {
  flex: 1;
  text-decoration: none;
  font-weight: bold;
  color: black;
  font-size: 18px;
}
.toc-text:hover {
  color: #c78c73;
}
.toc-arrow {
  font-size: 20px;
  color: #999;
}
.toc-footer {
  text-align: center;
  font-size: 16px;
  margin-top: 24px;
  background-color: #fdfdfd;
  padding: 10px;
  border-radius: 12px;
  color: #333;
  font-weight: bold;
}
.toc-footer a {
  text-decoration: none;
  color: inherit;
}
.featured-post {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}
.featured-post img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}
.featured-post p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.line3 {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.line3 svg {
  display: block;
  width: 100%;
  height: 100px; /* bạn có thể chỉnh độ cao */
}
        /* PHAN KHAM PHA THEM*/

.khamphathem {
  padding: 60px 40px;
  background-color: rgb(233, 224, 201);
}
.text-khampha { /*hieu ung cho tieu de */
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s ease, transform 1s ease;
}
.khamphathem.visible .text-khampha {
  opacity: 1;
  transform: scale(1);
}
/* Slide section chia 2 bên */
.slide-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 70px;
  flex-wrap: wrap;
  background-color: #f1f0eb;
  padding: 40px;
}
/* TRÁI: slide ảnh */
.slide-left {
  flex: 1;
  min-width: 300px;
  text-align: center;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease, transform 1s ease;
}
.khamphathem.visible .slide-left {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.3s;
}
.khampha-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}
.khampha-slider img.active {
  opacity: 1;
  z-index: 1;
}
.khampha-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
}
.khampha-slider .khampha-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}
.khampha-slider .khampha-slide.active {
  opacity: 1;
  z-index: 1;
}
.slide {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.slide.active {
  display: block;
}

/* PHẢI: chữ */
.slide-right {
  flex: 1;
  padding: 20px;
  color: #0a0a0a;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.khamphathem.visible .slide-right {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.5s;
}

.sub-title {
  font-weight: bold;
  color: rgb(213, 154, 166);
  background-color: #fff;
  padding: 4px 12px;
  font-size: 14px;
  border-radius: 4px;
}
.main-title {
  font-size: 70px;
  font-weight: bold;
  margin: 20px 0;
}
.desc-link {
  display: inline-block;
  font-size: 16px;
  line-height: 1.5;
  color: #222;
  text-decoration: none;
  margin-top: 5px;
  transition: color 0.3s ease;
}

.desc-link:hover {
  color: #c63a3a; /* đổi màu khi hover */
  text-decoration: underline;
}
.khampha-heading {
  display: flex;
  align-items: center; /* Căn giữa theo chiều cao */
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.khampha-heading .line {
  flex: 1;
  height: 1px;
  background-color: rgb(213, 154, 166);
  opacity: 0.5;
  position: relative;
  top: 0; /* Giữ đúng giữa chữ */
}

.text-khampha {
  font-size: 70px;
  font-weight: bold;
  color: #222;
  white-space: nowrap;
  line-height: 1; 
  margin: 0;      
  padding-bottom: 30px;
}

/* ===== BỐ CỤC CHUNG ===== */
.news-grid {
  padding: 60px 40px; 
  width: 100%;        
  max-width: none;    
  margin: 0 auto;
  background-color:  #f1f0eb;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.news-left {
  flex: 2;
}
.news-right {
  flex: 1;
  border-left: 1px solid #ddd;
  padding-left: 20px;
}

/* ===== PHAN TIEU DE BEN TRAI */
.news-heading {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #222;
  border-left: 4px solid #c63a3a;
  padding-left: 10px;

  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.news-heading.visible {
  opacity: 1;
  transform: translateX(0);
}
/* ===== MỖI TIN (CỘT TRÁI): scale in ===== */
.news-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;

  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.news-item.visible {
  opacity: 1;
  transform: scale(1);
}
.news-img {
  width: 220px;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.news-info {
  flex: 1;
}
.news-category {
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.news-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #111;
}
.news-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

/* ===== PHAN TIEU DE COT PHAIPHAI */
.right-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #222;
  border-bottom: 2px solid #c63a3a;
  padding-bottom: 6px;

  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.right-title.visible {
  opacity: 1;
  transform: translateX(0);
}
/* ===== DANH SÁCH LINK: fade in ===== */
.news-list {
  list-style: none;
  padding-left: 0;
}
.news-list li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  margin-bottom: 12px;
}
.news-list li.visible {
  opacity: 1;
  transform: translateY(0);
}
.news-list a {
  font-size: 15px;
  color: #222;
}
.news-list a:hover {
  text-decoration: underline;
  color: #c63a3a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .news-grid {
    flex-direction: column;
  }
  .news-right {
    border-left: none;
    padding-left: 0;
    margin-top: 40px;
  }
}
.news-list-img {
  display: block;
  margin-top: 10px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}






