/* ===== Portland Arena Sdn Bhd - Static Site Styles ===== */

:root {
    --brand: #14539b;
    --brand-dark: #0f1e3d;
    --accent: #00b4d8;
    --text: #2b2b2b;
    --muted: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f4f7fb;
    --border: #e3e8ef;
    --maxw: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 72px;
    flex-wrap: nowrap;
    overflow: visible;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    margin-right: auto;
}

.brand-logo {
    height: 130px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

.brand-name {
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: #111;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover {
    color: var(--brand);
    border-bottom-color: var(--accent);
}

.header-contact {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.85rem;
    text-align: right;
    margin-left: 1.75rem;
}

.header-contact a {
    color: #111;
    text-decoration: none;
}

.header-contact a:hover {
    color: var(--brand);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .header-contact {
        display: none;
    }
}

@media (max-width: 760px) {
    .site-nav {
        width: 100%;
        order: 3;
    }

    .site-nav ul {
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
        padding: 0.5rem 0 0.75rem;
    }
}

/* ===== Footer ===== */
.site-footer {
    background: #ffd400;
    color: #111;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 1.25rem 2rem;
}

.footer-col h4 {
    color: #111;
    margin: 0 0 1rem;
    font-size: 1.05rem;
}

.footer-col p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #111;
}

.footer-links,
.footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-social li {
    margin-bottom: 0.4rem;
}

.footer-links a,
.footer-social a {
    color: #111;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #111;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Section base ===== */
.section {
    padding: 4.5rem 0;
}

#clients {
    background: #fff;
}

#partners {
    background: #edf2f9;
}

#contact {
    background: #f7f5f0;
}

#about {
    background: #eef2f7;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.eyebrow {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.section-head h2 {
    font-size: 2rem;
    margin: 0 0 0.75rem;
    color: var(--brand-dark);
}

.section-head p {
    color: var(--muted);
    margin: 0;
}

/* ===== About Us ===== */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 1.75rem;
    margin: 0.5rem 0 1.25rem;
    color: var(--brand-dark);
    line-height: 1.25;
}

.about-text p {
    color: #444;
    margin: 0 0 1rem;
    line-height: 1.7;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    box-shadow: 0 12px 30px -12px rgba(15, 30, 61, 0.25);
    border-radius: 10px;
    background: #fff;
    padding: 1rem;
}

@media (max-width: 860px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        margin-bottom: 1rem;
    }

    .about-image img {
        max-height: 160px;
    }
}

/* ===== Hero ===== */
.hero {
    background: #f9d035;
    color: #111;
    padding: 5rem 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.75rem;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: #111;
}

.hero-text p {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 1.75rem;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.carousel-btn:hover {
    background: #fff;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.dot.active,
.dot:hover {
    background: #fff;
}

@media (max-width: 860px) {
    .hero-carousel {
        height: 280px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.1rem;
    }
}

@media (max-width: 560px) {
    .hero-carousel {
        height: 220px;
    }
}

/* ===== Clients ===== */
.client-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.client-grid.two {
    gap: 4rem;
}

.client-logo {
    width: 250px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ===== Partners ===== */
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.partner-logo {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem;
}

.contact-info p {
    margin: 0 0 0.75rem;
    color: var(--text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand);
}

.contact-status {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    display: none;
}

.contact-status.success {
    display: block;
    background: #e6f7ec;
    color: #1a7f37;
    border: 1px solid #b7e4c7;
}

.contact-status.error {
    display: block;
    background: #fdecec;
    color: #b3261e;
    border: 1px solid #f3c1c0;
}

.contact-btn {
    align-self: flex-start;
    background: #e0e0e0;
    color: #111;
    border: 1px solid #ccc;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-btn:hover {
    background: #d0d0d0;
}

@media (max-width: 760px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
