* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-image: url(img/art.jpeg);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Background stay saat di scroll */
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}


header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo p {
    font-size: 28px;
    font-weight: 800;
    color: black;
    margin: 0 0 0 5em;
    
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.5s;
}

.nav-links a:hover {
    color: rgb(17, 120, 186);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #333; 
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    
    overflow: hidden; 
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px; 
    width: 100%;
}

.hero-card {
    color: white;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 40%;
    max-width: 580px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-card{
    background-color: rgb(33, 151, 194);
}

.info-card .date-box {
    font-size: 25px;
    font-weight: 700;
}

.catalog-card {
    background-color: rgb(17, 120, 186);
    text-align: right;
    align-items: flex-end;
}

.catalog-card p {
    font-size: 34px;
    position: relative;
    z-index: 3;
}

.info-card h2{
    font-size: 48px; 
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    z-index: 3;
}

.catalog-card h2 {
    font-size: 40px; 
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    z-index: 3;
}

.catalog-card h2 {
    margin-bottom: 15px;
}

.catalog-card .btn {
    background-color: white;
    color: rgb(255, 0, 127);
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;   
    font-size: 18px;
    display: inline-block;
    position: relative;
    z-index: 3; 
    overflow: hidden;
}

.catalog-card .btn span {
    position: relative;
    z-index: 2; 
    transition: color 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.catalog-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   
    background-color: rgba(255, 0, 127, 0.8);
    z-index: 1; 
    transform: translateX(-101%); 
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.catalog-card .btn:hover::before {
    transform: translateX(0);
}

.catalog-card .btn:hover span {
    color: white;
}

.catalog-char-img {
    position: absolute;
    width: 320px;
    left: -45px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.info-char-img{
    position: absolute;
    width: 150px; 
    bottom: -2px;
    right: -5px;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 1080px) {
    .hero-content {
        flex-direction: column;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .hero-card {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .logo p{
        margin: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex; 
        flex-direction: column; 
        text-align: center;
        position: absolute;
        top: 53px; 
        left: 0;
        right: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.8   );
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transform: translateY(-20px); 
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s;
    }
    
    .nav-links.active {
        opacity: 1;
        transform: translateY(0); 
        visibility: visible;
        pointer-events: auto; 
    }

    .nav-links li {
        padding: 18px 0;
        width: 100%;
    }

    .info-card h2 {
        font-size: 32px;
    }
    .catalog-card p{
        font-size: 24px;
    }
    .catalog-card h2{
        font-size: 20px;
    }
    .info-card .date-box {
        font-size: 24px;
    }

    .hero-card {
        width: 90%;
        padding: 20px;
    }
    .info-card{
        padding: 40px 20px;
    }
    .info-char-img{
        width: 115px;
    }
    .catalog-char-img{
        width: 200px;
        left: -25px;
    }
    .catalog-card .btn{
        padding: 10px 20px;
        font-size: 10px;
    }
}

.content-section {
    padding: 50px;
    min-height: 10vh;
}

footer {
    background-color: #2a2a2a;
    color: #a0a0a0;
    padding: 25px 0;
    border-top: 1px solid #444;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright-simple {
    font-size: 16px;
    color: #a0a0a0;
}

.footer-social-simple {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social-simple h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.footer-social-simple .social-icons a {
    color: #ffffff;
    text-decoration: none;
    font-size: 35px;
    font-weight: bold;
    margin-left: 10px;
    transition: color 0.3s;
    padding: 0px 15px;
}

.footer-social-simple .social-icons a:hover {
    color: rgb(17, 120, 186);
}