:root {
    --bg-color: #050505;
    --text-color: #fdfdfd;
    --accent: #d4af37; /* Elegance/Gold accent */
    --card-bg: #111111;
}

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

body, html {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: clip;
}

/* Typography elements */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.menu a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

/* Hero Parallax Area */
#hero {
    height: 100vh;
    position: relative;
    background: #000;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    /* Soft gradient overlay for text readability */
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    padding: 0 5%;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0.8; /* Slight dimming so text pops out */
    z-index: 1;
}

.main-title {
    font-size: 8rem;
    font-weight: 800;
    letter-spacing: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.sub-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--text-color);
    letter-spacing: 2px;
}

.desc {
    font-size: 1.2rem;
    max-width: 650px;
    line-height: 1.6;
    opacity: 0.8;
}

/* Services Stacking Cards */
#services {
    padding: 15vh 5%;
    position: relative;
    z-index: 20;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-title {
    text-align: center;
    margin-bottom: 10vh;
}

.section-title h2 {
    font-size: 4rem;
    color: var(--accent);
}

.cards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15vh; /* Natural spacing for cards */
    padding-bottom: 15vh;
}

.service-card {
    position: sticky;
    top: 15vh; /* Where the card sticks */
    width: 100%;
    max-width: 1100px;
    height: 70vh;
    background: var(--card-bg);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.08); /* Glass edge */
    transform-origin: top center; /* Prepares it for scaling transition */
}

.card-image {
    flex: 1.2;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s ease;
}

/* Blend the image nicely into the black bg of the text side */
.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17,17,17,0) 50%, rgba(17,17,17,1) 100%);
}

.service-card:hover .card-image {
    transform: scale(1.05); /* Micro hover interaction */
}

.card-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2; /* Ensures text is over the gradient */
}

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

.card-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 1px;
    opacity: 0.9;
    color: #fff;
    text-transform: uppercase;
}

.card-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.7;
    font-weight: 300;
}

/* Contact Section */
#contact {
    padding: 15vh 5%;
    background-color: var(--bg-color);
    position: relative;
    z-index: 20;
}

.contact-title {
    text-align: center;
    margin-bottom: 8vh;
}

.contact-title h2 {
    font-size: 3.5rem;
    color: #fff;
    letter-spacing: 2px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.contact-box:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.box-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-box h3 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

.contact-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 10px;
}

.highlight-box {
    background: linear-gradient(145deg, #111, #1a1500);
}

.contact-item {
    margin-top: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* Footer Section */
footer {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #020202;
    text-align: center;
    z-index: 20;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    font-size: 5rem;
    background: linear-gradient(45deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

/* Call to action arrow scrolling */
.scroll-indicator {
    position: absolute;
    bottom: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    animation: floating 2s infinite ease-in-out;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsive Setup */
@media (max-width: 900px) {
    .contact-container { grid-template-columns: 1fr; }
    .service-card {
        flex-direction: column;
        height: auto;
        min-height: 80vh;
    }
    .card-image {
        min-height: 40vh;
    }
    .card-image::after {
        background: linear-gradient(to bottom, rgba(17,17,17,0) 50%, rgba(17,17,17,1) 100%);
    }
    .card-content {
        padding: 40px 30px;
    }
    .card-content h3 {
        font-size: 2.5rem;
    }
    .main-title { font-size: 4rem; letter-spacing: 5px; }
    .sub-title { font-size: 1.2rem; }
    .cards-wrapper { gap: 10vh; }
    nav { padding: 1.5rem 5%; }
    .menu a { margin-left: 1rem; font-size: 0.9rem; }
}
