﻿/* ======= FORTIS G INDUSTRIES — Design System ======= */
/* Inspired by Colonna's Shipyard | Navy + Amber palette */

:root {
    --navy: #121040;
    --navy-mid: #1e1a6e;
    --navy-light: #2a2588;
    --accent: #cc2229;
    --accent-light: #e03038;
    --accent-dark: #a81c22;
    --white: #ffffff;
    --off-white: #f4f5f7;
    --text: #2d2d3a;
    --text-light: #5a5a6e;
    --border: #dcdde2;
    --font-display: 'Oswald', 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
    --font-body: 'Source Sans 3', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --container: 1240px;
    --radius: 4px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.6; background: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }

/* ======= REUSABLE ======= */
.section-label {
    font-family: var(--font-display);
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 0.25rem;
}
.section-label--light { color: var(--accent-light); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700;
    text-transform: uppercase; line-height: 1.15;
    color: var(--navy-mid); margin-bottom: 0.75rem;
}
.section-title--light { color: var(--white); }

.accent-line { width: 80px; height: 3px; background: var(--accent); margin-bottom: 1.5rem; }
.accent-line--light { background: var(--accent-light); }

.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-display); font-weight: 600;
    font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.85rem 2rem; border: 2px solid transparent;
    border-radius: var(--radius); cursor: pointer;
    transition: all 0.3s ease;
}
.btn--primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(204,34,41,0.3); }
.btn--white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--white:hover { background: var(--white); color: var(--navy-mid); border-color: var(--white); }
.btn--lg { padding: 1rem 2.5rem; font-size: 0.95rem; }
.btn--full { width: 100%; justify-content: center; }

/* ======= TOP BAR ======= */
.topbar { background: var(--off-white); color: var(--text-light); font-size: 0.8rem; border-bottom: 1px solid var(--border); }
.topbar__inner { max-width: var(--container); margin: 0 auto; padding: 0.5rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.topbar__contact { display: flex; gap: 1.5rem; }
.topbar__contact a, .topbar__hours { display: flex; align-items: center; gap: 0.4rem; color: var(--text-light); transition: color 0.3s; }
.topbar__contact a:hover { color: var(--accent); }

/* ======= NAV ======= */
.nav { background: var(--white); position: sticky; top: 0; z-index: 100; border-bottom: 3px solid var(--accent); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.nav__inner { max-width: var(--container); margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; min-height: 72px; }
.nav__logo { display: flex; align-items: center; gap: 0.75rem; }
.fgi-logo { height: 90px; width: auto; }
.fgi-logo--footer { height: 70px; }
.nav__links { display: flex; align-items: center; gap: 0; }
.nav__links li a { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-mid); padding: 1.5rem 1.1rem; position: relative; transition: all 0.3s; }
.nav__links li a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--accent); transition: width 0.3s; }
.nav__links li a:hover { color: var(--accent); background: rgba(30,26,110,0.03); }
.nav__links li a:hover::after { width: 100%; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__toggle span { width: 26px; height: 2px; background: var(--navy-mid); transition: all 0.3s; }

/* ======= HERO SLIDER ======= */
.hero { position: relative; height: 75vh; min-height: 500px; max-height: 800px; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,26,46,0.8) 0%, rgba(15,35,64,0.5) 50%, rgba(11,26,46,0.75) 100%); z-index: 1; }
.hero__content { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 0 2rem; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero__title { margin-bottom: 1.25rem; }
.hero__title-line { display: block; font-family: var(--font-display); text-transform: uppercase; color: var(--white); }
.hero__title-line--sm { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.25em; color: var(--accent-light); margin-bottom: 0.5rem; }
.hero__title-line--lg { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.05; }
.hero__desc { max-width: 600px; font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; line-height: 1.7; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__nav { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 0.75rem; }
.hero__dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); border: 2px solid rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s; padding: 0; }
.hero__dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.2); }
.hero__scroll-hint { position: absolute; bottom: 2rem; right: 2rem; z-index: 3; }
.hero__scroll-mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.4); border-radius: 11px; display: flex; justify-content: center; padding-top: 6px; }
.hero__scroll-wheel { width: 3px; height: 8px; background: var(--accent); border-radius: 2px; animation: scrollAnim 1.8s infinite; }
@keyframes scrollAnim { 0%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(10px)} }

/* ======= ABOUT ======= */
.about { padding: 5rem 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__content p { font-size: 1.05rem; color: var(--text); line-height: 1.8; margin-bottom: 1rem; }
.about__content .btn { margin-top: 0.5rem; }
.about__image { position: relative; }
.about__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.about__image-badge { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--navy-mid); padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 0.75rem; border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.about__image-badge-number { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--accent); line-height: 1; }
.about__image-badge-text { font-family: var(--font-display); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); line-height: 1.4; }

