/* Premium Luxury Corporate Theme - Book Studio */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #0A0D14; /* Deep Navy/Black */
    --bg-card: #121826;
    --bg-card-hover: #1A2235;
    --text-main: #E2E8F0;
    --text-muted: #8B949E;
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --accent: #3B82F6;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Patterns & Abstract Elements */
body::before {
    content: '';
    position: fixed;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.abstract-type {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 40vw;
    font-weight: 700;
    color: rgba(255,255,255,0.01);
    top: 10%;
    left: -10%;
    z-index: -1;
    white-space: nowrap;
    user-select: none;
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; }
.gold-text { color: var(--gold); }
.gradient-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 2rem 5%;
    position: absolute; width: 100%; top: 0; z-index: 100;
}
.logo {
    font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700;
    color: white; text-decoration: none; letter-spacing: 1px;
}
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
    font-weight: 500; margin-left: 2rem; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #000; padding: 12px 30px; border-radius: 4px; text-decoration: none;
    font-weight: 600; font-family: var(--font-body); font-size: 0.9rem;
    border: none; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh; display: flex; align-items: center; padding: 8rem 5% 5rem;
    position: relative; overflow: hidden;
}
.hero-content { flex: 1; max-width: 600px; z-index: 2; }
.hero-image { flex: 1; text-align: right; z-index: 2; perspective: 1000px; }
.hero-image img {
    max-width: 90%; border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    transform: rotateY(-10deg) rotateX(5deg);
    animation: float 8s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-20px); }
}

.hero h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; color: white; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; font-weight: 300; }

/* Sections */
section { padding: 6rem 5%; position: relative; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 3rem; color: white; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* About / Intro */
.about {
    display: flex; align-items: center; gap: 4rem;
}
.about img { width: 50%; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.about-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; color: white; }
.about-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }

/* Process */
.process-timeline {
    max-width: 1200px; margin: 0 auto;
}
.process-row {
    display: flex; justify-content: space-between; gap: 2rem;
}
@media (max-width: 768px) {
    .process-row { flex-direction: column; }
}
.process-item {
    flex: 1; text-align: center; padding: 2rem 1.5rem;
    background: var(--bg-card); border-radius: 8px; border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}
.process-item:hover { transform: translateY(-5px); border-color: rgba(212, 175, 55, 0.3); }
.process-number { font-family: var(--font-heading); font-size: 2.5rem; color: rgba(212, 175, 55, 0.5); line-height: 1; margin-bottom: 1rem; }
.process-item h3 { font-size: 1.2rem; color: white; margin-bottom: 0.5rem; }
.process-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* Works Grid */
.works-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2.5rem;
}
.work-card {
    background: var(--bg-card); padding: 1.5rem; border-radius: 8px; transition: transform 0.4s;
    border: 1px solid rgba(255,255,255,0.03);
}
.work-card:hover { transform: translateY(-10px); border-color: rgba(212, 175, 55, 0.3); }
.work-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; margin-bottom: 1.5rem; }
.work-card h3 { font-size: 1.3rem; color: white; margin-bottom: 0.3rem; }
.work-card p { font-size: 0.9rem; color: var(--gold); font-family: var(--font-body); letter-spacing: 1px; text-transform: uppercase; }

/* Testimonials */
.testimonial {
    background: var(--bg-card); padding: 4rem; border-radius: 12px; text-align: center;
    max-width: 900px; margin: 0 auto; position: relative; border: 1px solid rgba(255,255,255,0.05);
}
.testimonial img {
    width: 100%; height: 400px; object-fit: cover; border-radius: 8px; margin-bottom: 2rem;
}
.testimonial-quote {
    font-family: var(--font-heading); font-size: 1.8rem; font-style: italic; color: white; margin-bottom: 2rem;
}
.testimonial-author { font-weight: 600; color: var(--gold); }

/* Pricing */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.pricing-card {
    background: var(--bg-card); border-radius: 8px; padding: 3rem 2rem;
    border: 1px solid rgba(255,255,255,0.05); text-align: center; position: relative;
}
.pricing-card.popular {
    border-color: var(--gold); transform: scale(1.05); background: #161D2D;
}
.pricing-card img {
    width: 80%; height: 200px; object-fit: contain; margin-bottom: 2rem;
}
.pricing-card h3 { font-size: 1.5rem; color: white; margin-bottom: 1rem; }
.pricing-price { font-family: var(--font-heading); font-size: 3.5rem; color: var(--gold); margin-bottom: 2rem; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 3rem; }
.pricing-features li { margin-bottom: 1rem; color: var(--text-muted); font-size: 0.95rem; display: flex; align-items: center;}
.pricing-features li::before { content: '✦'; color: var(--gold); margin-right: 10px; font-size: 0.8rem; }

/* Footer */
footer {
    padding: 4rem 5%; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; margin-top: 4rem;
}
footer .logo { font-size: 2rem; margin-bottom: 1rem; display: inline-block; }
footer p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.5rem; }

/* Admin & Forms (Webflow/Framer aesthetic) */
.admin-body { background: #0E1117; }
.admin-header {
    background: #161B22; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #30363D;
}
.admin-layout {
    display: flex; min-height: calc(100vh - 65px);
}
.admin-sidebar {
    width: 250px; background: #161B22; border-right: 1px solid #30363D; padding: 2rem 1rem;
}
.admin-sidebar button {
    width: 100%; text-align: left; background: transparent; border: none; color: #8B949E;
    padding: 10px 15px; border-radius: 6px; margin-bottom: 0.5rem; cursor: pointer; font-size: 0.95rem; font-weight: 500;
}
.admin-sidebar button.active, .admin-sidebar button:hover {
    background: #21262D; color: white;
}
.admin-content {
    flex: 1; padding: 3rem; max-width: 1000px;
}
.admin-card {
    background: #161B22; border: 1px solid #30363D; border-radius: 8px; padding: 2rem; margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.admin-card h2 { font-family: var(--font-body); font-size: 1.2rem; color: white; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; font-weight: 500; color: #8B949E; text-transform: uppercase; letter-spacing: 0.5px;}
.form-control {
    width: 100%; padding: 0.8rem 1rem; background: #0E1117; border: 1px solid #30363D;
    border-radius: 6px; color: white; font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: #58A6FF; box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1); }

/* Admin Portfolio Grid */
.admin-works-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem;
}
.admin-work-item {
    background: #0E1117; border: 1px solid #30363D; border-radius: 6px; overflow: hidden;
}
.admin-work-item img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-bottom: 1px solid #30363D; }
.admin-work-item-body { padding: 1rem; }
.admin-work-item input { margin-bottom: 0.5rem; }

.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(14, 17, 23, 0.9); display: flex; justify-content: center; align-items: center;
    color: white; font-size: 1.2rem; z-index: 2000; visibility: hidden; opacity: 0; transition: opacity 0.3s;
}
.overlay.active { visibility: visible; opacity: 1; }

.btn-primary {
    background: white; color: black; padding: 10px 20px; border-radius: 6px; border: none; font-weight: 600; cursor: pointer;
}
.btn-primary:hover { background: #f0f0f0; }
