:root {
    --bg-color: #121212;
    --card-bg-color: #1e1e1e;
    --text-color: #f0f0f0;
    --accent-color: #ffc107; /* A vibrant gold accent */
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smooth Transitions */
a, img, .portfolio-item, .social-link {
    transition: all 0.4s ease-in-out;
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(18, 18, 18, 0.8);
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/hero-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #a0a0a0;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 0.8rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
}

.cta-button:hover {
    box-shadow: 0 0 20px var(--accent-color);
    transform: translateY(-5px);
}

/* Main Sections */
.section {
    padding: 6rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-weight: 700;
}

h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 350px;
    display: block;
    object-fit: cover;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.portfolio-item:hover .item-overlay {
    transform: translateY(0);
}

/* Brand Logos */
.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.brand-logos img {
    height: 50px;
    filter: grayscale(100%) brightness(150%);
    transition: all 0.3s ease;
}

.brand-logos img:hover {
    filter: none;
    transform: scale(1.1);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.social-link {
    font-size: 1.2rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: 2px solid var(--text-color);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255,193,7,0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 5%;
    background-color: var(--card-bg-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--bg-color);
        position: fixed;
        top: 80px;
        right: 0;
        width: 100%;
        text-align: center;
        padding-bottom: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: block;
    }
}