/* General Styling & Variables */
:root {
    --primary-color: #007BFF;
    --background-color: #121212;
    --surface-color: #1E1E1E;
    --text-color: #E0E0E0;
    --heading-color: #FFFFFF;
    --disabled-color: #555;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Lato', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
}

.nav-logo {
    color: var(--heading-color);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--heading-color);
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    background: linear-gradient(rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.7)), url('https://images.unsplash.com/photo-1516417156592-441639a6a624?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwzNjUyOXwwfDF8c2VhcmNofDEwfHxhYnN0cmFjdCUyMGRhcmsfZW58MHx8fHwxNjE2NTg0MDMy&ixlib=rb-1.2.1&q=80&w=1920') no-repeat center center/cover;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--heading-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-3px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 0.7rem 1.8rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--heading-color);
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.domain-card {
    background: var(--surface-color);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    border: 1px solid #2c2c2c;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.domain-name {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
    word-break: break-all; /* <-- ADD THIS LINE */
}

.domain-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Sold Domain Styling */
.domain-card.sold {
    filter: grayscale(100%);
    opacity: 0.6;
}

.domain-card.sold:hover {
    transform: translateY(0);
    box-shadow: none;
}

.btn-sold {
    background: var(--disabled-color);
    color: var(--text-color);
    cursor: not-allowed;
    pointer-events: none;
}


/* Contact Section */
.contact {
    background-color: var(--surface-color);
}
.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #333;
    background: #2c2c2c;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: #000;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE RESPONSIVENESS */
@media(max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Match header height */
        gap: 0;
        flex-direction: column;
        background-color: var(--surface-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }
    /* ========================================================================= */
/* DESKTOP-SPECIFIC ADJUSTMENTS                                              */
/* ========================================================================= */

/* This code only applies to screens wider than 768px (tablets and desktops) */
@media (min-width: 769px) {
    
    /* 1. Reduce the height of the hero section */
    .hero {
        height: 85vh; /* Instead of 100vh, use 85% of the viewport height */
        max-height: 800px; /* Optional: sets a maximum pixel height */
    }

    /* 2. Make the title text a bit larger on desktop */
    .hero-title {
        font-size: 4.5rem; /* Increased from 3.5rem */
    }
}
