:root {
    --primary: #d4af37;
    /* Gold */
    --primary-hover: #f3c623;
    --accent: #800020;
    /* Burgundy */
    --text-main: #fcfcfc;
    --text-muted: rgba(255, 255, 255, 0.65);
    --bg-dark: #0a0505;
    --glass-bg: rgba(20, 5, 5, 0.75);
    --glass-border: rgba(212, 175, 55, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 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 center, rgba(30, 0, 10, 0.1) 0%, rgba(10, 5, 5, 0.6) 100%),
        url('bg3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: luxuriousPan 30s infinite alternate ease-in-out;
}

@keyframes luxuriousPan {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.05) translate(-10px, 10px);
    }
}

/* 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;
    margin-top: -2vh;
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 700px;
    animation: fadeInLock 1.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInLock {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-text h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.9);
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 2rem;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.hero-text p {
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 550px;
    line-height: 1.8;
    font-weight: 300;
}

/* Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    padding: 18px 45px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.cta-button:hover {
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.cta-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(5px);
}

/* Footer / Contacts */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.contacts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 3rem;
    padding: 3rem 8%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-info strong {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-info span,
.contact-info a {
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.contact-info a:hover {
    color: var(--primary);
}

.map-container {
    width: 100%;
    border-top: 1px solid var(--glass-border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    width: 100%;
    height: 350px;
    filter: invert(100%) hue-rotate(180deg) sepia(20%) saturate(150%) hue-rotate(10deg) brightness(80%) contrast(120%);
    opacity: 0.8;
}

.route-btn-container {
    padding: 2rem;
    display: flex;
    justify-content: center;
    background: var(--glass-bg);
}

.route-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.route-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

@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;
    }

    .divider {
        margin: 0 auto 2rem auto;
    }

    .contacts-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 0.8rem;
    }
}