﻿/* =====================================================
   GOAT TRANSPORT
   PREMIUM RESPONSIVE HEADER
   HTML + CSS ONLY
===================================================== */


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #08090b;
    color: #ffffff;
}


/* =========================
   COLORS
========================= */

:root {

    --black: #07080a;
    --dark: #0c0f13;
    --dark-2: #11151b;

    --gold: #d5a329;
    --gold-light: #f5d477;

    --white: #ffffff;
    --gray: #9da3ad;
}


/* =========================
   CONTAINER
========================= */

.container {

    width: min(1200px, 92%);

    margin: 0 auto;

}


/* =====================================================
   HEADER
===================================================== */

.goat-header {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

}


/* =====================================================
   TOP BAR
===================================================== */

.top-bar {

    background:
        rgba(5, 7, 9, 0.96);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);

}


.top-bar-inner {

    min-height: 42px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* PHONE */

.phone {

    display: flex;

    align-items: center;

    gap: 9px;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: .4px;

    transition: .3s;

}


.phone:hover {

    color: var(--gold-light);

}


.phone-circle {

    width: 25px;
    height: 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    color: #111;

    font-size: 12px;

}


/* TOP RIGHT */

.top-right {

    display: flex;

    align-items: center;

    gap: 10px;

}


.top-right > span {

    color: #858c97;

    font-size: 10px;

    letter-spacing: 1.5px;

    margin-right: 5px;

}


.top-right a {

    width: 26px;
    height: 26px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, .15);

    border-radius: 50%;

    color: #fff;

    text-decoration: none;

    font-size: 11px;

    transition: .3s;

}


.top-right a:hover {

    background: var(--gold);

    border-color: var(--gold);

    color: #000;

    transform: translateY(-2px);

}


/* =====================================================
   MAIN NAVIGATION
===================================================== */

.navigation {

    background:
        rgba(12, 15, 19, .90);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border-bottom:
        1px solid
        rgba(213, 163, 41, .20);

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, .25);

}


.nav-inner {

    min-height: 92px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* =====================================================
   LOGO
===================================================== */

.logo {

    display: inline-flex;

    align-items: center;

    text-decoration: none;

}


.logo img {

    width: 150px;

    height: auto;

    display: block;

    background: #ffffff;

    padding: 7px 12px;

    border-radius: 7px;

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, .35),

        0 0 0 1px
        rgba(213, 163, 41, .25);

    transition: .35s;

}


.logo:hover img {

    transform: scale(1.03);

    box-shadow:
        0 8px 30px
        rgba(0, 0, 0, .45),

        0 0 20px
        rgba(213, 163, 41, .20);

}


/* =====================================================
   MENU
===================================================== */

.main-menu {

    display: flex;

    align-items: center;

    gap: 5px;

}


.main-menu a {

    position: relative;

    display: flex;

    align-items: center;

    color: #ffffff;

    text-decoration: none;

    padding: 15px 18px;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: .4px;

    transition: .3s;

}


/* GOLD LINE */

.main-menu a:not(.quote-btn)::after {

    content: "";

    position: absolute;

    left: 18px;
    right: 18px;

    bottom: 5px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--gold-light)
        );

    transform: scaleX(0);

    transform-origin: center;

    transition: .3s;

}


.main-menu a:hover,
.main-menu a.active {

    color: var(--gold-light);

}


.main-menu a:hover::after,
.main-menu a.active::after {

    transform: scaleX(1);

}


/* =====================================================
   QUOTE BUTTON
===================================================== */

.quote-btn {

    margin-left: 12px;

    gap: 12px;

    padding:
        13px 20px !important;

    color: #111 !important;

    background:
        linear-gradient(
            135deg,
            #f4d276,
            #c78e19
        );

    border-radius: 4px;

    font-weight: 800 !important;

    box-shadow:
        0 6px 20px
        rgba(213, 163, 41, .20);

    transition: .3s !important;

}


.quote-btn:hover {

    color: #000 !important;

    transform: translateY(-2px);

    box-shadow:
        0 10px 30px
        rgba(213, 163, 41, .35);

}


.quote-btn span {

    font-size: 19px;

    transition: .3s;

}


.quote-btn:hover span {

    transform: translateX(5px);

}


/* =====================================================
   MOBILE MENU TOGGLE
===================================================== */

.menu-toggle {

    display: none;

}


