:root {
    --bg-charcoal: #2c3136; 
    --bg-charcoal-light: #495057;
    --gold-brand: #E6C950; 
    --gold-hover: #f1da7a;
    --gold-border: rgba(230, 201, 80, 0.85);
    --btn-text-ink: #1A1D20; 
}

body, html {
    margin: 0; padding: 0; height: 100%;
    font-family: 'Roboto', sans-serif;
    color: #f0f0f0;
    scroll-behavior: smooth;
    background-color: var(--bg-charcoal);
}

/* --- Hero Section & Logo Protection --- */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: radial-gradient(circle, var(--bg-charcoal-light) 0%, var(--bg-charcoal) 70%);
    position: relative;
}

.logo-container { width: 90%; max-width: 900px; z-index: 2; text-align: center; }
.main-logo { width: 100%; height: auto; max-width: 800px; margin-bottom: 20px; }

/* --- Arrow Logic --- */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.2rem;
    background: linear-gradient(90deg, var(--gold-brand) 40%, #ffffff 50%, var(--gold-brand) 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: bounce 2s infinite, arrow-glint 3s infinite linear;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

.hide-arrow { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -12px); }
}

@keyframes arrow-glint { to { background-position: -200% center; } }

/* --- Adjusted Fade-In Contact Card --- */
.contact-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.contact-card {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px);
    border: 5px solid var(--gold-border); 
    border-radius: 25px; 
    padding: 30px 30px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0,0,0,0.7);
    
    /* Initial state */
    opacity: 0;
    transform: translateY(40px); /* Lowered travel distance for "sooner" feel */
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-card.card-small {
    max-width: 420px;
}

#contact-content { transition: opacity 0.4s ease; }

.gold-text { color: var(--gold-brand); font-weight: 900; font-size: 2.2rem; margin-top: -10px; margin-bottom: 10px; }
.form-subtext { font-weight: 700; margin-bottom: 30px; }

/* --- Form Styles --- */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px;
    background-color: rgba(0, 0, 0, 0.5); 
    color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;      /* Prevents horizontal growth */
    min-height: 120px;     /* Optional: ensures a nice starting size */
}

/* --- Premium Button with Shimmer --- */
.gold-button {
    background-color: var(--gold-brand);
    color: var(--btn-text-ink); 
    padding: 20px;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    width: 100%;
    transition: all 0.3s ease;
}

.gold-button.button-small {
    width: auto;           /* Overrides the 100% width */
    min-width: 280px;      /* Ensures it doesn't get TOO tiny */
    padding-left: 40px;    /* Extra breathing room inside */
    padding-right: 40px;
    margin: 0 auto;        /* Centers it */
    display: inline-block; /* Required for 'width: auto' to work */
}

.gold-button::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 25%; height: 200%;
    background: rgba(255, 255, 255, 0.45);
    transform: rotate(25deg);
    animation: button-glint 6s infinite;
}

@keyframes button-glint {
    0% { left: -70%; }
    15% { left: 130%; }
    100% { left: 130%; }
}

.gold-button:hover {
    background-color: var(--gold-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(230, 201, 80, 0.5); 
}