/* ============================================
   THE FIX WARSAW — Styles
   Deep Navy (#1B2A4A) + Warm Gold (#D4A017)
   Vibrant modern · Geometric · Bold
   ============================================ */

/* — Reset & Base — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:      #1B2A4A;
    --navy-deep: #0F1A2E;
    --navy-mid:  #253A5C;
    --gold:      #D4A017;
    --gold-light:#F5D060;
    --gold-pale: #FFF3D6;
    --cream:     #FFF9EC;
    --white:     #FFFFFF;
    --text-dark: #1A1A2E;
    --text-muted:#5A5A7A;
    --radius:    16px;
    --radius-sm: 10px;
    --shadow:    0 4px 24px rgba(27,42,74,.10);
    --shadow-lg: 0 12px 48px rgba(27,42,74,.15);
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h3, h4 { font-family: 'Space Grotesk', system-ui, sans-serif; line-height: 1.2; }

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

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

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* — Decorative Floating Shapes — */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: .06;
}
.geo-shape--circle {
    width: 600px; height: 600px;
    border-radius: 50%;
    background: var(--gold);
    top: -200px; right: -200px;
}
.geo-shape--triangle {
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 120px 200px 120px;
    border-color: transparent transparent var(--gold) transparent;
    bottom: 20%; left: -60px;
    transform: rotate(-15deg);
}
.geo-shape--rect {
    width: 300px; height: 300px;
    background: var(--navy);
    border-radius: var(--radius);
    top: 40%; right: -100px;
    transform: rotate(30deg);
}

/* — Navigation — */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(27,42,74,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212,160,23,.2);
    transition: var(--transition);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}
.nav__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 900;
    font-size: 1.1rem;
    border-radius: 8px;
}
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav__toggle-bar {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav__menu a {
    color: rgba(255,255,255,.8);
    font-size: .9rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}
.nav__menu a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}
.nav__menu a:hover { color: var(--gold); }
.nav__menu a:hover::after { width: 100%; }

.nav__cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: .875rem;
    transition: transform var(--transition), box-shadow var(--transition) !important;
}
.nav__cta::after { display: none !important; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,160,23,.4); }

/* — Hero — */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-mid) 100%);
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .35;
}
.hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15,26,46,.95) 0%,
        rgba(27,42,74,.85) 50%,
        rgba(37,58,92,.75) 100%
    );
}
.hero__scrim {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(15,26,46,.6) 100%);
}
.hero__content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 860px;
}
.hero__badge {
    display: inline-block;
    background: rgba(212,160,23,.15);
    border: 1px solid rgba(212,160,23,.4);
    color: var(--gold-light);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}
.hero__headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
}
.hero__accent {
    color: var(--gold);
    position: relative;
}
.hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.75);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* — Buttons — */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn--primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.btn--primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212,160,23,.4);
}
.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.4);
}
.btn--outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}
.btn--full { width: 100%; }

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.4);
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.hero__scroll svg { animation: bounce 2s infinite; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* — Section Shared — */
.section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}
.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}
.section__header--centered { text-align: center; }
.section__tag {
    display: inline-block;
    background: rgba(212,160,23,.12);
    color: var(--gold);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}
.section__title--light { color: var(--white); }
.section__desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.section__title--light + .section__desc { color: rgba(255,255,255,.7); }

