/* ==========================================
   BNI DRIVE - Styles
   ========================================== */

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-red: #C8102E;
    --color-red-dark: #A00D24;
    --color-red-light: #E8334D;
    --color-dark: #545454;
    --color-dark-2: #4A4A4A;
    --color-gray-900: #3D3D3D;
    --color-gray-700: #555555;
    --color-gray-400: #AAAAAA;
    --color-gray-200: #E8E8E8;
    --color-gray-100: #F5F5F5;
    --color-white: #FFFFFF;

    --font-heading: 'Catamaran', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-max: 1200px;
    --section-padding: 100px 0;
    --section-padding-mobile: 60px 0;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-900);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* --- CONTAINER --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-700);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

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

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}

.btn--primary:hover {
    background: var(--color-red-dark);
    border-color: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn--full {
    width: 100%;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 0 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar__logo {
    display: flex;
    align-items: center;
}

.navbar__logo-img {
    height: 64px;
    width: auto;
    border-radius: 4px;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar__list {
    display: flex;
    gap: 4px;
}

.navbar__link {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--color-red);
    transition: var(--transition);
}

.navbar__link:hover {
    background: var(--color-red-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(200, 16, 46, 0.3);
}

.navbar__cta {
    margin-left: 16px;
    padding: 10px 24px;
    font-size: 0.875rem;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span {
    background: var(--color-white);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-dark);
    overflow: hidden;
    padding-top: 80px;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.82) 0%, rgba(30, 30, 30, 0.65) 50%, rgba(200, 16, 46, 0.15) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(200, 16, 46, 1) 0%, transparent 100%);
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 680px;
}

.hero__label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-red-light);
    margin-bottom: 16px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero__drive {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Bolid button */
.btn-bolid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 240px;
    height: 80px;
    margin-left: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-bolid:hover {
    transform: translateX(8px);
}

.btn-bolid__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.btn-bolid:hover .btn-bolid__img {
    filter: brightness(0.85);
}

.btn-bolid__text {
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    padding-right: 20px;
    transition: var(--transition);
}

.btn-bolid:hover .btn-bolid__text {
    color: var(--color-white);
}

/* --- STATS --- */
.stats {
    background: var(--color-red);
    padding: 48px 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat__label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* --- ABOUT --- */
.about {
    padding: var(--section-padding);
    background: var(--color-white);
}

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

.about__text .section-title {
    margin-bottom: 24px;
}

.about__text p {
    color: var(--color-gray-700);
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about__placeholder {
    background: var(--color-gray-200);
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
    font-size: 1.1rem;
    font-weight: 500;
    border: 2px dashed var(--color-gray-400);
}

/* --- VALUES --- */
.values {
    padding: var(--section-padding);
    background: var(--color-gray-100);
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.value-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--color-red);
}

.value-card__icon svg {
    width: 100%;
    height: 100%;
}

.value-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.value-card__text {
    color: var(--color-gray-700);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- MEMBERS --- */
.members {
    padding: var(--section-padding);
    background: var(--color-white);
}

.members__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.member-card {
    background: var(--color-gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.member-card__photo {
    aspect-ratio: 1;
    background: var(--color-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
    font-size: 3rem;
}

.member-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-card__info {
    padding: 20px;
}

.member-card__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.member-card__company {
    font-size: 0.9rem;
    color: var(--color-red);
    font-weight: 600;
    margin-bottom: 4px;
}

.member-card__role {
    font-size: 0.85rem;
    color: var(--color-gray-700);
}

/* Member badge (role) */
.member-card__badge {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-red);
    background: rgba(200, 16, 46, 0.08);
    border: 1px solid rgba(200, 16, 46, 0.2);
    border-radius: 20px;
}

/* Power Team titles */
.members__team-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-gray-700);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-red);
    display: inline-block;
}

.members__team-title:first-of-type {
    margin-top: 0;
}

/* --- CTA SECTION --- */
.cta-section {
    padding: var(--section-padding);
    background: var(--color-dark);
    text-align: center;
}

.cta-section__inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-section__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-section__details {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
}

.cta-detail {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.cta-detail strong {
    color: var(--color-red-light);
}

/* --- CONTACT --- */
.contact {
    padding: var(--section-padding);
    background: var(--color-gray-100);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    transition: var(--transition);
    color: var(--color-gray-900);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact__card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.contact__card p {
    color: var(--color-gray-700);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Social buttons */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--color-red);
    color: var(--color-red-light);
    background: rgba(200, 16, 46, 0.1);
}

.social-btn--sm {
    width: 36px;
    height: 36px;
    border-color: var(--color-gray-200);
    color: var(--color-gray-700);
}

.social-btn--sm:hover {
    border-color: var(--color-red);
    color: var(--color-red);
    background: rgba(200, 16, 46, 0.05);
}

/* CTA social section */
.cta-section__social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

/* CTA detail link */
.cta-detail__link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.cta-detail__link:hover {
    color: var(--color-red-light);
}

/* Contact social buttons */
.contact__social-btns {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

/* Contact map link */
.contact__map-link {
    color: var(--color-gray-700);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

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

/* Form success */
.form-success {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
}

.form-success p {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-dark);
}

/* --- FOOTER --- */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 24px;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__logo-img {
    height: 44px;
    width: auto;
    border-radius: 4px;
}

.footer__tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--color-white);
}

.footer__social {
    display: flex;
    gap: 16px;
}

.footer__social a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

.footer__social svg {
    width: 22px;
    height: 22px;
}

.footer__bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 992px) {
    .hero__title {
        font-size: 2.8rem;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact__inner {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Mobile nav */
    .hamburger {
        display: block;
    }

    .navbar__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(84, 84, 84, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1050;
    }

    .navbar__menu.active {
        opacity: 1;
        visibility: visible;
    }

    .navbar__list {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .navbar__link {
        font-size: 1.2rem;
        padding: 12px 24px;
        color: rgba(255, 255, 255, 0.8);
    }

    .navbar__link:hover {
        color: var(--color-white);
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar__cta.btn-bolid {
        margin-left: 0;
        margin-top: 16px;
        width: 260px;
        height: 86px;
    }

    /* Hero mobile */
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 1.05rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        text-align: center;
    }

    /* Stats mobile */
    .stats__grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat__number {
        font-size: 2rem;
    }

    /* CTA mobile */
    .cta-section__title {
        font-size: 2rem;
    }

    .cta-section__details {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }

    .stats__grid {
        grid-template-columns: 1fr;
    }

    .members__grid {
        grid-template-columns: 1fr;
    }
}
