/* ===========================
   PRIMEASSET DOMAIN PORTFOLIO
   Luxury Minimalism Design
   =========================== */

/* Root Variables */
:root {
    /* Colors */
    --background: #fafaf8;
    --foreground: #1a1a1a;
    --muted-foreground: #666666;
    --border: #e0e0e0;
    --primary: #1e3a5f;
    --primary-foreground: #ffffff;
    --accent: #5ba3d0;
    --gold: #c9a961;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius: 0.65rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===========================
   RESET & BASE STYLES
   =========================== */

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

html {
    scroll-behavior: smooth;
}

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

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

p {
    color: var(--muted-foreground);
    line-height: 1.8;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
    opacity: 0.8;
}

/* ===========================
   LAYOUT
   =========================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-image {
    height: auto;
    width: 100%;
    max-width: 300px;
    display: block;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .logo-image {
        max-width: 350px;
    }
}

.logo-image:hover {
    opacity: 0.85;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: var(--transition);
}

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

.nav-button {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    color: var(--accent);
    background: transparent;
    border: 1px solid rgba(91, 163, 208, 0.4);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.nav-button:hover {
    background-color: rgba(91, 163, 208, 0.05);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero-section {
    position: relative;
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 8rem 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(250, 250, 248, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 40rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 35rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.chevron-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--muted-foreground);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(0.5rem);
    }
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: rgba(30, 58, 95, 0.9);
}

.btn-outline {
    background-color: transparent;
    color: var(--foreground);
    border: 1px solid var(--foreground);
}

.btn-outline:hover {
    background-color: rgba(26, 26, 26, 0.05);
}

/* ===========================
   SECTIONS
   =========================== */

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.divider {
    width: 5rem;
    height: 0.25rem;
    background: linear-gradient(90deg, var(--gold) 0%, var(--accent) 50%, var(--gold) 100%);
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Value Proposition Section */
.value-section {
    padding: 4rem 0;
    background-color: rgba(201, 169, 97, 0.05);
}

@media (min-width: 768px) {
    .value-section {
        padding: 6rem 0;
    }
}

.value-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .value-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.value-content {
    max-width: 48rem;
}

.value-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.value-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.value-image:hover img {
    transform: scale(1.02);
}

/* Portfolio Section */
.portfolio-section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .portfolio-section {
        padding: 6rem 0;
    }
}

.portfolio-header {
    margin-bottom: 3rem;
}

.portfolio-header .section-text {
    color: var(--muted-foreground);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background-color: rgba(201, 169, 97, 0.05);
}

@media (min-width: 768px) {
    .cta-section {
        padding: 6rem 0;
    }
}

.cta-content {
    max-width: 48rem;
}

.dotdb-link {
    color: var(--accent);
    font-weight: 600;
}

.dotdb-link:hover {
    opacity: 0.8;
}

/* ===========================
   DOMAIN GRID & CARDS
   =========================== */

.domain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .domain-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .domain-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .domain-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1280px) {
    .domain-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.domain-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .domain-card {
        padding: 1.5rem;
    }
}

.domain-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: var(--accent);
}

.domain-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    word-break: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 768px) {
    .domain-name {
        font-size: 1.5rem;
    }
}

.domain-name .tld {
    color: var(--foreground);
    font-weight: 700;
}

.domain-category {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.domain-description {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    flex-grow: 1;
}

.domain-divider {
    width: 2rem;
    height: 1px;
    background-color: var(--gold);
    margin: 1rem 0;
}

/* Show More Button */
.show-more-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    border-top: 1px solid var(--border);
    background-color: var(--background);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-subtitle {
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--foreground);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===========================
   UTILITIES
   =========================== */

.hidden {
    display: none !important;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
}
