:root {
    --primary-color: #d4af37; /* Gold/Bronze */
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

/* Navbar */
.navbar {
    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-size: 1.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    position: relative;
    height: 500vh; /* Extremely tall to allow for 192 frames scroll */
}

.canvas-container {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Slight dimming for luxury feel */
}

/* Hero Title - Appears at the end */
.hero-title-container {
    position: absolute;
    bottom: 50vh; /* Will be triggered when reaching the end of the 500vh */
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    letter-spacing: 12px;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--primary-color);
    text-transform: uppercase;
}

/* General Sections */
.section {
    padding: 10rem 5%;
    position: relative;
    z-index: 10;
    background-color: var(--bg-color);
}

.section.dark {
    background-color: #000;
}

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

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: 2px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    height: 500px;
    border-radius: 4px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(100%);
    margin-bottom: 1.5rem;
    transition: filter 0.5s ease;
}

.team-member:hover img {
    filter: grayscale(0%);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-muted);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

.contact-info p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 400px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: var(--primary-color);
}

.btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    align-self: flex-start;
}

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

/* Footer */
footer {
    padding: 4rem 5%;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-content .logo {
    color: var(--text-muted);
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
