@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- Variables & Reset --- */
:root {
    --primary-red: #E3000F; /* Flag Red */
    --hover-red: #B3000C; 
    --dark-red: #590005;
    
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    
    --font-main: 'Outfit', sans-serif;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.text-red {
    color: var(--primary-red);
}

.bg-red {
    background-color: var(--primary-red) !important;
    color: #fff !important;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #000;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title.center {
    text-align: center;
}

.title-underline {
    width: 80px;
    height: 5px;
    background: var(--primary-red);
    margin-bottom: 30px;
    border-radius: 5px;
}

.title-underline.center-line {
    margin: 0 auto 40px auto;
}

.bg-light {
    background-color: var(--bg-light);
}

/* --- Glassmorphism Panels --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    padding: 15px 0;
    border-bottom: 1px solid rgba(227, 0, 15, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}
.brand-text {
    font-weight: 800;
    font-size: 1.1rem;
    color: #000;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -8px;
    left: 0;
    background-color: var(--primary-red);
    transition: var(--transition);
    border-radius: 3px;
}

.nav-link:hover {
    color: var(--primary-red);
}

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

.nav-link.btn-katalog {
    background-color: var(--primary-red);
    color: var(--bg-white);
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(227, 0, 15, 0.3);
}
.nav-link.btn-katalog::after {
    display: none;
}
.nav-link.btn-katalog:hover {
    background-color: var(--hover-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 0, 15, 0.4);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--bg-white);
    box-shadow: 0 10px 25px rgba(227, 0, 15, 0.3);
}

.btn-primary:hover {
    background-color: var(--hover-red);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(227, 0, 15, 0.4);
}

.btn-outline-red {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    margin-left: 15px;
}

.btn-outline-red:hover {
    background-color: var(--primary-red);
    color: var(--bg-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(227, 0, 15, 0.2);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-white);
}

/* Decorative Backgrounds */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.15;
}
.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-red);
    top: -200px;
    right: -100px;
    animation: blobAnim 15s infinite alternate ease-in-out;
}
.blob-2 {
    width: 400px;
    height: 400px;
    background: #000;
    bottom: -100px;
    left: -100px;
    animation: blobAnim2 12s infinite alternate ease-in-out;
}

@keyframes blobAnim {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}
@keyframes blobAnim2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, -50px) scale(1.2); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-right: 20px;
}

.badge-wrapper {
    margin-bottom: 25px;
}
.hero-badge {
    display: inline-block;
    background: rgba(227, 0, 15, 0.1);
    color: var(--primary-red);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(227, 0, 15, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 25px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.8;
    color: var(--text-muted);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}
.stat-divider {
    width: 2px;
    height: 50px;
    background-color: rgba(0,0,0,0.1);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-inner {
    padding: 50px;
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.hero-main-img {
    width: 90%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

.floating-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.dec-circle {
    position: absolute;
    width: 120%;
    height: 120%;
    border: 2px dashed rgba(227, 0, 15, 0.2);
    border-radius: 50%;
    top: -10%;
    left: -10%;
    z-index: 1;
    animation: spinNav 40s linear infinite;
}

@keyframes spinNav {
    100% { transform: rotate(360deg); }
}

/* --- About Us --- */
.about {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-desc {
    font-size: 1.15rem;
    margin-bottom: 25px;
    color: var(--text-muted);
    line-height: 1.8;
}

.glass-panel-img {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.about-image .floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(227, 0, 15, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    font-weight: 700;
    font-size: 1.1rem;
}

.floating-card i {
    font-size: 2rem;
}

/* --- Vision Mission --- */
.vision-mission {
    background-color: var(--bg-white);
    position: relative;
}

.vision-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
    padding: 50px;
    border-bottom: 5px solid var(--primary-red);
}

.vision-icon {
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 25px;
}

.vision-text {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: #000;
    letter-spacing: -0.5px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
    transition: var(--transition);
    border: 1px solid transparent;
}

.mission-card:hover {
    transform: translateY(-10px);
    background: var(--bg-white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: rgba(227, 0, 15, 0.1);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background: rgba(227, 0, 15, 0.1);
    color: var(--primary-red);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.mission-card:hover .mission-icon {
    background: var(--primary-red);
    color: var(--bg-white);
    transform: scale(1.1);
}

.mission-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.mission-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- Journey/Timeline --- */
.journey {
    background-color: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: rgba(227, 0, 15, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 20px 50px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: var(--bg-white);
    border: 5px solid var(--primary-red);
    top: 40px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 5px rgba(227, 0, 15, 0.1);
}

.timeline-item.right::after {
    left: -12px;
}

.timeline-content {
    padding: 35px 40px;
    transition: var(--transition);
}
.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.timeline-year {
    display: inline-block;
    padding: 8px 20px;
    background-color: #000;
    color: var(--bg-white);
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.timeline-content h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.border-red {
    border: 2px solid var(--primary-red);
}

.target-2045 {
    background: #000 !important;
    border: none;
}
.target-2045 h4, .target-2045 p {
    color: var(--bg-white);
}
.target-2045 p {
    opacity: 0.9;
}
.target-2045 .timeline-year {
    background-color: var(--primary-red);
}

/* --- Footer --- */
.footer {
    background-color: #0d0d0d;
    color: #f1f1f1;
    padding-top: 100px;
    border-top: 5px solid var(--primary-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 70px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 60px;
    background: #fff;
    padding: 5px;
    border-radius: 10px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.footer-desc {
    opacity: 0.7;
    line-height: 1.8;
    font-size: 1.1rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--bg-white);
}

.links-col ul li {
    margin-bottom: 15px;
}

.links-col ul li a {
    opacity: 0.7;
    font-weight: 500;
    font-size: 1.1rem;
}
.links-col ul li a:hover {
    opacity: 1;
    color: var(--primary-red);
    padding-left: 8px;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    align-items: center;
    opacity: 0.8;
    font-size: 1.1rem;
}
.contact-list li i {
    color: var(--primary-red);
    font-size: 1.3rem;
}

.footer-bottom {
    background-color: #000;
    padding: 35px 0;
    text-align: center;
}

.footer-bottom strong {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.copyright {
    font-size: 1rem;
    opacity: 0.5;
    margin-top: 10px;
}

/* --- Utilities & Animations --- */
.fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.fade-in-up {
    transform: translateY(50px);
}
.fade-in-left {
    transform: translateX(-50px);
}
.fade-in-right {
    transform: translateX(50px);
}
.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .about-grid {
        gap: 40px;
    }
    .timeline-item {
        padding: 20px 30px;
    }
}

@media (max-width: 900px) {
    .hero-grid, .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero {
        padding-top: 150px;
        padding-bottom: 80px;
    }
    .hero-content {
        padding-right: 0;
        order: 2;
    }
    .hero-image-wrapper {
        order: 1;
        margin-bottom: 40px;
    }
    .hero-stats {
        justify-content: center;
    }
    .btn-outline-red {
        margin-top: 15px;
        margin-left: 0;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .about-image {
        order: 1;
    }
    .about-text {
        order: 2;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }
    .timeline-item.right {
        left: 0%;
    }
    .timeline-item.left::after, .timeline-item.right::after {
        left: 16px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        padding: 40px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: var(--transition);
    }
    .nav-menu.active {
        left: 0;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
