/* Global Styles & Layer 0: Fixed Carbon Fiber */
body {
    background-image: url('background.svg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #0a0a0a; 
    color: #ffffff; 
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Layer 1: Floating Wave Overlay with Majestic Flow */
.wave-layer {
    position: fixed;
    top: 0;
    left: 0;
    /* Extra width (130%) provides "room" for the horizontal drift */
    width: 130%; 
    height: 100%;
    background-image: url('Floating_Wave.svg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
    /* Combined AE-style animation track */
    animation: majestic-flow 25s ease-in-out infinite;
}

/* Layer 2: Content & Typography */
.top-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center; 
    padding: 50px 80px;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
}

.brand-name {
    font-family: 'Anton', sans-serif;
    /* Fluid scaling for majestic look on all screens */
    font-size: clamp(2.5rem, 12vw, 6rem);
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    /* Out-of-sync heartbeat pulse */
    animation: text-glow 5s ease-in-out infinite;
}

.subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: #888; 
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    
    /* Optical Alignment Shift */
    padding-left: 1.2ch; 
    display: inline-block; /* Ensures the padding moves the text correctly */
}

.contact-button {
    font-family: 'Bebas Neue', sans-serif;
    display: inline-block;
    color: #ffffff; 
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 12px 35px; 
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px; 
    transition: all 0.3s ease;
    position: fixed;
    bottom: 40px; 
    right: 40px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-3px);
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

footer {
    padding: 40px;
    font-size: 0.8rem;
    color: #444;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

/* Keyframes: Combined Wave Movement */
@keyframes majestic-flow {
    0%, 100% { 
        transform: translateX(0) scale(1); 
    }
    50% { 
        /* Slides left 8% while slightly scaling up for depth */
        transform: translateX(-8%) scale(1.08); 
    }
}

/* Keyframes: Brand Heartbeat */
@keyframes text-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.82; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .top-bar {
        padding: 30px;
        justify-content: center;
    }
    .contact-button {
        position: static;
        margin: 20px auto;
    }
}