/* AlAmin Builds — mobile-first stylesheet.
   Palette from the flag of The Gambia: blue, red and green bands
   separated by thin white stripes.
   System font stack (no webfont downloads), single file, no frameworks. */

:root {
    --blue: #0c1c8c;
    --blue-dark: #081363;
    --red: #ce1126;
    --red-dark: #a80e20;
    --green: #3a7728;
    --green-dark: #2d5e1f;
    --text: #1a1a1a;
    --muted: #5c5c5c;
    --line: #e2e2e2;
    --bg-soft: #f5f5f3;
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

img,
video {
    max-width: 100%;
    height: auto;
}

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

a:hover {
    text-decoration: underline;
}

/* Top contact bar — phone / WhatsApp / hours one tap from any page */

.topbar {
    background: var(--blue-dark);
    color: #fff;
    font-size: 0.85rem;
}

.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1.5rem;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.45rem 1.25rem;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
}

a.topbar-item:hover {
    color: #fff;
    text-decoration: none;
}

.topbar-item svg {
    width: 14px;
    height: 14px;
    flex: none;
}

.topbar-hours {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.6);
}

/* Header — sticky so the nav and quote button are always one tap away */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem 1rem;
    margin: 0;
    padding: 0.85rem max(1.25rem, calc((100% - var(--max)) / 2));
    background: #fff;
    border-bottom: 3px solid var(--red);
}

.site-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--blue);
}

.nav-toggle {
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    font: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    padding-top: 0.5rem;
}

.site-nav.open {
    display: flex;
}

.site-nav a {
    padding: 0.6rem 0;
    font-size: 1rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--blue);
    text-decoration: none;
}

@media (min-width: 760px) {
    .nav-toggle {
        display: none;
    }

    .site-nav {
        display: flex;
        flex-basis: auto;
        flex-direction: row;
        padding-top: 0;
    }

    .site-nav a {
        margin-left: 1.75rem;
        padding: 0;
        border-top: 0;
    }

    .site-nav a:first-child {
        margin-left: 0;
    }

    /* quote button in the nav — always one tap away */
    .site-nav .nav-cta {
        margin-left: 1.75rem;
        padding: 0.45rem 1.1rem;
        border-radius: 4px;
        background: var(--red);
        color: #fff;
        font-weight: 700;
    }

    .site-nav .nav-cta:hover {
        background: var(--red-dark);
        text-decoration: none;
    }
}

/* Layout */

main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.25rem 4rem;
}

@media (min-width: 760px) {
    main {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.page-heading {
    margin: 3rem 0 0.5rem;
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--blue);
}

.page-intro {
    margin: 0 0 2.5rem;
    color: var(--muted);
    font-size: 1.1rem;
}

.section {
    padding: 3rem 0;
    border-top: 1px solid var(--line);
}

.section-heading {
    margin: 0 0 1.5rem;
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--blue);
}

.section-intro {
    margin: -0.75rem 0 2rem;
    color: var(--muted);
}

.section-more {
    margin-top: 2rem;
}

.text-link {
    font-weight: 700;
    color: var(--red);
}

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

/* Hero — full-width banner (style of allianzdrilling.com) */

.hero {
    position: relative;
    margin: 0 -1.25rem;
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding: 5rem 1.25rem;
    background: var(--blue);
    color: #fff;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* blue veil so the white text stays readable over any photo */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 19, 99, 0.45) 0%, rgba(8, 19, 99, 0.65) 100%);
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 46rem;
}

.hero-eyebrow {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #fff;
}

/* thin white stripe, like the flag */
.hero-eyebrow::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 4px;
    margin-top: 1rem;
    background: #fff;
}

.hero-heading {
    margin: 1.25rem 0 1rem;
    font-size: clamp(2.25rem, 7vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.hero-sub {
    margin: 0 0 2rem;
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (min-width: 760px) {
    .hero {
        margin: 0 -2rem;
        padding: 6rem 2rem;
    }
}

/* Buttons */

.button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid var(--red);
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
}

.button:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    text-decoration: none;
}

.button-outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.button-outline:hover {
    background: #fff;
    border-color: #fff;
    color: var(--blue);
}

/* Welcome band */

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.welcome-media img {
    display: block;
    width: 100%;
    border-radius: 6px;
}

.welcome-text p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 1.1rem;
}

