/* =========================================================
   PT. SERE NIAGA BERJAYA
   CORPORATE WEBSITE
========================================================= */

:root {
    --navy: #062b63;
    --navy-dark: #031a3d;
    --blue: #0b4b9b;
    --red: #ed1c24;
    --white: #ffffff;
    --light: #f5f8fc;
    --text: #18345b;
    --muted: #66758a;
    --border: #dce5ef;
}


/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================
   HEADER
========================= */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 92px;
    background: rgba(255,255,255,0.98);
    z-index: 1000;
    border-bottom: 1px solid #e8edf3;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.nav-container {
    width: 92%;
    max-width: 1400px;
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    gap: 35px;
}


/* =========================
   LOGO
========================= */

.brand {
    flex-shrink: 0;
}

.brand-logo {
    width: 245px;
}

.brand-logo img {
    width: 100%;
    height: auto;
}


/* =========================
   MENU
========================= */

.navigation {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 34px;
}

.navigation a {
    position: relative;

    font-size: 15px;
    font-weight: 600;

    color: #18345b;

    padding: 35px 0;
}

.navigation a:hover {
    color: var(--red);
}

.navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 23px;

    width: 0;
    height: 3px;

    background: var(--red);

    transition: 0.3s;
}

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}


/* =========================
   BUTTON HEADER
========================= */

.header-button {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 13px 23px;

    border-radius: 30px;

    background: var(--navy);
    color: white;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    transition: 0.3s;
}

.header-button:hover {
    background: var(--red);
}


/* =========================
   MOBILE BUTTON
========================= */

.mobile-menu {
    display: none;

    border: none;
    background: none;

    font-size: 28px;
    color: var(--navy);

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;

    height: 690px;

    margin-top: 92px;

    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.98) 0%,
            rgba(255,255,255,0.90) 35%,
            rgba(255,255,255,0.20) 70%,
            rgba(255,255,255,0.05) 100%
        ),
        url("assets/hero.png");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-container {
    position: relative;
    z-index: 2;

    width: 92%;
    max-width: 1400px;

    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
}

.hero-content {
    width: 620px;
}

.hero-line {
    width: 55px;
    height: 5px;

    background: var(--red);

    margin-bottom: 20px;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(43px, 5vw, 68px);

    line-height: 1.08;

    color: var(--navy-dark);

    margin-bottom: 23px;
}

.hero-tagline {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 20px;
}

.hero-tagline span {
    width: 48px;
    height: 4px;

    background: var(--red);
}

.hero-tagline strong {
    font-size: 13px;
    letter-spacing: 5px;
    color: var(--navy);
}

.hero p {
    max-width: 570px;

    font-size: 17px;

    line-height: 1.8;

    color: #344b68;

    margin-bottom: 30px;
}


/* =========================
   HERO BUTTON
========================= */

.hero-buttons {
    display: flex;
    gap: 14px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding: 15px 28px;

    background: var(--red);
    color: white;

    border-radius: 30px;

    font-weight: 700;

    box-shadow: 0 10px 25px rgba(237,28,36,0.25);

    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #c9141b;
}

.btn-primary span {
    font-size: 21px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;

    padding: 13px 25px;

    border: 2px solid var(--navy);

    border-radius: 30px;

    color: var(--navy);

    font-weight: 700;

    transition: 0.3s;
}

.btn-secondary:hover {
    background: var(--navy);
    color: white;
}


/* =========================
   DOTS
========================= */

.hero-dots {
    position: absolute;

    bottom: 22px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 9px;

    z-index: 10;
}

.dot {
    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: white;

    border: 1px solid #aaa;
}

.dot.active {
    background: var(--red);
    border-color: var(--red);
}


/* =========================
   HIGHLIGHTS
========================= */

.highlights {
    background: white;

    box-shadow: 0 5px 20px rgba(0,0,0,0.05);

    position: relative;
    z-index: 5;
}

