/* General Styles */
:root {
    --red-color: #FF0000;
    --white-color: #FFFFFF;
    --light-grey-color: #f5f5f5;
    --dark-grey-color: #333333;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    color: var(--dark-grey-color);
    background-color: var(--white-color);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--red-color);
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    color: var(--red-color);
    font-weight: 700;
}

/* Header & Navigation */
header {
    background-color: var(--white-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-grey-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--red-color);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul a {
    font-weight: 400;
    color: var(--dark-grey-color);
    transition: color 0.3s;
}

nav ul a:hover {
    color: var(--red-color);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--light-grey-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.hero-image {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.logo a img {
    height: 40px; /* Atur tinggi gambar logo */
    width: auto; /* Lebar akan menyesuaikan secara proporsional */
    display: block; /* Agar tidak ada ruang kosong di bawah gambar */
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--red-color);
    color: var(--white-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #d40000;
}

/* Features Section */
.features {
    padding: 4rem 0;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.features-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-item {
    flex: 1 1 200px;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--light-grey-color);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 3rem;
    color: var(--red-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-top: 0;
}

/* Article Section */
.article-section {
    padding: 4rem 0;
    background-color: var(--white-color);
}

.article-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

/* Footer & Contact */
footer {
    background-color: var(--red-color);
    color: var(--white-color);
    text-align: center;
    padding: 3rem 0;
}

.footer-content .logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-content p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.footer-content .social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    color: var(--white-color);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--light-grey-color);
}

.copyright {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll to Top Button */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--red-color);
    color: var(--white-color);
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #d40000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .features-grid {
        flex-direction: column;
    }

    .feature-item {
        width: 100%;
    }
}