html {
    overflow-y: scroll; /* Forces scrollbar on all pages to prevent jumping */
}

body {
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #d1d1d1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    padding: 50px 20px 50px; /* Changed bottom padding from 10px to 100px */
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.logo-main {
    width: 100%;
    max-width: 250px; 
    height: auto;
    display: inline-block;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 70px; /* Increased top padding from 60px to 80px */
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
}

h1 {
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 15px;
    margin-top: 0;
}

p.lead-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a0a0a0;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    padding: 12px 35px;
    border: 1px solid #888;
    background-color: transparent;
    color: #e0e0e0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #e0e0e0;
    color: #121212;
    border-color: #e0e0e0;
}

footer {
    padding: 15px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.logo-icon {
    width: 35px; 
    height: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.logo-icon:hover {
    opacity: 1;
}

.footer-text {
    font-size: 0.75rem;
    color: #555;
    margin-top: 15px;
    letter-spacing: 0.5px;
}

/* --- PORTFOLIO SECTION (LIST VIEW) --- */

.portfolio-section {
    width: 100%;
    max-width: 700px; /* Constrained to match the minimalist list look */
    padding: 40px 20px 70px;
    box-sizing: border-box;
    margin: 0 auto;
    flex: 1;
}

.portfolio-section h2 {
    text-align: center;
    font-weight: 300;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 50px;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.category-title {
    text-align: left;
    color: #ffffff;
    font-weight: 300;
    font-size: 1.1rem;
    margin-top: 50px;
    margin-bottom: 0;
    padding-bottom: 10px;
    letter-spacing: 1px;
    width: 100%;
}

/* Forces the grid container into a single column list */
.portfolio-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 30px;
}

/* Transforms the old boxes into sleek list rows */
.portfolio-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    text-decoration: none;
    color: #ffffff;
    background: transparent;
    border: none; /* Removes the old box borders */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.portfolio-card:hover {
    border-bottom-color: #ffffff;
    padding-left: 15px; /* Slide-in effect from your example */
}

.domain-name {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    color: #ffffff;
}

/* Hides the <p> tag to strictly match the clean 2-element layout */
.asset-type {
    display: none; 
}

/* Styles the right-side text to match the requested aesthetic */
.acquire-btn {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

/* Automatically adds the arrow symbol next to "Acquire" */
.acquire-btn::after {
    content: ' \2197';
}

.portfolio-card:hover .acquire-btn {
    color: #ffffff;
}

/* --- NAVIGATION MENU --- */

.top-nav {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 25px;
    width: 100%;
}

.nav-link {
    text-decoration: none;
    color: #777; 
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* --- CONTACT SECTION (DIRECT EMAIL) --- */

.contact-section {
    width: 100%;
    max-width: 600px;
    padding: 40px 20px 100px;
    box-sizing: border-box;
    margin: 0 auto;
    flex: 1;
    text-align: center;
}

.contact-section h2 {
    font-weight: 300;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.contact-intro {
    color: #a0a0a0;
    font-size: 0.95rem;
    margin-bottom: 50px;
    line-height: 1.6;
    font-weight: 300;
}

/* The clickable email card */
.direct-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.direct-contact-card:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateY(-5px);
}

.contact-label {
    font-size: 0.75rem;
    color: #777;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.email-address {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.direct-contact-card .arrow {
    font-size: 1.2rem;
    color: #777;
    transition: color 0.3s ease;
}

.direct-contact-card:hover .arrow {
    color: #ffffff;
}