.highlights-container {
    width: 92%;
    max-width: 1400px;

    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.highlight-item {
    display: flex;
    align-items: center;

    gap: 17px;

    padding: 30px 22px;

    border-right: 1px solid var(--border);
}

.highlight-item:last-child {
    border-right: none;
}

.highlight-icon {
    min-width: 58px;
    width: 58px;
    height: 58px;

    border-radius: 50%;

    background: #edf4fd;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;
}

.highlight-item h3 {
    font-family: Georgia, "Times New Roman", serif;

    color: var(--navy);

    font-size: 18px;

    margin-bottom: 3px;
}

.highlight-item p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.5;
}


/* =========================
   GENERAL SECTION
========================= */

.section-container {
    width: 92%;
    max-width: 1400px;

    margin: auto;
}

.section-label {
    color: var(--red);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 4px;

    margin-bottom: 15px;
}

.section-heading {
    max-width: 720px;

    margin-bottom: 50px;
}

.section-heading h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(36px, 4vw, 55px);

    line-height: 1.15;

    color: var(--navy);

    margin-bottom: 18px;
}

.section-heading p {
    color: var(--muted);

    font-size: 16px;
}


/* =========================
   TENTANG KAMI
========================= */

.about-section {
    padding: 110px 0;

    background: white;
}

.about-section .section-container {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.about-content h2 {
    font-family: Georgia, "Times New Roman", serif;

    color: var(--navy);

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.15;

    margin-bottom: 25px;
}

.about-content p {
    color: var(--muted);

    font-size: 16px;

    margin-bottom: 17px;
}

.outline-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    margin-top: 12px;

    padding: 12px 24px;

    border: 2px solid var(--navy);

    border-radius: 30px;

    color: var(--navy);

    font-weight: 700;
}

.outline-button:hover {
    background: var(--navy);
    color: white;
}


/* =========================
   ABOUT IMAGE
========================= */

.about-visual {
    position: relative;
}

.about-image {
    height: 450px;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 20px 50px rgba(6,43,99,0.15);
}

