/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@300;400&display=swap');

/* --- GENERAL STYLES --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    overflow: hidden;
}

body {
    background:
        radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 80%),
        url('bg.jpg') no-repeat center center;
    background-size: cover;
    background-color: #111;
}

/* --- MAIN LAYOUT --- */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

.content {
    animation: fadeInContent 1.5s ease-out 1s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInContent {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- LETTER SCATTER & HOVER ANIMATION --- */
.company-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 15vw, 8rem);
    letter-spacing: 0.2em;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.5rem;
    position: relative;
    text-transform: uppercase;
    white-space: nowrap;
}

.company-name span {
    display: inline-block;
    opacity: 0;
    transform: translate(calc(200px * (var(--char-index) - 5.5)), calc(100px * (var(--char-index) - 5.5))) rotate(90deg);
    animation: scatterIn 1s cubic-bezier(0.2, 0.7, 0.4, 1) forwards;
    animation-delay: calc(0.05s * var(--char-index));
    cursor: pointer; /* Changes mouse to pointer on hover */
    transition: transform 0.2s; /* Smooth transition for non-animation effects */
}

@keyframes scatterIn {
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
}

/* --- NEW HOVER ANIMATION --- */
.company-name span:hover {
    /* Triggers the jump animation on hover */
    animation: jumpAndBounce 0.8s ease-out;
}

/* Keyframes for the attractive jump and bounce effect */
@keyframes jumpAndBounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-25px) scale(1.1);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-10px) scale(1.05);
    }
}
/* --- END OF NEW HOVER ANIMATION --- */


.subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.separator {
    width: 80px;
    height: 2px;
    background-color: #fff;
    margin: 2rem auto;
}

/* --- CONTACT DETAILS --- */
.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.photographer-info, .email-info {
    font-size: 1rem;
}

.photographer-info p, .email-info p {
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.contact-details a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #fff;
}

.contact-details i {
    margin-right: 0.5rem;
}

/* --- FOOTER --- */
.footer {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInContent 1.5s ease-out 1.2s forwards;
    opacity: 0;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 1rem;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
    color: #ddd;
}

.location {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.location i {
    margin-right: 0.5rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer {
        position: relative;
        bottom: auto;
        margin-top: 3rem;
    }
}