/* Custom Font Definition */
@font-face {
    font-family: 'Bebas Neue Custom';
    src: url('Bebas-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #571e1b;
    font-family: 'Bebas Neue Custom', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base Container */
#main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100dvh;
    position: relative;
    /* Rich radial gradient centered around the logo to add professional depth */
    background: radial-gradient(circle at center, #6b2623 0%, #571e1b 75%, #461816 100%);
    z-index: 1;
}

/* Landing Content Wrapper */
#landing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 10;
}

/* Logo Image Styling */
#logo-container {
    margin-bottom: 2rem;
    perspective: 1000px;
}

#logo-image {
    max-width: 260px;
    width: 75vw;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
    opacity: 0;
    transform: scale(0.94) translateY(10px);
    animation: logoEntrance 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Interactive Hover effect for Logo */
#logo-container:hover #logo-image {
    transform: scale(1.03) translateY(-2px);
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 15px rgba(237, 232, 220, 0.15));
}

/* Typography styling for "DURR Fotografía" */
#title-text {
    color: #ede8dc;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: normal;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(15px);
    animation: textEntrance 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
    user-select: none;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Ambient Light Leak Effect to add warmth and motion */
#light-leak {
    position: fixed;
    top: -20%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 232, 220, 0.04) 0%, rgba(237, 232, 220, 0) 70%);
    pointer-events: none;
    z-index: 2;
    filter: blur(50px);
    animation: lightLeakMove 20s ease-in-out infinite alternate;
}

/* Entrance Animations */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(15px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes textEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Light Leak Drift */
@keyframes lightLeakMove {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-10%, 15%) scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: translate(5%, -5%) scale(0.95);
        opacity: 1;
    }
}

/* Contact Info Footer Styling */
#contact-info {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    color: #ede8dc;
    font-size: clamp(0.85rem, 2.5vw, 1.05rem);
    letter-spacing: 0.18em;
    opacity: 0;
    transform: translateY(15px);
    animation: footerEntrance 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
    z-index: 10;
    flex-wrap: wrap;
    padding: 0 1.5rem;
}

#contact-info a {
    color: #ede8dc;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

#contact-info a:hover {
    opacity: 0.75;
    transform: translateY(-1px);
}

#contact-info .separator {
    opacity: 0.35;
    user-select: none;
}

@keyframes footerEntrance {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

