/* ============================================
   Ulrich Trucking — Custom Styles
   Palette: Forest Green (#2D5A3D) + Off-White (#FAFAF5)
   Fonts: Playfair Display + Nunito
============================================ */

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

:root {
    --green-dark: #2D5A3D;
    --green-mid: #4A8B5C;
    --green-light: #6BAF7C;
    --green-pale: #E8F5E9;
    --cream: #FAFAF5;
    --cream-dark: #F0F0E8;
    --white: #FFFFFF;
    --text-dark: #1A2E23;
    --text-mid: #3D5A47;
    --text-light: #6B8A74;
    --shadow-sm: 0 2px 8px rgba(45, 90, 61, 0.06);
    --shadow-md: 0 4px 20px rgba(45, 90, 61, 0.10);
    --shadow-lg: 0 8px 40px rgba(45, 90, 61, 0.14);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
    color: var(--text-dark);
}

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

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn--primary {
    background: var(--green-dark);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.3);
}

.btn--primary:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(45, 90, 61, 0.4);
}

.btn--ghost {
    background: transparent;
    color: var(--green-dark);
    border: 2px solid var(--green-dark);
}

.btn--ghost:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--secondary {
    background: var(--green-pale);
    color: var(--green-dark);
    border: 2px solid var(--green-mid);
}

.btn--secondary:hover {
    background: var(--green-mid);
    color: var(--white);
}

.btn--light {
    background: var(--white);
    color: var(--green-dark);
    box-shadow: var(--shadow-md);
}

.btn--light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}

.btn--outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 1rem;
}

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 90, 61, 0.08);
    transition: all var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--green-dark);
}

.nav__logo-icon {
    flex-shrink: 0;
}

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

.nav__link {
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-mid);
    border-radius: 50px;
    transition: all var(--transition);
}

.nav__link:hover {
    color: var(--green-dark);
    background: var(--green-pale);
}

.nav__link--cta {
    background: var(--green-dark);
    color: var(--white) !important;
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: var(--green-mid);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--green-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--green-dark);
    padding: 8px;
}

.mobile-menu__link {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.mobile-menu__link:hover {
    color: var(--green-dark);
    background: var(--green-pale);
}

.mobile-menu__link--cta {
    margin-top: 16px;
    background: var(--green-dark);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 14px 36px;
}

.mobile-menu__contact {
    margin-top: 32px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.mobile-menu__contact a {
    color: var(--green-mid);
    font-weight: 600;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 139, 92, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-pale);
    color: var(--green-dark);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero__headline {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero__subheadline {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-mid);
}

.hero__image {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero__image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--green-pale);
    border-radius: var(--radius-md);
    z-index: -1;
}

.hero__stats {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-lg);
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 4px;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-dark);
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: rgba(45, 90, 61, 0.12);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: var(--green-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--green-mid);
    transform: scale(1.05);
}

.service-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--cream);
}

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

.about__images {
    position: relative;
}

.about__image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about__image-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.about__image-secondary img {
    width: 260px;
    height: 200px;
    object-fit: cover;
}

.about__experience-badge {
    position: absolute;
    bottom: -16px;
    left: -16px;
    background: var(--green-dark);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about__experience-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.about__experience-text {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
    margin-top: 4px;
}

.about__content .section-title {
    margin-top: 8px;
}

.about__body {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.about__value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about__value-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__value strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.about__value span {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Why Us --- */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.why-us__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us__content .section-title {
    margin-top: 8px;
}

.why-us__content .section-subtitle {
    margin-bottom: 36px;
}

.why-us__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-item__check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--green-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.why-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.why-item span {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

.why-us__visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-us__visual img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    background: var(--green-dark);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 139, 92, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.cta-banner__quote {
    position: relative;
}

.cta-banner__quote-mark {
    position: absolute;
    top: -16px;
    left: -8px;
    opacity: 0.4;
}

.cta-banner__quote p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.6;
    padding-left: 24px;
    border-left: 3px solid var(--green-light);
}

.cta-banner__text {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.cta-banner__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact__info .section-title {
    margin-top: 8px;
}

.contact__desc {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact__detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact__detail-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__detail strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.contact__detail span,
.contact__detail a {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact__detail a:hover {
    color: var(--green-dark);
    text-decoration: underline;
}

.contact__map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* --- Form --- */
.contact__form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(45, 90, 61, 0.06);
}

.contact__form-header {
    margin-bottom: 28px;
}

.contact__form-header h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.contact__form-header p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-mid);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-mid);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(74, 139, 92, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

.form-note {
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 12px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.form-success__icon {
    width: 72px;
    height: 72px;
    background: var(--green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--green-dark);
}

.form-success p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-top: 16px;
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
}

.footer__links h4,
.footer__contact h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 16px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer__links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer__contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

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

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

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero__container {
        gap: 40px;
    }
    
    .hero__image-wrapper img {
        height: 420px;
    }
    
    .why-us__visual img {
        height: 480px;
    }
}

@media (max-width: 900px) {
    .nav__menu {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__subheadline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .hero__trust {
        justify-content: center;
    }
    
    .hero__image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero__stats {
        right: 0;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__inner,
    .why-us__inner,
    .cta-banner__inner,
    .contact__inner {
        grid-template-columns: 1fr;
    }
    
    .about__images {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .why-us__visual {
        order: -1;
    }
    
    .why-us__visual img {
        height: 400px;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 90px 0 60px;
    }
    
    .hero__stats {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        justify-content: center;
    }
    
    .hero__image-wrapper img {
        height: 350px;
    }
    
    .hero__image-accent {
        display: none;
    }
    
    .services,
    .about,
    .why-us,
    .contact {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    .about__image-secondary {
        right: 0;
        bottom: -20px;
    }
    
    .about__image-secondary img {
        width: 200px;
        height: 160px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact__form-wrapper {
        padding: 28px 20px;
    }
    
    .cta-banner {
        padding: 60px 0;
    }
    
    .cta-banner__buttons {
        flex-direction: column;
    }
    
    .cta-banner__buttons .btn {
        justify-content: center;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
