@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Lato:wght@400;700&display=swap');
:root {
    --primary-color: #007BFF; 
    --secondary-color: #086AD8;
    --dark-color: #212529;   
    --light-color: #f8f9fa;  
    --white-color: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--dark-color);
}

/* === ANIMASI === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 16px rgba(0, 123, 255, 0.8);
    }
}

/* === GENERAL STYLING === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.section-padding {
    padding: 64px 16px;
}

/* === NAVIGASI === */
.navbar {
    font-family: 'Poppins', sans-serif;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.navbar .w3-button {
    transition: background-color 0.3s;
}

/* === HERO SECTION === */
.hero-section {
    background-color: var(--light-color);
    text-align: center;
}

.profile-pic {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6c757d; /* Abu-abu sekunder */
    max-width: 600px;
    margin: auto;
}

/* === BUTTON === */
.cta-button {
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    margin: 8px !important;
    transition: all 0.3s ease;
    animation: subtle-glow 3s infinite;
}

.cta-button:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* === SLIDESHOW === */
.slideshow-container {
    max-width: 800px;
    margin: auto;
    background: var(--white-color);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mySlides {
    border-radius: 4px;
}

/* === PROJECT PAGE STYLES === */
.page-header {
    background-color: var(--light-color);
    text-align: center;
}

.project-card {
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.project-card .project-image {
    width: 100%;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.tech-tag {
    display: inline-block;
    background-color: #e9ecef;
    color: var(--dark-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    margin: 2px;
    font-family: 'Poppins', sans-serif;
}

.modal-link {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.modal-link:hover {
    color: var(--secondary-color);
}

/* === ABOUT PAGE STYLES === */
.philosophy-icon {
    font-size: 2rem;
    color: var(--primary-color);
    float: left;
    margin-right: 16px;
}

.accordion-button {
    background-color: var(--white-color);
    border: 1px solid #ddd;
    margin-top: -1px; 
    padding: 18px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s;
}

.accordion-button:hover {
    background-color: #f1f1f1 !important;
}

.accordion-button.active {
    background-color: var(--light-color) !important;
}

.accordion-button::after {
    content: '\002B'; 
    color: var(--primary-color);
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.accordion-button.active::after {
    content: "\2212"; 
}

.accordion-panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    border: 1px solid #ddd;
    border-top: 0;
}

/* === SERVICES & SKILLS PAGE STYLES === */
.service-card {
    text-align: center;
    padding: 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    text-align: center;
}

.skill-box {
    background-color: var(--white-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.skill-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.skill-box i {
    font-size: 2.5rem;
    color: var(--dark-color);
}

.skill-box p {
    margin: 10px 0 0 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 10px;
}

.cta-section h2 {
    color: var(--white-color);
}

/* === CONTACT PAGE STYLES === */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 16px;
    width: 30px;
}

.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .section-padding {
        padding: 48px 16px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }
}