/* Global Styles - Nuansa Merah Membara */
:root {
    --primary-red: #e63946;
    --dark-red: #d90429;
    --light-red: #ff686b;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --dark-text: #2b2d42;
    --gold: #fca311;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
    --flame-gradient: linear-gradient(45deg, var(--primary-red), var(--gold));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--off-white);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

/* Header Berapi */
.fiery-header {
    background: var(--flame-gradient);
    color: var(--white);
    padding: 20px 0;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.fiery-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.imgur.com/6zQYXJk.png') center/cover no-repeat;
    opacity: 0.1;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 100px 0 150px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero h1 span {
    color: var(--white);
    display: inline-block;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-red);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-flame {
    background: var(--dark-red);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn-flame:hover {
    background: var(--primary-red);
}

.btn-flame::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    transition: all 0.3s ease;
}

.btn-flame:hover::after {
    left: 100%;
}

/* Sections Berapi */
.fiery-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

.fiery-section.alt-bg {
    background-color: var(--off-white);
}

.fiery-section h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark-red);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.fiery-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--flame-gradient);
    border-radius: 2px;
}

.flame-icon {
    color: var(--gold);
    margin: 0 10px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-text {
    padding-right: 30px;
}

.content-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.history-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.5s ease;
    border: 5px solid var(--white);
}

.history-image:hover {
    transform: scale(1.03);
}

/* Value Cards */
.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--flame-gradient);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
}

.card h3 {
    margin-bottom: 20px;
    color: var(--dark-red);
    font-size: 1.5rem;
}

/* Figure Grid - Sang Patriot */
.figure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.figure {
    text-align: center;
}

.flame-border {
    width: 220px;
    height: 220px;
    margin: 0 auto 25px;
    border-radius: 50%;
    padding: 10px;
    background: var(--flame-gradient);
    position: relative;
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.3);
}

.figure-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
}

.figure h4 {
    color: var(--dark-red);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.figure p {
    color: var(--dark-text);
    font-style: italic;
}

/* Action Box */
.action-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.action-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--flame-gradient);
}

.action-illustration {
    width: 150px;
    margin-bottom: 30px;
}

.action-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-text);
}

.fiery-form input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 50px;
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.fiery-form input:focus {
    border-color: var(--primary-red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}

/* Footer Berapi */
.fiery-footer {
    background: var(--dark-red);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.fiery-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--flame-gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-logo {
    width: 80px;
    opacity: 0.8;
}

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Hero Flame Illustration */
.hero-flame {
    position: absolute;
    right: 5%;
    bottom: -100px;
    width: 40%;
    max-width: 500px;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(230, 57, 70, 0.4));
    animation: flicker 3s infinite alternate;
}

@keyframes flicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .content-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-flame {
        position: relative;
        width: 80%;
        right: auto;
        bottom: auto;
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 30px;
    }
    
    .nav-links li {
        margin: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .figure-grid {
        grid-template-columns: 1fr;
    }
    
    .flame-border {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .action-box {
        padding: 30px 20px;
    }
}