/* ======= SERVICES ======= */
.services { padding-bottom: 5rem; background: var(--off-white); }
.services__header-bg { background: var(--navy); padding: 3.5rem 0 6rem; margin-bottom: -3rem; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; z-index: 1; }
.svc-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.4s ease; border: 1px solid var(--border); }
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.svc-card__img { height: 220px; overflow: hidden; position: relative; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.svc-card:hover .svc-card__img img { transform: scale(1.06); }
.svc-card__img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(11,26,46,0.6) 100%); }
.svc-card__body { padding: 1.75rem; }
.svc-card__icon { width: 3rem; height: 3rem; color: var(--accent); margin-bottom: 1rem; }
.svc-card__icon svg { width: 100%; height: 100%; }
.svc-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--navy-mid); margin-bottom: 0.75rem; }
.svc-card__desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1.25rem; }
.svc-card__list { display: flex; flex-direction: column; gap: 0.4rem; }
.svc-card__list li { font-size: 0.88rem; color: var(--text); padding-left: 1.25rem; position: relative; }
.svc-card__list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; transform: rotate(45deg); }

/* ======= VALUES ======= */
.values { padding: 5rem 0; background: var(--white); }
.values__header { text-align: center; margin-bottom: 3rem; }
.values__header .accent-line { margin: 0 auto 1.5rem; }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.val-card { text-align: center; padding: 2rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.4s; }
.val-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.val-card__icon { width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem; color: var(--navy-mid); }
.val-card__icon svg { width: 100%; height: 100%; }
.val-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy-mid); margin-bottom: 0.5rem; }
.val-card__desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

/* ======= PEOPLE BANNER ======= */
.people-banner { position: relative; padding: 6rem 0; overflow: hidden; }
.people-banner__bg { position: absolute; inset: 0; }
.people-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.people-banner__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,26,46,0.88) 0%, rgba(15,35,64,0.75) 100%); }
.people-banner__content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; text-align: center; padding: 0 2rem; }
.people-banner__content .accent-line { margin: 0 auto 1.5rem; }
.people-banner__content p { font-size: 1.1rem; color: rgba(255,255,255,0.85); line-height: 1.8; }

/* ======= CAREERS ======= */
.careers { padding: 5rem 0; background: var(--white); }
.careers__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.careers__content p { font-size: 1.05rem; color: var(--text); line-height: 1.8; margin-bottom: 1.5rem; }
.careers__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 2rem; }
.careers__perk { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text); }
.careers__perk svg { flex-shrink: 0; color: var(--accent); }
.careers__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

/* ======= CONTACT ======= */
.contact { padding-bottom: 5rem; background: var(--off-white); }
.contact__header-bg { background: var(--navy); padding: 3.5rem 0 5rem; margin-bottom: -2.5rem; }
.contact__header-bg .accent-line { margin-bottom: 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; position: relative; z-index: 1; }
.contact__info { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-content: start; }
.contact__card { background: var(--white); padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; transition: all 0.3s; }
.contact__card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.contact__card-icon { width: 2.5rem; height: 2.5rem; margin: 0 auto 0.75rem; color: var(--accent); }
.contact__card-icon svg { width: 100%; height: 100%; }
.contact__card h4 { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy-mid); margin-bottom: 0.35rem; }
.contact__card p, .contact__card a { font-size: 0.88rem; color: var(--text-light); }
.contact__card a:hover { color: var(--accent); }
.contact__form-wrap { background: var(--white); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.contact__form-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy-mid); margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--accent); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.35rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--off-white); border: 1px solid var(--border); border-radius: 3px; padding: 0.7rem 0.85rem; font-family: var(--font-body); font-size: 0.9rem; color: var(--text); transition: all 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(204,34,41,0.1); background: var(--white); }
.form-group select { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ======= FOOTER ======= */
.footer__main { background: var(--white); padding: 3.5rem 0; border-top: 3px solid var(--accent); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer__desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; margin-top: 1.25rem; max-width: 320px; }
.footer__heading { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid rgba(204,34,41,0.3); }
.footer__col a, .footer__col p { display: block; font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.4rem; transition: color 0.3s; }
.footer__col a:hover { color: var(--accent); }
.footer__hours { margin-top: 0.5rem; font-size: 0.8rem !important; color: var(--text-light) !important; }
.footer__bottom { background: var(--off-white); padding: 1rem 2rem; text-align: center; border-top: 1px solid var(--border); }
.footer__bottom p { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.05em; }

/* ======= SCROLL REVEAL ======= */
.reveal { opacity: 0; transform: translateY(35px); transition: all 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
    .about__grid, .careers__grid { grid-template-columns: 1fr; }
    .about__image { order: -1; }
    .services__grid { grid-template-columns: 1fr 1fr; }
    .values__grid { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .contact__grid { grid-template-columns: 1fr; }
    .contact__info { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .topbar__inner { justify-content: center; }
    .topbar__hours { display: none; }
    .nav__links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); flex-direction: column; border-top: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
    .nav__links.active { display: flex; }
    .nav__links li a { padding: 1rem 2rem; border-bottom: 1px solid var(--border); }
    .nav__toggle { display: flex; }
    .nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav__toggle.active span:nth-child(2) { opacity: 0; }
    .nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero { height: 65vh; min-height: 420px; }
    .hero__title-line--lg { font-size: clamp(2rem, 8vw, 3rem); }
    .services__grid { grid-template-columns: 1fr; }
    .values__grid { grid-template-columns: 1fr; }
    .contact__info { grid-template-columns: 1fr 1fr; }
    .careers__perks { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .about__image-badge { bottom: 1rem; right: 1rem; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .contact__info { grid-template-columns: 1fr; }
}

