:root {
    --primary: #e6193b;
    /* Deep Crimson/Red */
    --primary-hover: #ff2a50;
    --text-main: #f0f0f0;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-dark: #050101;
    --glass-bg: rgba(5, 1, 1, 0.85);
    --glass-border: rgba(230, 25, 59, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background image with overlay */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-image:
        radial-gradient(circle at top right, rgba(230, 25, 59, 0.15) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(5, 1, 1, 0.2) 0%, rgba(5, 1, 1, 0.6) 100%),
        url('bg2.jpg');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    animation: gentlePulse 20s infinite alternate;
}

@keyframes gentlePulse {
    0% {
        transform: scale(1);
        filter: contrast(1);
    }

    100% {
        transform: scale(1.05);
        filter: contrast(1.1);
    }
}

/* Header */
.header {
    padding: 3rem 8%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
}

.header-logo {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 5vh 8% 15vh;
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 650px;
    animation: slideRight 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateX(-30px);
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    font-style: italic;
}

.hero-text h1 span {
    font-style: normal;
    color: var(--primary);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    display: block;
    margin-top: 5px;
}

.hero-text p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 550px;
    line-height: 1.7;
    font-weight: 300;
}

/* Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: max-content;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 20px 35px;
    border-radius: 2px;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(230, 25, 59, 0.4);
}

.cta-button .btn-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-hover);
    box-shadow: 0 8px 30px rgba(230, 25, 59, 0.6);
    transform: translateY(-2px);
}

.cta-button:hover .btn-arrow {
    transform: translateX(8px);
}

/* Footer / Contacts */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.contacts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 3rem 8%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-box:first-child {
    border-left: none;
    padding-left: 0;
}

.contact-title {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-value,
.contact-value a {
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: var(--primary);
}

.map-container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    width: 100%;
    height: 350px;
    filter: invert(100%) hue-rotate(180deg) grayscale(80%) contrast(150%) brightness(80%);
}

.route-btn-container {
    padding: 2rem;
    display: flex;
    justify-content: center;
    background: var(--glass-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.route-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    font-size: 1.05rem;
    font-weight: 500;
    font-family: 'Jost', sans-serif;
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.route-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 20px rgba(230, 25, 59, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .contacts-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-box {
        border-left: none;
        padding: 0;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header {
        justify-content: center;
        text-align: center;
        padding-top: 2rem;
    }

    .logo {
        align-items: center;
    }

    .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .cta-button {
        width: max-content;
        max-width: 100%;
    }
}