/* Base Styles & Typography */
:root {
    --bg-color: #0d0d0d;
    --text-color: #f4f4f4;
    --accent-color: #d4af37; /* Cinematic Gold */
    --overlay: rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Add a great wide shot to the images folder and name it hero-bg.jpg */
    background: linear-gradient(var(--overlay), var(--overlay)), url('images/hero-bg.jpg') center/cover no-repeat;
    background-color: #1a1a1a; 
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ccc;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: #111;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #bbb;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Portfolio Gallery */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--accent-color);
}

.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}
.gallery-item {
    margin-bottom: 20px;
    break-inside: avoid; /* Prevents images from splitting across columns */
    overflow: hidden;
    border-radius: 6px;
}
.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Cinematic Hover Effect: Grayscale to Color */
.gallery-item img { filter: grayscale(80%); }
.gallery-item:hover img { 
    transform: scale(1.03); 
    filter: grayscale(0%); 
}
.parallax-divider {
    height: 400px;
    background-attachment: fixed; /* This single line creates the parallax effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* Expertise Section */
.expertise-section {
    padding: 100px 0;
    background-color: #111;
}

.expertise-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--accent-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-card {
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 4px;
    border-top: 3px solid var(--accent-color);
    text-align: center;
}

.skill-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.skill-card p {
    color: #bbb;
    font-size: 0.95rem;
}

/* Footer */
footer {
    padding: 80px 0 30px;
    text-align: center;
    background-color: #080808;
}

footer h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

footer p {
    color: #888;
    margin-bottom: 30px;
}

.footer-bottom {
    margin-top: 60px;
    font-size: 0.8rem;
    color: #555;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 20px;
    }
    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
}