/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Colors */
    --bg-primary: #FDFCF9; /* Warm Ivory */
    --bg-secondary: #F4F1EA; /* Soft Beige */
    --text-main: #2C2B29; /* Charcoal Black */
    --text-muted: #4A423A; /* Dark Walnut / Espresso */
    --accent: #C7A672; /* Soft Gold */
    --accent-hover: #9E7D4E; /* Bronze / Warm Copper */
    --border-color: #E8E3DB;
    --white: #FFFFFF;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.3s ease;
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

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

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 120px 0;
}

.section-bg {
    background-color: var(--bg-secondary);
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.section-title {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

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

.btn-outline {
    background-color: transparent;
    border-color: var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--white);
}

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

.btn-accent:hover {
    background-color: var(--text-main);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    color: var(--white);
}

.navbar .logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent);
}

/* ==========================================================================
   01. Hero
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background-color: var(--text-main);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 400;
}

.hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-family: var(--font-serif);
    font-style: italic;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================================================
   02. About
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-img::after {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 100%; height: 100%;
    border: 1px solid var(--accent);
    z-index: -1;
}

.about-text h2 {
    font-size: 3rem;
}

.signature {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.8rem;
    color: var(--accent);
    margin-top: 30px;
}

/* ==========================================================================
   03. Creative Process
   ========================================================================== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    position: relative;
    overflow: hidden;
}

.process-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: var(--transition-slow);
}

.process-step:hover .process-img {
    transform: scale(1.05);
}

.process-info {
    padding-top: 20px;
}

.process-step-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.process-title {
    font-size: 1.2rem;
    font-weight: 500;
}

/* ==========================================================================
   04. Collections Grid
   ========================================================================== */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.collection-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    opacity: 0.9;
    transition: var(--transition-fast);
}

.collection-card:hover img {
    transform: scale(1.08);
}

.collection-card:hover .collection-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
}

.collection-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--white);
}

/* ==========================================================================
   05. Featured Artworks
   ========================================================================== */
.artworks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.artwork-card {
    background: var(--white);
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

.artwork-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    margin-bottom: 20px;
}

.artwork-details {
    padding: 0 10px;
}

.artwork-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.artwork-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.artwork-meta span {
    display: block;
    margin-bottom: 5px;
}

.artwork-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.artwork-price {
    font-size: 1.2rem;
    font-weight: 500;
}

/* ==========================================================================
   06. Why Choose
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-box {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.feature-box:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.feature-title {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   07. Commission Timeline
   ========================================================================== */
.commission-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 80px;
}

.commission-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-dot {
    width: 40px;
    height: 40px;
    background-color: var(--bg-primary);
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 0.9rem;
    color: var(--accent);
}

.step-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-main);
}

/* ==========================================================================
   08. Testimonials
   ========================================================================== */
.testimonial-wrap {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    font-size: 4rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 30px;
}

.testimonial-author {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   09. Instagram Gallery
   ========================================================================== */
.masonry {
    column-count: 4;
    column-gap: 20px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: var(--transition-slow);
}

.masonry-item:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

/* ==========================================================================
   10. Contact Footer
   ========================================================================== */
.contact-section {
    background-color: var(--text-main);
    color: var(--white);
    text-align: center;
}

.contact-section .section-title {
    color: var(--white);
}

footer {
    background-color: #1A1918;
    color: var(--white);
    padding: 60px 5% 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #A09D9A;
}

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

.copyright {
    color: #7A7571;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
}

/* ==========================================================================
   Animations & Utilities
   ========================================================================== */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px; right: 40px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    font-family: var(--font-sans);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .collections-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .masonry { column-count: 3; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .artworks-grid { grid-template-columns: 1fr; }
    .commission-steps { flex-direction: column; gap: 30px; }
    .commission-steps::before { display: none; }
    .step-item { display: flex; align-items: center; text-align: left; gap: 20px; width: 100%; }
    .step-dot { margin: 0; }
    .masonry { column-count: 2; }
    .footer-content { flex-direction: column; gap: 30px; }
    .hero-btns { flex-direction: column; }
}

@media (max-width: 480px) {
    .process-timeline { grid-template-columns: 1fr; }
    .collections-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .masonry { column-count: 1; }
    .section-title { font-size: 2.5rem; }
}
