/*
Theme Name: 3DREAL Premium
Description: Premium 3D Interior Visualization and Architectural Rendering Studio Theme for 3DREAL by Prashant Pote. Cinematic dark theme with gold accents.
Author: Prashant Pote
Version: 1.0
Text Domain: 3dreal-premium
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core Brand Colors */
    --background: hsl(220, 15%, 8%);
    --foreground: hsl(45, 20%, 95%);
    
    /* Card & Surface Colors */
    --card: hsl(220, 20%, 12%);
    --card-foreground: hsl(45, 15%, 92%);
    
    /* Brand Primary - Rich Gold */
    --primary: hsl(45, 90%, 60%);
    --primary-foreground: hsl(220, 15%, 8%);
    --primary-glow: hsl(45, 100%, 70%);
    
    /* Secondary - Charcoal */
    --secondary: hsl(220, 15%, 18%);
    --secondary-foreground: hsl(45, 15%, 90%);
    
    /* Muted Elements */
    --muted: hsl(220, 10%, 15%);
    --muted-foreground: hsl(220, 5%, 65%);
    
    /* Borders & Effects */
    --border: hsl(220, 15%, 20%);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease-out;
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    font-weight: 600;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(31, 29, 24, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(31, 29, 24, 0.8);
}

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

.site-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-family: 'Playfair Display', Georgia, serif;
}

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

.nav-menu a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(40, 85%, 55%) 100%);
    color: var(--primary-foreground);
    box-shadow: 0 0 30px hsla(45, 90%, 60%, 0.3);
}

.btn-hero:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px hsla(45, 90%, 60%, 0.4);
}

.btn-premium {
    background: linear-gradient(145deg, var(--card) 0%, var(--muted) 100%);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-premium:hover {
    background: var(--secondary);
    box-shadow: 0 25px 50px -12px rgba(31, 29, 24, 0.8);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--foreground);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(31, 29, 24, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(31, 29, 24, 0.9), rgba(31, 29, 24, 0.6), rgba(31, 29, 24, 0.4));
    z-index: -2;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(31, 29, 24, 0.8), transparent, rgba(31, 29, 24, 0.2));
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(40, 85%, 55%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

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

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid var(--primary);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-dot {
    width: 0.25rem;
    height: 0.75rem;
    background: var(--primary);
    border-radius: 0.125rem;
    animation: pulse 2s infinite;
}

/* Portfolio Section */
.portfolio-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, hsl(220, 25%, 8%) 0%, hsl(220, 20%, 12%) 50%, hsl(220, 15%, 6%) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-title .text-primary {
    color: var(--primary);
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--muted-foreground);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.portfolio-item {
    background: linear-gradient(145deg, var(--card) 0%, var(--muted) 100%);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(31, 29, 24, 0.8);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px hsla(45, 90%, 60%, 0.3);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(31, 29, 24, 0.9), rgba(31, 29, 24, 0.2), transparent);
    opacity: 0;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(var(--primary), 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.portfolio-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--background);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-text .text-primary {
    color: var(--primary);
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(145deg, var(--card) 0%, var(--muted) 100%);
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: 0 0 20px hsla(45, 90%, 60%, 0.1);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(31, 29, 24, 0.8);
}

.founder-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: linear-gradient(145deg, var(--card) 0%, var(--muted) 100%);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(31, 29, 24, 0.8);
    max-width: 300px;
}

.founder-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.status-dot {
    width: 0.75rem;
    height: 0.75rem;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.founder-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.founder-role {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.founder-quote {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-style: italic;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, hsl(220, 25%, 8%) 0%, hsl(220, 20%, 12%) 50%, hsl(220, 15%, 6%) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, var(--card) 0%, var(--muted) 100%);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.contact-method:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(31, 29, 24, 0.8);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(var(--primary), 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.contact-method:hover .contact-icon {
    background: rgba(var(--primary), 0.2);
}

.contact-info h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

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

.social-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.social-link {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(145deg, var(--card) 0%, var(--muted) 100%);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--foreground);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
    transform: scale(1.1);
}

.social-labels {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.4;
}

.cta-card {
    background: linear-gradient(145deg, var(--card) 0%, var(--muted) 100%);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(31, 29, 24, 0.8);
    text-align: center;
}

.cta-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--primary) 0%, hsl(40, 85%, 55%) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-features {
    padding: 1rem;
    background: rgba(var(--primary), 0.05);
    border-radius: 0.75rem;
}

.cta-features p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Footer */
.site-footer {
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 4rem 0 1.5rem;
}

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

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-icon {
    color: var(--primary);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* Animations */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(-50%, 0, 0);
    }
    40%, 43% {
        transform: translate3d(-50%, -30px, 0);
    }
    70% {
        transform: translate3d(-50%, -15px, 0);
    }
    90% {
        transform: translate3d(-50%, -4px, 0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-card {
        position: static;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}