/* AI Digital Prints - Cat Soup Art Studio */
/* Aesthetic: Rust, industrial decay, organic growth, warm paper feel */

/* ========================================
   CSS Custom Properties (Theme Variables)
   ======================================== */
:root {
    /* Cat Soup Color Palette */
    --rust-dark: #2D1810;
    --rust-medium: #5C3427;
    --rust-light: #8B5A3C;
    --rust-accent: #B8734D;
    
    /* Patina/Metallic */
    --patina-dark: #1A3A2F;
    --patina-medium: #2E6B5A;
    --patina-light: #4A9980;
    
    /* Organic/Floral */
    --moss: #4A5940;
    --leaf: #6B8E5A;
    --bloom: #C98B7A;
    --cream: #F5EDE3;
    
    /* Neutrals */
    --charcoal: #1A1815;
    --slate: #3D3A36;
    --stone: #6B6660;
    --paper: #E8E2D9;
    --white: #F9F7F4;
    
    /* Accent */
    --gold: #C9A86C;
    --copper: #B87333;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 8rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Borders */
    --border-thin: 1px solid var(--rust-medium);
    --border-medium: 2px solid var(--rust-medium);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(26, 24, 21, 0.1);
    --shadow-md: 0 4px 12px rgba(26, 24, 21, 0.15);
    --shadow-lg: 0 8px 24px rgba(26, 24, 21, 0.2);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--copper);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--rust-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: var(--space-md);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--patina-medium);
    margin-bottom: var(--space-sm);
}

/* ========================================
   Layout
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f5f5f5;
}

.logo-icon {
    font-size: 24px;
    color: #d4a574;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
}

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

.nav-menu a {
    color: #a0a0a0;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #d4a574;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #f5f5f5;
    transition: 0.3s;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #1a1510 100%);
    overflow: hidden;
}

.hero-digital {
    background: 
        linear-gradient(rgba(13, 13, 13, 0.15), rgba(13, 13, 13, 0.25)),
        url('images/digital-hero-001.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, #0d0d0d 70%);
}

.hero-digital .hero-overlay {
    background: radial-gradient(ellipse at center, transparent 0%, transparent 70%);
}

.hero-digital .hero-content {
    text-align: left;
    margin-left: 1.2%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-xl);
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-accent {
    display: block;
    color: #d4a574;
    font-size: 0.5em;
    font-weight: 400;
    letter-spacing: 2px;
}

.title-main {
    display: block;
    color: #f5f5f5;
}

.hero-tagline {
    font-size: 1.25rem;
    color: #f5f5f5;
    max-width: 500px;
    margin: 0 auto 30px;
}

.hero-branding {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.printful-logo {
    height: 24px;
    width: auto;
    opacity: 0.9;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

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

/* ========================================
   Gallery Section
   ======================================== */
.gallery {
    padding: var(--space-xxl) 0;
    background: var(--white);
}

.gallery h2 {
    margin-bottom: var(--space-md);
}

.gallery-intro {
    color: var(--stone);
    margin-bottom: var(--space-xl);
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.gallery-item {
    position: relative;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-info {
    padding: var(--space-md);
    background: var(--cream);
    border-top: 1px solid rgba(184, 115, 77, 0.2);
}

.gallery-item-info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--rust-dark);
    margin: 0;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: var(--space-xxl) 0;
    background: var(--cream);
}

.about h2 {
    margin-bottom: var(--space-lg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.about-content {
    color: var(--slate);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.process-steps {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.3rem;
    font-family: var(--font-display);
}

.step p {
    color: var(--slate);
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--space-xxl) 0;
    background: var(--white);
}

.contact h2 {
    margin-bottom: var(--space-md);
}

.contact-center {
    text-align: center;
    max-width: 600px;
    margin: var(--space-xl) auto 0;
}

.contact-center p {
    color: var(--slate);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

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

.btn-primary:hover {
    background: var(--copper);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Modal
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 24, 21, 0.9);
    overflow: auto;
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    color: var(--stone);
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--rust-dark);
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
    padding: var(--space-lg);
}

.modal-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background: var(--cream);
    border-radius: 8px;
}

.modal-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.modal-options {
    flex: 1;
    min-width: 300px;
    padding: var(--space-lg);
}

.modal-options h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: var(--space-lg);
    color: var(--rust-dark);
}

.modal-options h4 {
    margin-bottom: var(--space-sm);
    color: var(--rust-dark);
}

.print-type,
.print-size {
    margin-bottom: var(--space-lg);
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.size-grid {
    max-height: 200px;
    overflow-y: auto;
}

.option-btn {
    background: var(--white);
    border: 1px solid var(--stone);
    color: var(--charcoal);
    padding: 0.6rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.option-btn:hover {
    border-color: var(--gold);
}

.option-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.price-display {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
}

.price-display strong {
    color: var(--copper);
}

.print-note {
    color: var(--stone);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
}

.modal-options .btn {
    width: 100%;
}

.quote-form input[type="email"] {
    width: 100%;
    padding: 0.85rem;
    margin-bottom: var(--space-md);
    background: var(--charcoal);
    border: 2px solid var(--stone);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
}

.quote-form input[type="email"]:focus {
    outline: none;
    border-color: var(--copper);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: var(--space-xl) 0;
    background: var(--charcoal);
    border-top: 1px solid rgba(184, 115, 77, 0.2);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-md);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cream);
}

.footer-brand .logo-icon {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    color: var(--stone);
    font-size: 0.85rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--charcoal);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .modal-body {
        flex-direction: column;
    }

    .modal-image {
        order: 1;
    }

    .modal-options {
        order: 2;
        padding: var(--space-md);
    }

    .modal-options h2 {
        font-size: 1.5rem;
    }

    .option-buttons {
        justify-content: center;
    }
}