/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    overflow: hidden; /* Prevents accidental scrolling on mobile */
    -webkit-font-smoothing: antialiased;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 40px; /* Space for mobile edges */
}

/* Animation Container */
.content-box {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease-out, transform 1s ease-out;
    text-align: center;
    width: 100%;
    max-width: 600px; /* PC max width */
}

.content-box.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- THE RESPONSIVE LOGO --- */
.logo-container {
    margin-bottom: 2rem;
}

.logo {
    /* This makes the logo fluid */
    width: 40%;          /* Default for PC */
    min-width: 120px;    /* Don't let it get tiny */
    max-width: 280px;    /* Don't let it get huge */
    height: auto;
    transition: transform 0.3s ease;
}

/* PC/Desktop Hover */
.logo:hover {
    transform: scale(1.03);
}

/* Tablet Resolution (Screen width < 768px) */
@media (max-width: 768px) {
    .logo {
        width: 50%;
    }
    .brand-name {
        font-size: 1.8rem;
    }
}

/* Mobile Resolution (Screen width < 480px) */
@media (max-width: 480px) {
    .logo {
        width: 60%; /* Larger percentage on small screens for visibility */
    }
    .brand-name {
        font-size: 1.5rem;
        letter-spacing: -0.01em;
    }
    .wrapper {
        padding: 20px;
    }
}

/* Typography & Links */
.brand-name {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

#contact-area a {
    color: #888;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

#contact-area a:hover {
    color: #000;
    border-bottom: 1px solid #000;
}

.logo {
    width: 40%;
    min-width: 120px;
    max-width: 280px;
    height: auto;
    cursor: pointer; /* Changes mouse to a hand icon */
    transition: transform 0.2s ease, opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent; /* Removes blue flash on mobile tap */
}

.logo:active {
    transform: scale(0.95); /* Visual feedback for mobile touch */
}