/* ---------- ROOT & GLOBAL ---------- */

:root {
    --blue: #1E3A8A;
    --blue-soft: #233f92;
    --gold: #D4AF37;
    --bg: #050816;
    --bg-soft: #0b1020;
    --white: #ffffff;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --radius-lg: 1.5rem;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.55);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
    color: var(--text);
    line-height: 1.6;
}

/* ---------- LAYOUT HELPERS ---------- */

.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

.section {
    padding: 5rem 0 4.5rem;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0.25rem 0 0.5rem;
    color: var(--white);
}

.section-subtitle {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
}

/* ---------- BUTTONS ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), #fbbf24);
    color: #111827;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

.btn-outline {
    border-color: rgba(148, 163, 184, 0.6);
    color: var(--text);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(16px);
}

.btn-outline:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--gold);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--gold);
    background: rgba(15, 23, 42, 0.7);
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--gold);
    font-weight: 500;
}

/* subtle floating animation for main CTAs */
.btn-primary,
.btn-ghost {
    animation: floatButton 3s ease-in-out infinite;
}

@keyframes floatButton {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ---------- HEADER ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(20px);
    background: rgba(3, 7, 18, 0.86);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    gap: 1rem;
}

.brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-main {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: 0.08em;
}

.brand-tagline {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.22em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.4rem;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.1rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), #f97316);
    transition: width 0.25s ease;
}

.main-nav a:hover {
    color: var(--white);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    font-size: 0.86rem;
    color: var(--text);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.45);
}

.header-phone i {
    color: #22c55e;
}

/* Mobile nav toggle */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.26rem;
    background: transparent;
    border: none;
    padding: 0.4rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

/* ---------- HERO ---------- */

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 5rem 0 4.5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(15,23,42,0.98)),
        url("../images/vehicle-branding/vehicle-branding-eagle-truck-sideview-01.jpg");
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    transform: scale(1.06);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(37,99,235,0.45), transparent 55%);
    z-index: -1;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.3rem, 3.4vw, 3.1rem);
    margin: 0 0 0.9rem;
    color: var(--white);
}

.hero h1 span {
    color: var(--gold);
}

.hero-subtitle {
    color: var(--muted);
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.hero-highlight-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.highlight-item {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    font-size: 0.78rem;
}

.highlight-label {
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.highlight-value {
    font-weight: 600;
    color: var(--white);
}

/* HERO MEDIA – single card */

.hero-media {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,0.98));
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-card.hero-single {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.hero-card-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.9rem 1rem 1rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
}

.hero-card-overlay h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.hero-card-overlay p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.hero-card:hover img {
    transform: scale(1.05);
}

/* ---------- ABOUT ---------- */

.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-main-image {
    border-radius: 1.6rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.about-main-image img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}

/* floating card BELOW image */

.about-floating-card {
    margin-top: 1.25rem;
    max-width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 1.2rem;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.7);
    box-shadow: var(--shadow-soft);
    font-size: 0.86rem;
}

.about-label {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.about-content p {
    color: var(--muted);
}

.about-highlights {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}

.about-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.about-highlights i {
    color: #22c55e;
    margin-top: 0.15rem;
}

/* ---------- SERVICES ---------- */

.services-section {
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* Desktop: 5 in a row */
@media (min-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.service-card {
    padding: 1.4rem 1.5rem;
    border-radius: 1.4rem;
    background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.45), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
}

.service-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: var(--white);
}

.service-card h3 i {
    margin-right: 0.45rem;
    color: var(--gold);
}

.service-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ---------- PORTFOLIO ---------- */

.portfolio-section {
    padding-top: 3.2rem;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.2rem;
}

.filter-btn {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.8);
    color: var(--muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--white);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gold), #f97316);
    border-color: transparent;
    color: #111827;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.4rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
    cursor: pointer;
    transform-origin: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.portfolio-item img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.85rem 1rem 1rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.96), transparent);
}

