@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Jost:wght@300;400;500&display=swap');

:root {
    --color-bg: #FDFBF7;     /* Pure warm ether */
    --color-text: #6B5738;   /* Soft warm gold-brown */
    --color-accent: #D4AF37; /* Luminous gold */
    --color-primary: #8A734D;/* Metallic gold */
    
    --font-heading: 'Cinzel Decorative', serif;
    --font-body: 'Jost', sans-serif;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a:hover, button:hover {
    color: var(--color-accent);
}



/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.title-xl {
    font-size: clamp(4rem, 8vw, 10rem);
    line-height: 1;
    letter-spacing: -0.02em;
}

.title-lg {
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: 1.1;
}

.text-lg {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.6;
}

/* Layout */
.section {
    padding: var(--spacing-xl) 5vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Navigation */
.nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.brand {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-toggle {
    display: flex;
    gap: 1rem;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--color-text);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.lang-btn.active {
    opacity: 1;
    font-weight: 600;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Full Background utilities */
.section-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.relative-z {
    position: relative;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 1; /* Full opacity, no dimming */
    transform: scale(1.05); /* Slight scale for parallax start */
}

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

/* Reusable Immersive Background Class */
.section-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.05);
}
.relative-z {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    color: var(--color-primary);
}

/* Content Blocks for Language Toggle */
[data-lang] {
    display: none;
}
[data-lang].active {
    display: block;
}
span[data-lang].active,
div[data-lang].inline-active {
    display: inline;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.service-card {
    position: relative;
    height: 500px;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    background-color: #000;
    color: #F9F7F2; /* Force white text over images */
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 0;
    opacity: 0.4;
}

.service-card:hover .service-bg {
    transform: scale(1.05);
    opacity: 0.8;
}

.service-content {
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

/* Glassmorphism Form */
.contact-form {
    background: rgba(26, 26, 24, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(26, 26, 24, 0.1);
    padding: var(--spacing-lg);
    border-radius: 20px;
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-control {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(26, 26, 24, 0.3);
    padding: 1rem 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-primary);
}

.submit-btn {
    background: var(--color-text);
    color: var(--color-bg);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

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

.footer {
    padding: var(--spacing-lg) 5vw;
    text-align: center;
    border-top: 1px solid rgba(26, 26, 24, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
