/* CSS VARIABLES */
:root {
    --header-height: 4.5rem;

    /* Colors */
    --first-color: #d4af37;
    /* Gold */
    --title-color: #1a1a1a;
    --text-color: #4a4a4a;
    --body-color: #ffffff;
    --accent-red: #d90429;
    /* Modern Red */
    --accent-red-alt: #b90323;

    /* Fonts */
    --body-font: 'Inter', sans-serif;
    --title-font: 'Outfit', sans-serif;
    --biggest-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;

    /* Font weight */
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /* Z index */
    --z-fixed: 100;
}

@media screen and (max-width: 968px) {
    :root {
        --biggest-font-size: 2.5rem;
    }
}

/* BASE */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* BACKGROUND NOISE */
.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
    /* Subtle texture */
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

/* ORNAMENTS */
.ornaments {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.ornament {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.ornament-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -10%;
    border-width: 2px;
    animation: float-slow 20s infinite linear;
}

.ornament-2 {
    width: 400px;
    height: 400px;
    bottom: -5%;
    left: -5%;
    border-style: dashed;
    animation: float-slow 25s infinite linear reverse;
}

.ornament-3 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    border-color: rgba(217, 4, 41, 0.05);
    animation: float-slow 15s infinite ease-in-out;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* PARTICLES */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background-color: var(--first-color);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red-alt);
}

h1 {
    color: var(--title-color);
    font-family: var(--title-font);
    font-weight: var(--font-semi-bold);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
}

/* LAYOUT */
.container {
    max-width: 1100px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

/* BACKGROUND GRID */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

.ornament-rect-1 {
    width: 150px;
    height: 300px;
    top: 40%;
    right: 5%;
    border: 1px solid rgba(217, 4, 41, 0.05);
    transform: rotate(25deg);
}

.ornament-rect-2 {
    width: 200px;
    height: 400px;
    bottom: 20%;
    left: 15%;
    border: 1px solid var(--first-color);
    opacity: 0.05;
    transform: rotate(-15deg);
}

/* MOUNTS (Triangles) */
.mount {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid var(--first-color);
    opacity: 0.15;
    filter: drop-shadow(0 5px 10px rgba(212, 175, 55, 0.2));
}

.mount-1 {
    top: 15%;
    left: 20%;
    transform: rotate(5deg);
}

.mount-2 {
    bottom: 25%;
    right: 15%;
    transform: rotate(-10deg) scale(1.5);
}

.mount-3 {
    top: 50%;
    left: 45%;
    transform: rotate(15deg) scale(0.8);
    opacity: 0.1;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding: 8rem 0 4rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* HEADER */
.header {
    width: 100%;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    transition: background-color 0.4s, backdrop-filter 0.4s;
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 2rem;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 3rem;
    border: 1px solid var(--first-color);
    background-color: #fff;
    position: relative;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.banner-content::before,
.banner-content::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 1px solid var(--first-color);
}

.banner-content::before {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.banner-content::after {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.banner-line {
    height: 1px;
    background-color: var(--first-color);
    flex-grow: 1;
    opacity: 0.3;
}

.banner-est,
.banner-tag {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--first-color);
    font-weight: var(--font-bold);
}

.banner-est {
    margin-bottom: 0.5rem;
}

.banner-tag {
    margin-top: 0.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 0.5rem;
}

.logo-text {
    color: var(--title-color);
    font-family: var(--title-font);
    font-weight: var(--font-bold);
    font-size: 1.75rem;
    letter-spacing: 6px;
    transition: 0.3s;
}

.logo-text:hover {
    color: var(--accent-red);
}

/* Glassmorphism Header */
.scroll-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* HERO */
.hero-container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    row-gap: 3rem;
}

.hero-title {
    font-size: var(--biggest-font-size);
    margin-bottom: 2rem;
    line-height: 1.1;
    overflow: hidden;
}

.accent-gold {
    color: var(--first-color);
    position: relative;
    display: inline-block;
}

.accent-gold::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(212, 175, 55, 0.15);
    z-index: -1;
}

.hero-description {
    margin-bottom: 3rem;
    max-width: 450px;
    font-size: 1.1rem;
    opacity: 0.85;
    border-left: 2px solid var(--accent-red);
    padding-left: 1.5rem;
}

.button {
    display: inline-block;
    padding: 1.1rem 3rem;
    border-radius: .25rem;
    font-weight: var(--font-semi-bold);
    transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: var(--accent-red);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.15);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.button:hover {
    box-shadow: 0 15px 30px rgba(217, 4, 41, 0.25);
}

.hero-divider {
    width: 60px;
    height: 3px;
    background-color: var(--first-color);
    margin-bottom: 3rem;
    position: relative;
}

.hero-divider::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--accent-red);
    right: -20px;
    top: -3.5px;
    border-radius: 50%;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-wrapper:hover {
    transform: scale(1.05) rotate(2deg);
}

.hero-logo {
    width: 100%;
    height: auto;
    z-index: 10;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.logo-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

/* FOOTER */
.footer {
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.mount-range {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: -10px;
    margin-bottom: 2rem;
    opacity: 0.1;
}

.mount-shape {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--first-color);
    margin: 0 -10px;
}

.mount-shape:nth-child(2) {
    border-bottom-width: 50px;
    border-left-width: 30px;
    border-right-width: 30px;
    opacity: 1;
}

.footer-copy {
    font-size: var(--small-font-size);
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all .8s ease-out;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* MEDIA QUERIES */
@media screen and (max-width: 767px) {
    .container {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .logo-wrapper {
        width: 250px;
        height: 250px;
    }
}

@media screen and (min-width: 968px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
}