
/* =========================
   GLOBAL VARIABLES
   ========================= */

:root {
    --color-background: #ffffff;
    --color-text: #212934;
    --color-primary: #582062;
    --color-accent: #65bc7b;
    --color-secondary: #636466;
    --color-muted: #939598;
    --color-border: #eeeeee;

    --font-primary: "roc-grotesk", Arial, sans-serif;
    --font-heading: "latienne-pro", Georgia, serif;

    --max-width: 1400px;
}

/* =========================
   RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-text);
    background: var(--color-background);
}

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

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

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

h2 {
    font-size: 34px;
    line-height: 1.2;
}

/* =========================
   HEADER
   ========================= */

.site-header {
    position: relative;
    background: var(--color-background);
    color: var(--color-primary);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 30px 10px;

    display: grid;
    grid-template-columns: 1fr 160px 1fr;
    align-items: center;
    gap: 45px;
}

/* Utility navigation */

.utility-nav {
    position: absolute;
    top: 24px;
    right: 24px;

    display: flex;
    align-items: center;
    gap: 20px;

    font-size: 14px;
}

/* Logo */

.logo img {
    width: 160px;
    height: auto;
    margin: 0 auto;
}

/* Desktop navigation */

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.nav-left a,
.nav-right a {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-left a:hover,
.nav-right a:hover {
    color: var(--color-accent);
}

/* Social navigation */

.social-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;

    padding: 12px 20px;
    font-size: 14px;
}

/* =========================
   HERO BANNER
   ========================= */

.hero {
    min-height: 620px;

    background-image: url("../assets/images/hero-banner.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    padding: 120px 30px 60px;
    text-align: center;
}

.hero-content {
    max-width: 1050px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 44px;
    font-weight: 400;
    line-height: 1.16;
    color: var(--color-text);

    margin-bottom: 35px;
}

/* Buttons */

.button {
    display: inline-block;

    padding: 12px 22px;

    background: #ffffff;
    color: var(--color-secondary);
    border: 1px solid var(--color-muted);

    font-family: var(--font-primary);
    font-size: 14px;
    text-transform: uppercase;

    transition: background 0.2s ease,
                color 0.2s ease;
}

.button:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

/* =========================
   ABOUT SECTION
   ========================= */

.about {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 30px;
    text-align: center;
}

/* =========================
   MOBILE NAVIGATION
   ========================= */

.menu-toggle,
.mobile-nav {
    display: none;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 28px;
    cursor: pointer;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */

@media (max-width: 1250px) {

    .header-container {
        gap: 25px;
    }

    .nav-left,
    .nav-right {
        gap: 18px;
    }

    .nav-left a,
    .nav-right a {
        font-size: 12px;
    }

    .utility-nav {
        position: static;
        justify-content: flex-end;
        padding: 12px 24px 0;
    }
}

@media (max-width: 1050px) {

    .header-container {
        display: flex;
        justify-content: space-between;
        padding: 15px 24px;
    }

    .logo img {
        width: 120px;
    }

    .nav-left,
    .nav-right,
    .utility-nav,
    .social-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-nav.open {
        display: flex;
        flex-direction: column;
        padding: 0 24px 20px;
    }

    .mobile-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--color-border);
        font-size: 14px;
        text-transform: uppercase;
    }

    .hero {
        min-height: 500px;
        padding: 100px 25px 40px;
    }

    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {

    .hero {
        min-height: 460px;
        padding: 75px 20px 40px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 25px;
    }

    h2 {
        font-size: 28px;
    }

    .about {
        padding: 50px 20px;
    }
}