.portfolio-item h3 {
    margin: 0 0 0.2rem;
    font-size: 0.98rem;
    color: var(--white);
}

.portfolio-item p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.9);
    border-color: var(--gold);
}

.portfolio-item:hover img {
    transform: scale(1.06);
}

.portfolio-item.hidden {
    display: none;
}

/* ---------- TESTIMONIALS ---------- */

.testimonials-section {
    padding-top: 3.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    padding: 1.4rem 1.6rem;
    border-radius: 1.6rem;
    background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.5), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-role {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
}

.testimonial-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text);
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
}

.testimonial-rating i {
    color: #fbbf24;
    margin-right: 1px;
}

.testimonial-tag {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.85);
}

/* ---------- CONTACT ---------- */

.contact-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.25), rgba(15, 23, 42, 1));
}

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: flex-start;
}

.contact-content {
    padding: 1.8rem 1.9rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.92);
    box-shadow: var(--shadow-soft);
}

.contact-content .section-subtitle {
    text-align: left;
    margin-left: 0;
}

.contact-details {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.8rem;
}

/* FIXED ALIGNMENT: center icon + text neatly */

.contact-item {
    display: flex;
    align-items: center;        /* <— center vertically */
    gap: 0.85rem;
}

.contact-item i {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 37, 84, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold);
    font-size: 0.9rem;
}

.contact-item h4 {
    margin: 0 0 0.1rem;
}

.contact-item a {
    color: var(--text);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-form-wrapper {
    padding: 1.6rem 1.8rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.42), rgba(15, 23, 42, 0.96));
    box-shadow: var(--shadow-soft);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-group {
    display: grid;
    gap: 0.35rem;
    font-size: 0.86rem;
}

.form-group label {
    color: var(--muted);
}

input,
select,
textarea {
    border-radius: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.92);
    padding: 0.6rem 0.75rem;
    color: var(--text);
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: 1px solid var(--gold);
    border-color: var(--gold);
}

textarea {
    resize: vertical;
    min-height: 130px;
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-note {
    font-size: 0.8rem;
    color: var(--muted);
}

/* contact map */

.contact-map-wrapper {
    margin-top: 2rem;
}

.contact-map {
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: var(--shadow-soft);
}

.contact-map iframe {
    width: 100%;
    height: 260px;
    border: 0;
}


/* ---------- FOOTER ---------- */

.site-footer {
    padding-top: 3.5rem;
    background: #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    gap: 2.2rem;
    padding-bottom: 2.2rem;
}

.footer-brand h3 {
    font-family: "Playfair Display", serif;
    margin: 0 0 0.5rem;
}

.footer-brand p {
    margin: 0 0 0.5rem;
}

.footer-highlight {
    color: var(--gold);
    font-size: 0.85rem;
}

.footer-column h4 {
    margin: 0 0 0.7rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.86rem;
}

.footer-column li {
    margin-bottom: 0.35rem;
}

.footer-column a {
    color: var(--muted);
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-contact i {
    margin-right: 0.45rem;
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding: 0.85rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--muted);
}

/* ---------- FLOATING WHATSAPP ---------- */

.floating-whatsapp {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(22, 163, 74, 0.8);
    z-index: 50;
    animation: float 2.5s ease-in-out infinite;
}

.floating-whatsapp i {
    font-size: 1.5rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ---------- ANIMATIONS (SCROLL) ---------- */

[data-animate] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-media {
        order: -1;
        align-items: flex-start;
    }

    .about-inner,
    .contact-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header-inner {
        align-items: center;
    }

    .main-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: rgba(3, 7, 18, 0.98);
        border-bottom: 1px solid rgba(148, 163, 184, 0.3);
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0.85rem 1.5rem 1.2rem;
        gap: 0.8rem;
    }

    .site-header.nav-open .main-nav {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 4.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 1.5rem, 100%);
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
