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

/* Variables */
:root {
    --dark-bg: #121212;
    --bg-dark-100: #0e0e0e;
    --bg-dark-200: #1a1a1a;

    --text-primary: #f0f0f0;
    --text-secondary: #c0c0c0;
    --text-tertiary: #8f8f8f;

    --accent-light: #FFC107;
    --accent-dark: #BF8B00;
    --gold-gradient: linear-gradient(135deg,
            var(--accent-light) 0%,
            var(--accent-dark) 100%);
    --hover-bg: rgba(255, 193, 7, 0.15);
    --accent-teal: #00BFA5;
}

/* Full‐height flex layout */
html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: "Sora", sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
}

main.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 5%;
    text-align: center;
}

/* Animated background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg,
            var(--bg-dark-100),
            var(--bg-dark-200),
            var(--bg-dark-100));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.bg-animation::before,
.bg-animation::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    animation: float 14s ease-in-out infinite;
}

.bg-animation::before {
    background-image: radial-gradient(circle at 20% 80%,
            rgba(255, 193, 7, 0.06) 0%,
            transparent 50%);
}

.bg-animation::after {
    background-image: radial-gradient(circle at 80% 20%,
            rgba(191, 139, 0, 0.05) 0%,
            transparent 50%);
    animation-delay: -7s;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(-15px, 20px) scale(1.05);
    }

    50% {
        transform: translate(10px, -20px) scale(1);
    }

    75% {
        transform: translate(15px, 10px) scale(1.05);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Main content */
.content-wrapper {
    max-width: 720px;
    width: 100%;
}

.logo {
    height: 260px;
    margin-bottom: 40px;
    filter: invert(1) brightness(0.75);
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: invert(1) brightness(0.9);
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 auto 56px;
    max-width: 520px;
    font-weight: 400;
}

/* Contact */
.contact-section {
    margin-bottom: 56px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.contact-group {
    text-align: center;
}

.contact-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-icon {
    font-size: 18px;
    color: var(--accent-dark);
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-list li {
    font-size: 1rem;
    color: var(--text-tertiary);
}

.contact-list a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
}

.contact-list a:hover {
    color: var(--accent-light);
    background: var(--hover-bg);
    transform: translateY(-2px);
}

.address-link {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 16px;
    border-radius: 12px;
    display: inline-block;
    line-height: 1.6;
}

.address-link:hover {
    color: var(--accent-light);
    background: var(--hover-bg);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    /* constrain to content width and center */
    max-width: 720px;
    width: 100%;
    margin: 0 auto;

    text-align: center;
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
}

.footer p {
    margin: 0;
    transition: color 0.3s ease;
}

.footer p:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    main.main-container {
        padding: 30px 5%;
    }

    .logo {
        height: 220px;
        margin-bottom: 32px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 48px;
    }

    .contact-section {
        margin-bottom: 48px;
    }

    .contact-grid {
        gap: 32px;
    }

    .contact-title {
        font-size: 1rem;
    }

    .contact-list {
        gap: 10px;
    }

    .contact-list li {
        font-size: 0.95rem;
    }
}
