/* Exoluxury Design — Luxury Theme System */
:root {
    --background: 40 20% 97%;
    --foreground: 30 15% 12%;
    --primary: 38 45% 55%;
    --secondary: 40 30% 88%;
    --muted: 40 15% 92%;
    --accent: 38 60% 45%;
    --border: 40 12% 85%;
    --gold: 38 45% 55%;
    --gold-light: 40 35% 75%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background-color: hsla(var(--background), 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 hsla(var(--border), 0.5);
    padding: 0.75rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 0.75rem;
}

.logo-img {
    height: 2.75rem;
    width: auto;
    object-fit: contain;
}

.logo-circle {
    width: 2.75rem;
    height: 2.75rem;
    background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--accent)));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px hsla(var(--gold), 0.3);
}

.logo-circle span {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.logo-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: hsl(var(--gold));
    font-weight: 500;
}

.nav { display: none; }

@media (min-width: 768px) {
    .nav { display: flex; gap: 2.5rem; }
}

.nav-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: hsl(var(--gold));
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: hsl(var(--gold)); }

.mobile-menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 2.5rem; height: 2.5rem;
    background: none; border: none;
    cursor: pointer; padding: 0;
}

@media (min-width: 768px) { .mobile-menu-button { display: none; } }

.mobile-menu-button span {
    display: block;
    width: 1.5rem; height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
}
.mobile-menu-button span + span { margin-top: 5px; }

@media (max-width: 767px) {
    .nav {
        position: fixed;
        top: 4.5rem; left: 0; right: 0;
        background-color: hsla(var(--background), 0.98);
        backdrop-filter: blur(16px);
        padding: 2rem 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    }
    .nav.active { transform: translateY(0); display: flex; }
}

/* Hero */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-slider { position: absolute; inset: 0; }

.slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    transform: scale(1.05);
}

.slide.active { opacity: 1; transform: scale(1); }

.slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.slide.active img { transform: scale(1.08); }

.slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.55) 100%);
}

.hero-content {
    position: relative; z-index: 1;
    color: white;
    padding: 2rem;
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 2rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.92;
    max-width: 36rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.35s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--accent)));
    color: white;
    box-shadow: 0 4px 20px hsla(var(--gold), 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px hsla(var(--gold), 0.45);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.7);
    color: white;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: white;
    color: hsl(var(--foreground));
}

.btn-dark {
    background-color: hsl(var(--foreground));
    color: hsl(var(--background));
}

.btn-dark:hover { opacity: 0.9; transform: translateY(-2px); }

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: hsl(var(--gold));
    margin-bottom: 0.75rem;
    font-weight: 600;
}

section h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

/* Bio */
.bio-section { padding: 6rem 0; }

.bio-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .bio-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.bio-image { position: relative; }

.bio-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.bio-image-bg {
    position: absolute;
    bottom: -1.5rem; right: -1.5rem;
    width: 10rem; height: 10rem;
    background: linear-gradient(135deg, hsl(var(--gold-light)), hsl(var(--secondary)));
    border-radius: 2px;
    z-index: -1;
    opacity: 0.5;
}

.bio-content h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }

.bio-role {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--gold));
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.bio-text { margin-bottom: 1.25rem; opacity: 0.85; }

/* Projects */
.projects-section {
    padding: 6rem 0;
    background-color: hsl(var(--muted));
}

.projects-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
    overflow: hidden;
    border-radius: 2px;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.active { opacity: 1; transform: translateY(0); }

.project-link {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-link:hover .project-image { transform: scale(1.08); }

.project-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: white;
}

.project-overlay h3 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.project-overlay p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.8; }

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid hsl(var(--border));
    background: transparent;
    font-size: 0.75rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 500;
}

.filter-btn:hover { border-color: hsl(var(--gold)); color: hsl(var(--gold)); }

.filter-btn.active {
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    border-color: hsl(var(--foreground));
}

/* Steps */
.how-it-works { padding: 6rem 0; }

.steps-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    padding: 1.5rem;
    border-left: 2px solid hsl(var(--gold-light));
}

.step.active { opacity: 1; transform: translateY(0); }

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: hsl(var(--gold));
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

.step h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.step p { font-size: 0.9rem; opacity: 0.8; }

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background-color: hsl(var(--muted));
}

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
    background-color: hsl(var(--background));
    padding: 2rem;
    border-radius: 2px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    border-top: 3px solid hsl(var(--gold));
}

.testimonial-card.active { opacity: 1; transform: translateY(0); }

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    line-height: 1.7;
}

.testimonial-card .name { font-weight: 600; display: block; font-size: 0.9rem; }
.testimonial-card .role { font-size: 0.8rem; opacity: 0.6; }

/* CTA */
.cta {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, hsl(var(--foreground)) 0%, hsl(30 15% 20%) 100%);
    color: white;
}

.cta h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.cta p { max-width: 36rem; margin: 0 auto 2rem; opacity: 0.85; font-weight: 300; }

.cta .btn-primary {
    background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-light)));
}

