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

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fcfcfc;
    overflow: hidden;
}

/* Background Image Container */
.background-container {
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.2) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%),
        url('images/background_image.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    transition: background-image 0.8s ease-in-out;
}

/* Header Navigation */
header {
    width: 100%;
    padding: 3rem 6rem;
    display: flex;
    justify-content: flex-end;
    animation: fadeInDown 1s ease-out forwards;
}

nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 6px;
    transition: opacity 0.3s ease;
    opacity: 0.85;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Main Hero Content */
main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 0 8rem;
}

.hero-content {
    max-width: 800px;
    margin-top: -20vh;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
    opacity: 0;
}

h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

p {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.text-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.text-link:hover {
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    main {
        padding: 0 5rem;
    }
    header {
        padding: 2.5rem 5rem;
    }
    h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 2rem;
    }
    nav {
        gap: 1.5rem;
    }
    main {
        padding: 0 2.5rem;
    }
    h1 {
        font-size: 3.2rem;
    }
    p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    .hero-content {
        margin-top: 0;
    }
}

/* Micro Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Background Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.2rem;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.background-container:hover .slider-nav {
    opacity: 1;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.slider-dot.active {
    background-color: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}
