@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url(https://db.onlinewebfonts.com/c/9c7a3d7da54a2dd5efe92b3339d41b52?family=Britanica-HeavySemiExpanded);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: #121212; /* Fallback color */
    color: #e0e0e0;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    /* Interactive Spotlight Effect */
    background-image: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(223, 57, 148, 0.1) 0%, transparent 25%);
    transition: background-image 0.1s ease-out;
}

.landing-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
}
/* Add a subtle fade-in animation on load */
.landing-text, .landing-image {
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.landing-text, .landing-image {
    flex: 1;
}

.landing-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.landing-title {
    font-family: "Britanica-HeavySemiExpanded", sans-serif;
    font-size: 3.5rem;
    line-height: 1.25; /* Improved line-height for readability */
    margin-bottom: 30px;
    font-weight: 100;
}

.landing-title span {
    color: rgb(223, 57, 148);
}

.copyright-notice {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    max-width: 500px;
    margin: -10px 0 30px 0; /* Pulls it closer to the title */
    line-height: 1.6;
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgb(223, 57, 148);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(223, 57, 148, 0.3);
}

.portfolio-btn i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.portfolio-btn:hover {
    background-color: rgb(218, 0, 120);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(223, 57, 148, 0.4);
}

.portfolio-btn:hover i {
    transform: translateX(5px);
}

.copyright-disclaimer {
    margin-top: 40px;
    font-size: 0.8rem;
    color: #777;
}

/* Tablet Layout */
@media (max-width: 1024px) {
    .landing-container {
        flex-direction: column;
        text-align: center;
        gap: 50px; /* Increased gap for better spacing on tablets */
    }

    .landing-title {
        font-size: 3rem;
    }

    .landing-image {
        order: 2; /* Image comes after text */
    }

    .landing-text {
        order: 1; /* Text comes first */
    }

    .copyright-notice {
        margin-left: auto; /* Ensures it stays centered within the text block */
        margin-right: auto;
    }

    .copyright-disclaimer {
        margin-top: 30px;
    }
}

/* Intermediate Breakpoint for Small Tablets */
@media (max-width: 800px) {
    .landing-image img {
        /* Further constrain image size on smaller tablets for better balance */
        max-width: 450px; 
    }
}

/* Smartphone Layout */
@media (max-width: 600px) {
    body {
        padding: 40px 20px;
    }

    .landing-container {
        gap: 40px; /* Increased gap for better spacing on mobile */
    }

    .landing-image {
        order: 1; /* Image comes first on small screens */
    }

    .landing-text {
        order: 2; /* Text comes after image */
    }

    .landing-image img {
        max-width: 380px; /* Constrain image size on small screens */
    }

    .landing-title {
        font-size: 2.5rem;
    }

    .portfolio-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .copyright-disclaimer {
        margin-top: 25px;
        font-size: 0.75rem;
    }
}