.hamburger {

    display: none;

    width: 46px;

    height: 46px;

    border:
        1px solid
        rgba(213, 163, 41, .4);

    border-radius: 5px;

    cursor: pointer;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;

}


.hamburger span {

    width: 23px;

    height: 2px;

    background:
        var(--gold-light);

    transition: .3s;

}


/* =====================================================
   HERO
===================================================== */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 50% 45%,
            rgba(213, 163, 41, .12),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #07080a,
            #15191f
        );

}


/* GOLD CIRCLE EFFECT */

.hero::before {

    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    border:
        1px solid
        rgba(213, 163, 41, .12);

    border-radius: 50%;

}


.hero-content {

    position: relative;

    z-index: 2;

    padding-top: 130px;

}


.hero-small {

    color: var(--gold-light);

    font-size: 11px;

    letter-spacing: 4px;

    font-weight: 700;

}


.hero h1 {

    margin-top: 18px;

    font-size:
        clamp(60px, 10vw, 130px);

    line-height: .85;

    font-weight: 900;

    letter-spacing: -5px;

}


.hero h1 strong {

    display: block;

    color: var(--gold);

    font-size:
        clamp(25px, 4vw, 48px);

    letter-spacing: 8px;

    margin-top: 20px;

}


.hero p {

    color: #aeb4bd;

    margin-top: 25px;

    font-size: 16px;

    letter-spacing: 2px;

}


/* HERO BUTTON */

.hero-btn {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;

    padding: 15px 25px;

    background:
        linear-gradient(
            135deg,
            #f4d276,
            #c78e19
        );

    color: #111;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

    border-radius: 4px;

    transition: .3s;

}


.hero-btn:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 30px
        rgba(213, 163, 41, .30);

}


.hero-btn span {

    font-size: 20px;

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .nav-inner {

        min-height: 78px;

    }


    .main-menu {

        position: absolute;

        top: 120px;

        left: 0;

        width: 100%;

        padding: 20px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background:
            rgba(8, 10, 13, .98);

        border-bottom:
            1px solid
            rgba(213, 163, 41, .25);

        box-shadow:
            0 20px 40px
            rgba(0,0,0,.4);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-15px);

        transition: .3s;

    }


    .menu-toggle:checked ~ .main-menu {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);

    }


    .main-menu a {

        width: 100%;

        padding: 17px 10px;

        border-bottom:
            1px solid
            rgba(255,255,255,.07);

    }


    .main-menu a:not(.quote-btn)::after {

        display: none;

    }


    .main-menu a:hover,
    .main-menu a.active {

        padding-left: 18px;

        background:
            rgba(213,163,41,.05);

    }


    .quote-btn {

        margin:
            15px 0 0 !important;

        justify-content: center;

    }


    .hamburger {

        display: flex;

    }


    /* HAMBURGER ANIMATION */

    .menu-toggle:checked + .main-menu + .hamburger span:nth-child(1) {

        transform:
            translateY(7px)
            rotate(45deg);

    }


    .menu-toggle:checked + .main-menu + .hamburger span:nth-child(2) {

        opacity: 0;

    }


    .menu-toggle:checked + .main-menu + .hamburger span:nth-child(3) {

        transform:
            translateY(-7px)
            rotate(-45deg);

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .top-bar-inner {

        min-height: 38px;

    }


    .phone {

        font-size: 11px;

    }


    .phone-circle {

        width: 22px;
        height: 22px;

        font-size: 10px;

    }


    .top-right > span {

        display: none;

    }


    .top-right {

        gap: 5px;

    }


    .top-right a {

        width: 23px;
        height: 23px;

        font-size: 10px;

    }


    .nav-inner {

        min-height: 72px;

    }


    .logo img {

        width: 120px;

        padding: 5px 8px;

    }


    .hamburger {

        width: 43px;
        height: 43px;

    }


    .main-menu {

        top: 110px;

    }


    .hero-content {

        padding-top: 130px;

    }


    .hero-small {

        font-size: 9px;

        letter-spacing: 2px;

    }


    .hero h1 {

        letter-spacing: -3px;

    }


    .hero h1 strong {

        letter-spacing: 4px;

    }

}


/* =====================================================
   VERY SMALL DEVICES
===================================================== */

@media (max-width: 400px) {

    .top-right {

        display: none;

    }

    .logo img {

        width: 110px;

    }

}
