@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

/* Hero Slider */
/* Style cho trang lưu bút */
.hero-swiper {
    width: 100%;
    max-width: 800px; /* Thu nhỏ lại một chút cho giống khổ sách */
    height: 500px;
    margin: 20px auto;
}

.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    border: 10px solid #fff; /* Viền trắng như trang giấy */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #fdfdfd;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Member Carousel */
.member-swiper { padding: 40px 0 60px !important; }
.profile-card { transition: transform 0.3s; }
.profile-card:hover { transform: translateY(-10px); }

/* Bảng Đen */
.blackboard-container {
    background-color: #2b2b2b;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 80%),
        url('https://www.transparenttextures.com/patterns/chalkboard.png');
    padding: 60px 40px;
    position: relative;
    border: 18px solid #5d4037;
    border-bottom-width: 28px;
    border-radius: 4px;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.8), 0 20px 40px rgba(0,0,0,0.4);
}

.blackboard-container::after {
    content: "";
    position: absolute;
    bottom: -28px; left: -18px; right: -18px;
    height: 12px;
    background: #3e2723;
    border-bottom: 4px solid #2d1e16;
    border-radius: 0 0 4px 4px;
}

/* Sticky Notes */
.sticky-note {
    background: #fff59d;
    padding: 25px;
    min-height: 180px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
    font-family: 'Courier New', Courier, monospace;
    position: relative;
    transition: 0.3s;
}

.sticky-note::before {
    content: ""; position: absolute; top: 8px; left: 50%;
    width: 16px; height: 16px; background: #d32f2f;
    border-radius: 50%; transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.sticky-note:nth-child(even) { transform: rotate(1.5deg); background: #cfd8dc; }
.sticky-note:nth-child(3n) { transform: rotate(-1.5deg); background: #f8bbd0; }
.sticky-note:hover { transform: scale(1.05) rotate(0deg); z-index: 10; }

.section-title { font-family: 'Dancing Script', cursive; }

/* Mobile: show full image in hero slideshow (no crop) */
@media (max-width: 640px) {
  .hero-swiper {
    max-width: 100%;
    height: 60vh; /* tùy bạn: 55–70vh */
  }

  .hero-swiper .swiper-slide img {
    object-fit: contain; /* quan trọng: thấy full hình */
  }
}