.welcome-text .rich-text p:last-child {
    margin-bottom: 1rem;
}

@media (min-width: 760px) {
    .welcome-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }
}

/* Cards (services, values) */

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-top: 4px solid var(--green);
    border-radius: 6px;
    background: var(--bg-soft);
}

/* big instant-recognition icon above each service */
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: #e8eaf9;
    color: var(--blue);
}

.card-icon svg {
    width: 34px;
    height: 34px;
}

@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
    .card {
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(8, 19, 99, 0.12);
        text-decoration: none;
    }
}

.card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue);
}

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

@media (min-width: 760px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Stats — blue band with white stripes (flag motif) */

.stats {
    border-top: 0;
    padding-top: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 0;
    padding: 2.5rem 1.5rem;
    border-top: 6px solid #fff;
    border-bottom: 6px solid #fff;
    outline: 4px solid var(--blue);
    border-radius: 2px;
    background: var(--blue);
    color: #fff;
    list-style: none;
    text-align: center;
}

.stat-value {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: #fff;
}

.stat-label {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 760px) {
    .stat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Work / projects grid */

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.work-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    background: #f2f2f2;
}

.work-item figcaption {
    margin-top: 0.75rem;
    font-weight: 600;
}

.work-item .work-meta {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 400;
}

@media (min-width: 760px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Testimonials */

.quote-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.quote {
    padding: 1.5rem;
    border-left: 4px solid var(--red);
    border-radius: 0 6px 6px 0;
    background: var(--bg-soft);
}

.quote blockquote {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    line-height: 1.55;
}

.quote-author {
    margin: 0;
    font-weight: 700;
    color: var(--green-dark);
}

@media (min-width: 760px) {
    .quote-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CTA band — green with white stripe border (flag motif) */

.cta {
    margin: 0 -1.25rem;
    padding: 4.5rem 1.25rem;
    border-top: 6px solid #fff;
    background: var(--green);
    color: #fff;
    text-align: center;
}

.cta h2 {
    max-width: 24em;
    margin: 0 auto 2rem;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

@media (min-width: 760px) {
    .cta {
        margin: 0 -2rem;
    }
}

/* About */

.about-body {
    max-width: 40em;
    margin-top: 2.5rem;
    font-size: 1.15rem;
}

.about-body p {
    margin: 0 0 1.5em;
}

/* Services page (hero + grids) */

.svc-hero {
    margin: 3rem 0 3rem;
    max-width: 46em;
}

.svc-eyebrow {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.svc-heading {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--blue);
}

/* Gallery */

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 2rem;
}

.filter-button {
    padding: 0.4rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: 0.9rem;
    color: var(--muted);
    cursor: pointer;
}

.filter-button.active {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gallery-item {
    margin: 0;
}

.gallery-item img,
.gallery-item video {
    display: block;
    width: 100%;
    border-radius: 6px;
    background: #f2f2f2;
}

.gallery-item figcaption {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.gallery-item.hidden {
    display: none;
}

@media (min-width: 640px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.contact-card {
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--line);
    border-top: 4px solid var(--red);
    border-radius: 6px;
}

.contact-card h2 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-card p {
    margin: 0;
}

@media (min-width: 760px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.map {
    margin-top: 1rem;
}

.map iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
}

/* Footer — blue with a red top stripe */

.site-footer {
    max-width: none;
    margin: 0;
    padding: 2.5rem 1.25rem 2rem;
    border-top: 6px solid var(--red);
    background: var(--blue);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.footer-grid,
.footer-copy {
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-name {
    margin: 0 0 0.25rem;
    font-weight: 700;
    color: #fff;
}

.footer-grid p {
    margin: 0;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact {
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
}

/* Floating WhatsApp button — one tap from any page */

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.whatsapp-float:hover {
    background: #1fb457;
    text-decoration: none;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.footer-copy {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 760px) {
    .site-footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr auto;
        align-items: start;
    }
}