/* — Products — */
.products { background: var(--cream); }
.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}
.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.card__img-wrap {
    overflow: hidden;
    height: 220px;
}
.card__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.card:hover .card__img-wrap img { transform: scale(1.08); }
.card__body {
    padding: 28px;
    position: relative;
}
.card__icon {
    position: absolute;
    top: -22px;
    right: 28px;
    width: 44px; height: 44px;
    background: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(212,160,23,.3);
}
.card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.card__text {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.geo-accent {
    position: absolute;
    bottom: 0; right: 0;
    width: 200px; height: 200px;
    background-image: radial-gradient(circle, var(--gold) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    opacity: .15;
    pointer-events: none;
}

/* — About — */
.about {
    background: var(--navy);
    padding: 100px 0;
}
.about__shape-left {
    position: absolute;
    top: -80px; left: -80px;
    width: 300px; height: 300px;
    background: var(--gold);
    border-radius: 50%;
    opacity: .07;
    pointer-events: none;
}
.about__shape-right {
    position: absolute;
    bottom: -60px; right: -60px;
    width: 200px; height: 200px;
    background: var(--gold-light);
    border-radius: 50%;
    opacity: .05;
    pointer-events: none;
}
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.about__img-stack {
    position: relative;
    height: 480px;
}
.about__img-main {
    width: 80%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about__img-main img { width: 100%; height: 100%; object-fit: cover; }
.about__img-float {
    position: absolute;
    bottom: 0; right: 0;
    width: 55%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--navy);
}
.about__img-float img { width: 100%; height: 100%; object-fit: cover; }

.about__text { padding: 16px 0; }
.about__body {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
}
.stat--gold .stat__number { color: var(--gold-light); }
.stat__label {
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* — Visit — */
.visit { background: var(--cream); }
.visit__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.visit__card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 2px solid transparent;
}
.visit__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.visit__card--gold {
    background: var(--gold);
    border-color: var(--gold);
}
.visit__card--gold .visit__card-title,
.visit__card--gold .visit__card-text { color: var(--navy); }
.visit__card--gold .visit__card-text a { color: var(--navy-deep); font-weight: 600; }
.visit__card-icon {
    width: 56px; height: 56px;
    margin: 0 auto 20px;
    background: rgba(27,42,74,.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}
.visit__card--gold .visit__card-icon { background: rgba(27,42,74,.12); }
.visit__card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.visit__card-text {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.7;
    white-space: pre-line;
}
.visit__card-text a { color: var(--navy); transition: color var(--transition); }
.visit__card-text a:hover { color: var(--gold); }

/* — Contact — */
.contact {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    padding: 100px 0;
}
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact__text {
    color: rgba(255,255,255,.7);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}
.contact__details { display: flex; flex-direction: column; gap: 16px; }
.contact__detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.8);
    font-size: .95rem;
}
.contact__detail a {
    color: var(--gold);
    font-weight: 600;
    transition: color var(--transition);
}
.contact__detail a:hover { color: var(--gold-light); }

.contact__form-wrap {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 40px;
    backdrop-filter: blur(8px);
}
.contact__form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 28px;
}
.form__group { margin-bottom: 20px; }
.form__label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}
.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    transition: border-color var(--transition), background var(--transition);
    outline: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: rgba(255,255,255,.3); }
.form__input:focus,
.form__textarea:focus {
    border-color: var(--gold);
    background: rgba(212,160,23,.08);
}
.form__textarea { resize: vertical; min-height: 120px; }
.form__success {
    text-align: center;
    margin-top: 16px;
    color: var(--gold-light);
    font-weight: 500;
}

/* — Footer — */
.footer {
    background: var(--navy-deep);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(212,160,23,.15);
}
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 12px;
}
.footer__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 900;
    font-size: 1.1rem;
    border-radius: 8px;
}
.footer__tagline {
    color: rgba(255,255,255,.5);
    font-size: .9rem;
    line-height: 1.6;
    max-width: 280px;
}
.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer__links a {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer__contact a {
    color: var(--gold);
    font-weight: 600;
    font-size: .95rem;
    transition: color var(--transition);
}
.footer__contact a:hover { color: var(--gold-light); }
.footer__contact span {
    color: rgba(255,255,255,.5);
    font-size: .85rem;
}
.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
}
.footer__bottom p {
    color: rgba(255,255,255,.3);
    font-size: .8rem;
}

/* — Scroll Reveal (progressive enhancement) — */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* — Responsive — */
@media (max-width: 900px) {
    .about__inner { grid-template-columns: 1fr; gap: 48px; }
    .about__img-stack { height: 360px; }
    .contact__inner { grid-template-columns: 1fr; gap: 48px; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav__toggle { display: flex; }
    .nav__menu {
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: rgba(15,26,46,.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform .4s ease, opacity .4s ease;
        pointer-events: none;
        border-bottom: 1px solid rgba(212,160,23,.2);
    }
    .nav__menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .hero__content { padding: 100px 24px 60px; }
    .hero__actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }
    .section { padding: 72px 0; }
    .about__stats { gap: 24px; flex-wrap: wrap; }
    .contact__form-wrap { padding: 24px; }
    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__headline { font-size: 1.75rem; }
    .products__grid { grid-template-columns: 1fr; }
    .visit__grid { grid-template-columns: 1fr; }
}
