:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #3a86ff;
    --accent-glow: rgba(58, 134, 255, 0.4);
    --form-bg: rgba(255, 255, 255, 0.05);
    --form-border: rgba(255, 255, 255, 0.1);
    --font-title: 'Blackest', serif;
    --font-text: 'Baltica', serif;
}

@font-face {
    font-family: 'Blackest';
    src: url('Blackest Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Baltica';
    src: url('Baltica Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-text);
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(58, 134, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.image-wrapper {
    position: relative;
    max-width: 400px;
    width: 100%;
    animation: heartbeat 4.5s ease-in-out infinite;
}

#hero-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.content h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: normal;
    margin-bottom: 1rem;
    letter-spacing: 0px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 600;
    color: white;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background-color: white;
    color: black;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

#contact-form-container {
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--form-border);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    position: absolute;
    bottom: -50px;
    /* Hidden start state */
}

#contact-form-container.form-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    position: relative;
    bottom: 0;
    margin-top: 2rem;
}

.form-hidden {
    display: none;
}

#contact-form h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.2rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

textarea {
    height: 120px;
    resize: none;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
}

.btn-submit:hover {
    background: white;
    color: black;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

.site-footer {
    position: absolute;
    bottom: 1.5rem;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
    z-index: 10;
}

@media (max-width: 768px) {
    .content h1 {
        font-size: 2.5rem;
    }

    .image-wrapper {
        max-width: 300px;
    }

    .site-footer {
        font-size: 0.75rem;
        bottom: 1rem;
        padding: 0 1rem;
    }
}