/* ===== BASE STYLES ===== */
:root {
    --primary-color: #1a0b3b;
    --secondary-color: #f5f5f5;
    --accent-color: #2f2d25;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-bg: #0d0d0d;
    --border-color: #dddddd;
    --transition-speed: 0.4s;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: linear-gradient(135deg, #2a004a 0%, #0d0d0d 70%, #47453b 100%);
    position: relative;
    animation: gradientAnimation 20s ease infinite;
}

@keyframes gradientAnimation {
    0% { background: linear-gradient(135deg, #2a004a 0%, #0d0d0d 70%, #47453b 100%); }
    50% { background: linear-gradient(135deg, #0d0d0d 0%, #47453b 30%, #2a004a 100%); }
    100% { background: linear-gradient(135deg, #2a004a 0%, #0d0d0d 70%, #47453b 100%); }
}

body.light-mode {
    background: linear-gradient(135deg, #f0e6d2 0%, #fff5e1 70%, #ffd700 100%);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../Images/art-background.jpg') no-repeat center/cover;
    opacity: 0.3;
    z-index: -1;
    filter: blur(5px);
}

body.light-mode::before {
    background: url('../../Images/art-background-light.jpg') no-repeat center/cover;
    opacity: 0.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}



/* nền */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
}





/* ===== NAVBAR STYLES ===== */
nav {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}

nav.light-mode {
    background: rgba(255, 255, 255, 0.8);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s ease;
    margin-right: 25px;
}

.logo:hover {
    color: #ffd700;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    padding: 8px 15px;
    transition: color 0.3s ease;
}

.nav-links li a .icon {
    margin-right: 8px;
}

.nav-links li a:hover {
    color: #ffd700;
}

.nav-links li a:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff6f61, #ffd700);
    bottom: -5px;
    left: 0;
    animation: underline 0.3s forwards;
}

@keyframes underline {
    from { width: 0; }
    to { width: 100%; }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    z-index: 10;
    transition: opacity 0.2s ease;
    opacity: 0;
}

.dropdown-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    outline: none;
    font-size: 1rem;
    width: 180px;
    transition: width 0.3s ease;
}

.search-bar input:focus {
    width: 220px;
}

/* Login Button */
.login-btn {
    padding: 8px 20px;
    background: #ff6f61;
    border: none;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.login-btn:hover {
    background: #ffd700;
    transform: scale(1.05);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 200;
    padding: 20px;
    transition: left 0.5s ease;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 50px;
}

.mobile-menu ul li {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #fff;
    margin-right: 15px;
}

/* ===== FULL-SCREEN SECTIONS ===== */
.full-screen-sections {
    min-height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    position: relative;
    padding: 0 20px;
}

/* ===== INTRO SECTION (HEADER) ===== */
.intro-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.intro-content {
    position: relative;
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.intro-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    color: var(--light-text);
    text-shadow: 0 5px 15px rgba(230, 184, 0, 0.7);
}

.intro-text {
    font-size: 24px;
    color: var(--light-text);
    opacity: 0.9;
    margin: 20px 0;
}

/* ===== FOOTER ===== */
footer {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #2a004a 0%, #0d0d0d 100%);
    color: var(--light-text);
    border-top: 1px solid rgba(230, 184, 0, 0.2);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 15px;
    color: var(--light-text);
    font-size: 14px;
    transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(230, 184, 0, 0.5);
}

.footer-social {
    margin: 20px 0;
}

.footer-social a {
    margin: 0 15px;
    color: var(--light-text);
    font-size: 24px;
    transition: all var(--transition-speed) ease;
}

.footer-social a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(230, 184, 0, 0.5);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

@media (max-width: 768px) {
    .intro-title, .hero-content h1 {
        font-size: 48px;
    }
    .intro-text, .hero-content p {
        font-size: 18px;
    }
    .section {
        flex-direction: column;
        padding: 0 20px;
    }
    .intro-content, .hero-content, .registration-content, .testimonial-content {
        width: 100%;
        height: auto;
        padding: 20px;
    }
    .event-card {
        flex-direction: column;
        padding: 20px;
    }
    .event-card-content, .event-card-media {
        height: auto;
        width: 100%;
    }
    .event-card-media img {
        height: 50vh;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .register-btn, .cancel-btn {
        width: 100%;
    }
    .testimonial-carousel {
        flex-direction: row;
    }
}

@media (max-width: 576px) {
    .intro-title, .hero-content h1 {
        font-size: 36px;
    }
    .intro-text, .hero-content p {
        font-size: 16px;
    }
    .event-card-content h3 {
        font-size: 36px;
    }
    .registration-content h2, .testimonial-content h2 {
        font-size: 32px;
    }
}

@import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');
@import url('https://fonts.cdnfonts.com/css/poppins');

.banner{
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.banner .slider{
    position: absolute;
    width: 200px;
    height: 250px;
    top: 10%;
    left: calc(50% - 100px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;
    z-index: 2;
}
@keyframes autoRun{
    from{
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
    }
}

.banner .slider .item{
    position: absolute;
    inset: 0 0 0 0;
    transform: 
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(550px);
}
.banner .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner .content{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 100vw);
    height: max-content;
    padding-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}
.banner .content h1{
    font-family: 'ICA Rubrik';
    font-size: 16em;
    line-height: 1em;
    color: #25283B;
    position: relative;
}
.banner .content h1::after{
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 2px #d2d2d2;
    color: transparent;
}
.banner .content .author{
    font-family: Poppins;
    text-align: right;
    max-width: 200px;
}
.banner .content h2{
    font-size: 3em;
}
.banner .content .model{
    background-image: url(images/model.png);
    width: 100%;
    height: 75vh;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: auto 130%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
}
@media screen and (max-width: 1023px) {
    .banner .slider{
        width: 160px;
        height: 200px;
        left: calc(50% - 80px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(300px);
    }
    .banner .content h1{
        text-align: center;
        width: 100%;
        text-shadow: 0 10px 20px #000;
        font-size: 7em;
    }
    .banner .content .author{
        color: #fff;
        padding: 20px;
        text-shadow: 0 10px 20px #000;
        z-index: 2;
        max-width: unset;
        width: 100%;
        text-align: center;
        padding: 0 30px;
    }
}
@media screen and (max-width: 767px) {
    .banner .slider{
        width: 100px;
        height: 150px;
        left: calc(50% - 50px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(180px);
    }
    .banner .content h1{
        font-size: 5em;
    }
}










/* Mặc định (desktop) */
.intro-title-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3vw;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.intro-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 5vw;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-shadow: 0 4px 24px #000, 0 2px 8px #e6b800;
    padding: 0.2em 1em;
    border-radius: 10px;
    pointer-events: auto;
}

.intro-quote {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: center;
    color: #fff;
    z-index: 3;
    position: relative;
}

.intro-quote p {
    font-size: 2vw;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.5;
}

.intro-quote span {
    font-size: 1.1vw;
    color: #aaa;
    font-family: 'Montserrat', monospace;
    opacity: 0.7;
}

.mission-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: transparent !important;
}

.mission-content {
    display: flex;
    gap: 60px;
    align-items: center;
    width: 80%;
    max-width: 1400px;
}

.mission-text {
    flex: 1;
    color: #fff;
}

.mission-text h2 {
    font-size: 3vw;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.mission-text p {
    font-size: 1.4vw;
    line-height: 1.7;
    color: #fff;
}

.mission-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-image img {
    width: 70%;
    max-width: 500px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* Responsive: điện thoại nhỏ */
@media (max-width: 576px) {
    .intro-title {
        font-size: 8vw;
    }

    .intro-quote p {
        font-size: 5vw;
    }

    .intro-quote span {
        font-size: 3vw;
    }

    .mission-content {
        flex-direction: column;
        gap: 30px;
    }

    .mission-text h2 {
        font-size: 6vw;
    }

    .mission-text p {
        font-size: 4vw;
    }

    .mission-image img {
        width: 90%;
    }
}

/* Responsive: tablet dọc */
@media (max-width: 768px) {
    .intro-title {
        font-size: 6vw;
    }

    .intro-quote p {
        font-size: 3vw;
    }

    .intro-quote span {
        font-size: 2vw;
    }

    .mission-content {
        flex-direction: column;
        gap: 40px;
    }

    .mission-text h2 {
        font-size: 5vw;
    }

    .mission-text p {
        font-size: 2.5vw;
    }

    .mission-image img {
        width: 80%;
    }
}

/* Responsive: tablet ngang / laptop nhỏ */
@media (max-width: 992px) {
    .intro-title {
        font-size: 5vw;
    }

    .mission-content {
        gap: 40px;
    }

    .mission-text h2 {
        font-size: 4vw;
    }

    .mission-text p {
        font-size: 2vw;
    }
}

/* Màn hình lớn */
@media (min-width: 1200px) {
    .intro-title {
        font-size: 3vw;
    }

    .mission-text h2 {
        font-size: 2.5vw;
    }

    .mission-text p {
        font-size: 1.2vw;
    }
}











/* Content Sections */
.content-section {
    margin-bottom: 100px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto 20px;
}

.explore-btn, .event-btn {
    padding: 10px 25px;
    background: #ff6f61;
    border: none;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.explore-btn:hover, .event-btn:hover {
    background: #ffd700;
    transform: scale(1.05);
}

/* Gallery Section */
.gallery {
    padding: 60px 20px;
}

.gallery-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-item {
    display: none;
    position: relative;
    width: 100%;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    text-align: left;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 10px;
}

.carousel-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-controls button {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.carousel-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Decorative Boxes */
.decorative-boxes {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.decorative-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.decorative-box .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    transition: background 0.3s ease;
}

.decorative-box:hover .overlay {
    background: rgba(0, 0, 0, 0.7);
}

.decorative-box h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.decorative-box button {
    padding: 10px 20px;
    background: #ff6f61;
    border: none;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.decorative-box button:hover {
    background: #ffd700;
}

/* Events */
.events .event-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.events .event-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    width: 300px;
    text-align: center;
}

.events .event-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.events .event-card p {
    color: #bbb;
    margin-bottom: 15px;
}

/* Community */
.community {
    text-align: center;
}

/* Discover */
.discover .discover-boxes {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
    width: 100%;
    padding: 0 20px;
}

.discover-box {
    display: flex;
    align-items: center;
    height: 600px;
    background: #333;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: none;
}

.discover-box:hover {
    transform: translateY(-15px);
}

.discover-box.reverse {
    flex-direction: row-reverse;
}

.discover-text {
    width: 40%;
    padding: 50px;
    color: #fff;
    text-align: left;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.discover-text.right {
    text-align: right;
}

.discover-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.discover-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 30px;
}

.discover-text .discover-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff6f61;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    width: fit-content;
    align-self: flex-start;
}

.discover-text.right .discover-btn {
    align-self: flex-end;
}

.discover-text .discover-btn:hover {
    background: #ffd700;
    transform: scale(1.1);
}

.discover-image {
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Responsive */
@media (max-width: 768px) {
    .discover-box {
        flex-direction: column;
        height: auto;
    }

    .discover-text, .discover-image {
        width: 100%;
        padding: 20px;
        height: auto;
    }

    .discover-text {
        text-align: center;
    }

    .discover-text.right, .discover-text.left {
        align-items: center;
    }

    .discover-text .discover-btn {
        align-self: center;
    }

    .content-section {
        padding: 20px;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .content-section p {
        font-size: 1rem;
    }

    .carousel-item img {
        height: 300px;
    }

    .decorative-box {
        height: 200px;
    }
}
