/* --- Core Variables & Reset --- */
:root {
    --gold: #D4AF37;
    --gold-dark: #AA8C2C;
    --gold-light: #F3E5AB;
    --dark-bg: #070707;
    --dark-surface: #121212;
    --text-main: #EAEAEA;
    --text-muted: #A0A0A0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.text-center { text-align: center; }
.gold-text { color: var(--gold); }

/* --- Typography --- */
h1, h2, h3, h4, .brand-logo {
    font-family: var(--font-heading);
    font-weight: 500;
}

.section-title {
    font-size: 2.8rem;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* --- Buttons --- */
.btn-solid-gold {
    display: inline-block;
    background-color: var(--gold);
    color: var(--dark-bg);
    padding: 15px 35px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.btn-solid-gold:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-outline-gold {
    display: inline-block;
    background-color: transparent;
    color: var(--gold);
    padding: 15px 35px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 0.85rem;
    border: 1px solid var(--gold);
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* --- Header --- */
.luxury-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.main-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-nav a:not(.btn-outline-gold) {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-main);
}
.main-nav a:not(.btn-outline-gold):hover {
    color: var(--gold);
}
.main-nav .btn-outline-gold {
    padding: 10px 25px;
}

/* --- Cinematic Hero --- */
.cinematic-hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 130px;
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-rug.jpg');
    background-size: cover;
    background-position: center;
    animation: slowZoom 20s infinite alternate linear;
    z-index: 1;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(7,7,7,0.4) 0%, rgba(7,7,7,0.9) 80%, var(--dark-bg) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin-top: 40px;
    margin-top: 100px !important;
    margin-top: 100px !important;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #E0E0E0;
    margin-bottom: 50px;
    max-width: 700px;
    margin-inline: auto;
    font-weight: 300;
}

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

/* --- Heritage Section --- */
.heritage-section {
    padding: 120px 0;
    background-color: var(--dark-bg);
}

.heritage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.heritage-image-wrapper {
    position: relative;
}

.heritage-img {
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
}

.gold-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: var(--gold);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    opacity: 0.15;
    z-index: 1;
}

.heritage-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-box {
    border-left: 2px solid var(--gold);
    padding-left: 20px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* --- Services Section --- */
.services-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--dark-bg);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.service-card:hover::before, .active-card::before {
    transform: scaleX(1);
}

.service-card:hover, .active-card {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.card-link {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.card-link:hover {
    color: var(--gold-light);
    letter-spacing: 3px;
}

/* --- Footer --- */
.cinematic-footer {
    background-color: #030303;
    padding: 80px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content h2 {
    font-size: 2.5rem;
    color: var(--gold);
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.footer-content > p {
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-links a {
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

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

.copyright {
    color: #444 !important;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .heritage-grid { grid-template-columns: 1fr; }
    .services-cards { grid-template-columns: 1fr; }
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .hero-title { font-size: 2.8rem; }
    .hero-ctas { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
}
/* --- Ornate Dividers --- */
.ornate-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.ornate-divider::before, .ornate-divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.ornate-divider::after {
    background: linear-gradient(270deg, transparent, var(--gold));
}
.ornate-divider span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    margin: 0 15px;
}
.dark-divider::before, .dark-divider::after {
    background: linear-gradient(90deg, transparent, var(--gold-dark));
}
.dark-divider::after {
    background: linear-gradient(270deg, transparent, var(--gold-dark));
}

/* --- Process Sections --- */
.process-section {
    padding: 80px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}
.dark-process { background-color: #0A0A0A; }
.light-process { background-color: #F8F5F0; color: #111; }
.light-process .dark-title { color: #222; }

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

.process-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.process-card {
    flex: 1 1 12%;
    min-width: 140px;
    text-align: center;
    transition: transform 0.4s ease;
}

.process-card:hover {
    transform: translateY(-5px);
}

.card-img-wrap {
    position: relative;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.3);
}

.card-img-wrap img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.process-card:hover .card-img-wrap img {
    transform: scale(1.1);
}

.step-num {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--gold);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 3px solid #0A0A0A;
}

.light-card .icon-wrap {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text h4 {
    font-size: 0.95rem;
    color: var(--gold-light);
    margin-top: 20px;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
}
.light-card .card-text h4 {
    color: #222;
    margin-top: 5px;
}
.card-text p {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #CCC;
}
.light-card .card-text p {
    color: #555;
}

.cta-spacing { margin-top: 50px; }

/* --- Restoration Layout (Side by Side) --- */
.restoration-layout {
    display: flex;
    gap: 40px;
    align-items: center;
}

.restoration-steps-area {
    flex: 2;
}

.restoration-visuals-area {
    flex: 1;
    background: #181411;
    padding: 30px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    min-width: 350px;
}

.visuals-title {
    font-family: var(--font-heading);
    color: var(--gold-light);
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.visuals-desc {
    text-align: center;
    color: #CCC;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

/* --- Before/After Slider --- */
.ba-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 2px;
    background: #000;
}

.ba-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-overlay {
    z-index: 5;
}

.ba-label {
    position: absolute;
    bottom: 10px;
    padding: 3px 10px;
    background: rgba(0,0,0,0.6);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 1px;
    z-index: 10;
    pointer-events: none;
}

.ba-label-before { right: 10px; }
.ba-label-after { left: 10px; }

.ba-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    margin: 0;
    z-index: 20;
    cursor: ew-resize;
}

.ba-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 30px;
    height: 500px;
    background: transparent;
    cursor: ew-resize;
}

.ba-slider-button {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    background: var(--dark-bg);
    border: 2px solid var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 15;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-slider-button::after {
    content: '›';
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* --- Trust Bar --- */
.trust-bar {
    background: #050505;
    padding: 50px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.trust-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 22%;
    min-width: 220px;
}

.trust-icon {
    width: 35px;
    height: 35px;
    color: var(--gold);
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: 0.9rem;
    color: var(--gold-light);
    margin-bottom: 2px;
}

.trust-text p {
    font-size: 0.75rem;
    color: #999;
}

/* Responsive */
@media (max-width: 1200px) {
    .restoration-layout { flex-direction: column; }
    .restoration-visuals-area { width: 100%; max-width: 600px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .process-card { flex: 1 1 45%; max-width: 100%; }
    .trust-item { flex: 1 1 100%; }
}