.image-placeholder {
    width: 100%;
    height: 100%;

    background-image:
        linear-gradient(
            135deg,
            rgba(6,43,99,0.75),
            rgba(6,43,99,0.15)
        ),
        url("assets/about.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;

    color: white;
}

.ship-symbol {
    font-size: 65px;
}

.image-placeholder span {
    font-weight: 700;
    letter-spacing: 3px;
}


/* =========================
   STATISTICS
========================= */

.stats-card {
    position: absolute;

    left: 35px;
    right: 35px;

    bottom: -35px;

    background: rgba(6,43,99,0.97);

    border-radius: 15px;

    padding: 24px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    box-shadow: 0 15px 35px rgba(6,43,99,0.25);
}

.stat {
    text-align: center;

    color: white;

    border-right: 1px solid rgba(255,255,255,0.2);
}

.stat:last-child {
    border-right: none;
}

.stat strong {
    display: block;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 32px;
}

.stat span {
    font-size: 13px;

    opacity: 0.85;
}


/* =========================
   VALUES
========================= */

.values-section {
    padding: 110px 0;

    background: var(--light);
}

.values-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.value-card {
    background: white;

    padding: 40px;

    border-radius: 16px;

    border: 1px solid var(--border);

    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 20px 40px rgba(6,43,99,0.10);
}

.value-number {
    color: var(--red);

    font-weight: 800;

    margin-bottom: 18px;
}

.value-card h3 {
    font-family: Georgia, "Times New Roman", serif;

    color: var(--navy);

    font-size: 30px;

    margin-bottom: 12px;
}

.value-card p {
    color: var(--muted);
}


/* =========================
   PRODUCTS
========================= */

.products-section {
    padding: 110px 0;
}

.products-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.product-card {
    padding: 35px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: white;

    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 20px 40px rgba(6,43,99,0.10);
}

.product-icon {
    font-size: 40px;

    margin-bottom: 18px;
}

.product-card h3 {
    font-family: Georgia, "Times New Roman", serif;

    color: var(--navy);

    font-size: 22px;

    margin-bottom: 10px;
}

.product-card p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================
   SERVICES
========================= */

.services-section {
    padding: 110px 0;

    background: var(--light);
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.service-card {
    background: white;

    padding: 35px;

    min-height: 250px;

    border-radius: 15px;

    border: 1px solid var(--border);
}

.service-number {
    display: block;

    color: var(--red);

    font-weight: 800;

    margin-bottom: 32px;
}

.service-card h3 {
    font-family: Georgia, "Times New Roman", serif;

    color: var(--navy);

    font-size: 22px;

    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================
   CTA
========================= */

.cta-section {
    padding: 80px 0;

    background: linear-gradient(
        120deg,
        var(--navy-dark),
        var(--navy)
    );

    color: white;
}

.cta-container {
    width: 92%;
    max-width: 1400px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.section-label.light {
    color: #ff5961;
}

.cta-container h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(32px, 4vw, 50px);

    line-height: 1.15;

    margin-bottom: 15px;
}

.cta-container p {
    opacity: 0.85;
}

.cta-button {
    padding: 15px 28px;

    background: var(--red);

    color: white;

    border-radius: 30px;

    font-weight: 700;

    white-space: nowrap;
}

.cta-button:hover {
    background: white;

    color: var(--navy);
}


/* =========================
   CONTACT
========================= */

.contact-section {
    padding: 110px 0;
}

.contact-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.contact-item {
    display: flex;

    gap: 17px;

    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 14px;
}

.contact-icon {
    font-size: 25px;
}

.contact-item h3 {
    font-family: Georgia, "Times New Roman", serif;

    color: var(--navy);

    font-size: 18px;
}

.contact-item p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: var(--navy-dark);

    color: white;

    padding-top: 60px;
}

.footer-container {
    width: 92%;
    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 45px;
}

.footer-brand img {
    width: 250px;

    margin-bottom: 18px;

    background: white;

    padding: 7px;

    border-radius: 7px;
}

.footer-brand p {
    max-width: 350px;

    color: #b8c6d9;
}

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.footer-links h4 {
    margin-bottom: 10px;
}

.footer-links a,
.footer-links p {
    color: #b8c6d9;

    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    width: 92%;
    max-width: 1400px;

    margin: auto;

    padding: 22px 0;

    border-top: 1px solid rgba(255,255,255,0.1);

    display: flex;

    justify-content: space-between;

    color: #91a4bf;

    font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .brand-logo {
        width: 210px;
    }

    .navigation {
        gap: 18px;
    }

    .navigation a {
        font-size: 13px;
    }

    .header-button {
        padding: 11px 16px;
        font-size: 12px;
    }

    .hero-content {
        width: 560px;
    }

    .products-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .main-header {
        height: 76px;
    }

    .brand-logo {
        width: 180px;
    }

    .navigation,
    .header-button {
        display: none;
    }

    .mobile-menu {
        display: block;

        margin-left: auto;
    }

    .hero {
        margin-top: 76px;

        height: 650px;
    }

    .hero-background {
        background-image:
            linear-gradient(
                180deg,
                rgba(255,255,255,0.95),
                rgba(255,255,255,0.60)
            ),
            url("assets/hero.png");
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-tagline strong {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .hero-buttons a {
        justify-content: center;
    }

    .highlights-container {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .about-section .section-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .about-image {
        height: 350px;
    }

    .stats-card {
        position: relative;

        left: 15px;
        right: 15px;

        bottom: 25px;

        width: calc(100% - 30px);
    }

    .values-grid,
    .products-grid,
    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-container {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .brand-logo {
        width: 160px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-tagline strong {
        font-size: 9px;

        letter-spacing: 2px;
    }

    .hero-buttons a {
        width: 100%;
    }

    .stats-card {
        padding: 18px 10px;
    }

    .stat strong {
        font-size: 24px;
    }
}