* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f0f2f5;
    color: #333;
    overflow-x: hidden;
}

/* Header Mahakarya */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.header-container {
    position: relative;
    z-index: 2;
}

.header-top {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    margin-right: 2rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.marquee-content i {
    color: #3498db;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header-logo img {
    width: 120px;
    animation: fadeIn 1s ease-in;
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: rotate(10deg) scale(1.1);
}

.header-title {
    text-align: center;
    flex: 1;
}

.header-title h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    animation: slideUp 1s ease-in;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-title p {
    font-size: 1.2rem;
    animation: slideUp 1.2s ease-in;
    color: #d1e4ff;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #3498db;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: #1e3c72;
}

.btn-secondary:hover {
    background: #3498db;
    border-color: #3498db;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    z-index: 1;
    animation: waveMove 15s infinite linear;
}

/* Animations */
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes waveMove {
    0% { background-position: 0 0; }
    100% { background-position: 1440px 0; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .header-title h1 {
        font-size: 2rem;
    }

    .header-actions {
        margin-top: 1.5rem;
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .marquee-content span {
        font-size: 0.8rem;
    }
}

/* Navigation */
nav {
    background: rgba(44, 62, 80, 0.95);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    background: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    animation: fadeInUp 0.8s ease-in;
}

h2 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

/* Slider */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

.slides {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slides img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(80%);
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 1rem;
    border-radius: 5px;
    animation: slideUp 1s ease-in;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(52, 152, 219, 0.8);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: #1e3c72;
}

#prevBtn { left: 20px; }
#nextBtn { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #3498db;
}

/* Profil */
.profil-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profil-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.detail-item i {
    color: #3498db;
    font-size: 1.5rem;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 1.5rem;
    background: #fff;
    text-align: center;
}

.gallery-caption h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
/* Footer Mahakarya */
footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.footer-container {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem 2rem;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,192L48,176C96,160,192,128,288,133.3C384,139,480,181,576,192C672,203,768,181,864,154.7C960,128,1056,96,1152,106.7C1248,117,1344,171,1392,197.3L1440,224L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: cover;
    z-index: 0;
    animation: waveMove 10s infinite linear;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto 2rem;
}

.footer-section {
    padding: 1rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: #fff;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

.about p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #d1e4ff;
}

.footer-logo img {
    width: 80px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #a9c6e2;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.8rem;
    color: #3498db;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.social-link.facebook:hover { background: #3b5998; }
.social-link.instagram:hover { background: #e1306c; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.youtube:hover { background: #ff0000; }

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #d1e4ff;
}

.footer-credits {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.footer-credits i {
    color: #e74c3c;
    animation: heartbeat 1.5s infinite;
}

/* Animations */
@keyframes waveMove {
    0% { background-position: 0 0; }
    100% { background-position: 1440px 0; }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    20% { transform: scale(1.2); }
    40% { transform: scale(1); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-wave {
        height: 50px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    nav ul { flex-direction: column; gap: 1rem; }
    .slides img { height: 300px; }
    header h1 { font-size: 1.8rem; }
    .section { padding: 1.5rem; }
    .gallery { grid-template-columns: 1fr; }
}