/* Footer */
.footer {
    background-color: hsl(var(--foreground));
    color: hsl(var(--background));
    padding: 4rem 0 2rem;
}

.footer .logo-title { color: white; }
.footer .logo-subtitle { color: hsl(var(--gold-light)); }
.footer .logo-circle { background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--accent))); }

.footer-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand p { margin: 1.5rem 0; opacity: 0.7; font-size: 0.9rem; line-height: 1.7; }

.footer h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.25rem;
    color: hsl(var(--gold-light));
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links nav a {
    text-decoration: none;
    color: inherit;
    opacity: 0.7;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-links nav a:hover { opacity: 1; color: hsl(var(--gold-light)); }

.footer-contact p { margin-bottom: 0.5rem; opacity: 0.7; font-size: 0.9rem; white-space: pre-line; }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.5;
}

/* Page Header */
.page-header {
    padding: 9rem 0 4rem;
    background-color: hsl(var(--muted));
}

.page-header h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.page-header p { font-size: 1.125rem; max-width: 48rem; opacity: 0.75; }

/* Values */
.values-section { padding: 6rem 0; background-color: hsl(var(--secondary)); }

.values-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

.value-card {
    padding: 2rem;
    background: hsl(var(--background));
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.value-card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; color: hsl(var(--gold)); }
.value-card p { opacity: 0.8; font-size: 0.95rem; }

/* Design Approach */
.design-approach { padding: 6rem 0; }

.approach-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) { .approach-grid { grid-template-columns: 1fr 1fr; } }

.approach-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.approach-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.approach-content p { margin-bottom: 1rem; opacity: 0.85; }

/* Project Detail */
.project-header {
    position: relative;
    padding: 9rem 0 4rem;
    background-size: cover;
    background-position: center;
    color: white;
}

.project-header::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.project-header-content { position: relative; z-index: 1; }

.back-link {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.back-link:hover { opacity: 1; }
.back-link svg { width: 1rem; height: 1rem; margin-right: 0.5rem; }

.project-title { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-meta-item span:first-child { opacity: 0.6; margin-right: 0.5rem; }

.project-content-section { padding: 4rem 0; }

.project-content-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) { .project-content-grid { grid-template-columns: 2fr 1fr; } }

.project-info h2 { font-size: 2.25rem; margin-bottom: 1.5rem; }
.project-info h3 { font-size: 1.35rem; margin: 2rem 0 1rem; color: hsl(var(--gold)); }
.project-info p { margin-bottom: 1rem; opacity: 0.85; line-height: 1.8; }

.project-sidebar {
    background-color: hsl(var(--muted));
    padding: 2rem;
    border-radius: 2px;
    position: sticky;
    top: 5rem;
    height: fit-content;
    border-top: 3px solid hsl(var(--gold));
}

.project-sidebar h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.project-sidebar p { margin-bottom: 1.5rem; opacity: 0.8; }

.project-gallery { padding: 2rem 0 4rem; }
.project-gallery h2 { font-size: 2.25rem; margin-bottom: 2rem; }

.project-gallery-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) { .project-gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    overflow: hidden;
    border-radius: 2px;
}

.gallery-item.active { opacity: 1; transform: translateY(0); }

.gallery-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image { transform: scale(1.03); }

.related-projects { padding: 2rem 0 4rem; }
.related-projects h2 { font-size: 2.25rem; margin-bottom: 2rem; }

.related-projects-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) { .related-projects-grid { grid-template-columns: repeat(3, 1fr); } }

/* Contact */
.contact-section { padding: 4rem 0 6rem; }

.contact-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-form-wrapper {
    background-color: hsl(var(--background));
    padding: 2.5rem;
    border-radius: 2px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    border: 1px solid hsl(var(--border));
}

.contact-form-wrapper h2 { font-size: 2rem; margin-bottom: 1.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid hsl(var(--border));
    border-radius: 2px;
    background-color: hsl(var(--background));
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--gold));
    box-shadow: 0 0 0 3px hsla(var(--gold), 0.15);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.contact-info {
    background-color: hsl(var(--muted));
    padding: 2.5rem;
    border-radius: 2px;
}

.contact-info-content h2 { font-size: 2rem; margin-bottom: 1.5rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.75rem; margin-bottom: 2rem; }

.contact-item h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: hsl(var(--gold));
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.contact-item p { font-size: 0.9rem; line-height: 1.7; white-space: pre-line; }

.contact-image img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 2px;
}

.form-message {
    font-size: 0.875rem;
    padding: 0.875rem;
    border-radius: 2px;
    text-align: center;
    display: none;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e53e3e;
    background-color: #fff5f5;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active { opacity: 1; transform: translateY(0); }

.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 150ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 450ms; }

.text-center { text-align: center; margin-top: 2.5rem; }

.loading-placeholder {
    text-align: center;
    padding: 3rem;
    opacity: 0.5;
}

@media (max-width: 767px) {
    .bio-section, .projects-section, .how-it-works, .testimonials, .cta { padding: 4rem 0; }
    .contact-form-wrapper, .contact-info { padding: 1.5rem; }
    .contact-form .btn-primary { width: 100%; }
}
