* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #3182ce;
    --gold: #d69e2e;
    --dark: #1a202c;
    --light: #f7fafc;
    --text: #2d3748;
    --text-light: #718096;
    --border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.2rem 5%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* Project Hero */
.project-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 5% 60px;
    margin-top: 60px;
    text-align: center;
}

.project-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.project-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.award-badge {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 0.5rem;
}

/* Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: 4rem 5%;
}

.project-content {
    padding: 4rem 5%;
    background: white;
}

.project-section {
    margin-bottom: 4rem;
}

.project-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 1rem;
}

.project-section ul {
    list-style: none;
    padding: 0;
}

.project-section li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text);
    line-height: 1.8;
}

.project-section li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.project-section p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Tech Stack */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.tech-item {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.2);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.3);
}

/* Back Button */
.back-button {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.back-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 54, 93, 0.2);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: start;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(49, 130, 206, 0.15);
}

.gallery-item .title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.2rem 1.2rem 0.5rem 1.2rem;
    font-family: 'Playfair Display', serif;
}

.gallery-item .description {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.9;
    margin: 0 1.2rem 1.2rem 1.2rem;
    flex-grow: 1;
    line-height: 1.5;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.spec-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.spec-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.spec-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Event Info */
.event-info {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.event-info h3 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.event-info p {
    margin: 0.5rem 0;
    opacity: 0.95;
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem 5%;
    background: var(--primary);
    color: white;
    margin-top: 4rem;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
    }

    nav ul.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .project-hero h1 {
        font-size: 2rem;
    }

    .project-section h2 {
        font-size: 1.5rem;
    }

    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }
}
