:root {
    --primary-bg: #0d0f12;
    --secondary-bg: #15181c;
    --text-primary: #f0f0f0;
    --text-secondary: #9aa0a6;
    --gold-accent: #d4af37;
    --gold-accent-hover: #f1c40f;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold-accent);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

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

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

/* Animations */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.fade-in.active {
    opacity: 1;
}

.delay-1 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.6s; }

/* Scroll Anim Classes */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh; /* Modern mobile height fix */
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transform: scale(1.05); /* Slight zoom for visual interest */
    transition: transform 10s ease;
}

.hero:hover .hero-bg {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 15, 18, 0.4) 0%, rgba(13, 15, 18, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0,0,0,0.7);
    margin-bottom: 1rem;
    letter-spacing: 14px;
    font-weight: 300;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator span {
    margin-bottom: 10px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold-accent);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--primary-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.separator {
    width: 60px;
    height: 2px;
    background-color: var(--gold-accent);
    margin: 0 auto 20px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--secondary-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
}

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

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(21, 24, 28, 1) 0%, rgba(21, 24, 28, 0) 100%);
}

.card-content {
    padding: 25px;
    position: relative;
    z-index: 2;
    margin-top: -30px; /* Pull content up slightly over the fade */
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--gold-accent);
    margin-bottom: 15px;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Footer Section */
.footer {
    background-color: #08090a;
    padding: 80px 0 30px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-text {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto 40px;
}

.email-input {
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: var(--secondary-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    border-radius: 4px 0 0 4px;
    outline: none;
    flex-grow: 1;
    transition: border-color 0.3s;
}

.email-input:focus {
    border-color: var(--gold-accent);
}

.submit-btn {
    padding: 12px 25px;
    background-color: var(--gold-accent);
    color: #000;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.social-links {
    margin-bottom: 40px;
}

.social-links a {
    color: var(--text-secondary);
    margin: 0 10px;
    transition: color 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: var(--gold-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2.5rem;
        letter-spacing: 8px;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .email-input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .submit-btn {
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.8rem;
        letter-spacing: 6px;
    }
}
