/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 80px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand p {
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    opacity: 0.7;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: relative;
}

.nav-links a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.3s both;
}
/* Section visibility helpers (not used by separate pages but kept for reuse) */
.section { display: block; }

/* Work Page */
.work-container {
    margin-top: 120px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.work-container h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.work-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.work-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.work-item:hover::before {
    transform: translateX(100%);
}

.work-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.work-item p {
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.6;
}

/* Make work items clickable */
.work-item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Featured Work Section */
.featured-work {
    margin-top: 4rem;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.featured-work h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.featured-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.featured-item:hover::before {
    transform: translateX(100%);
}

.featured-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.featured-item p {
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.6;
}

/* Project Detail Pages */
.project-detail-container {
    margin-top: 120px;
    padding: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.project-header {
    text-align: center;
    margin-bottom: 3rem;
}

.project-header h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.project-description h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
    letter-spacing: 1px;
}

.project-description h2:first-child {
    margin-top: 0;
}

.project-description p {
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-meta {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    height: fit-content;
}

.project-meta h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.project-meta ul {
    list-style: none;
    padding: 0;
}

.project-meta li {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.6;
}

.project-navigation {
    text-align: center;
    margin-top: 3rem;
}

.back-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: inline-block;
}

.back-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* Blog Section */
.blog-container {
    margin-top: 120px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.blog-container h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-intro {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.blog-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.blog-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-thumbnail {
    position: relative;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-placeholder {
    font-size: 3rem;
    opacity: 0.5;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.blog-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.blog-content h2 a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-content h2 a:hover {
    opacity: 0.8;
}

.blog-content p {
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.read-more:hover {
    opacity: 1;
}

/* Blog Post Pages */
.blog-post-container {
    margin-top: 120px;
    padding: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.blog-post-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    letter-spacing: 1px;
    line-height: 1.2;
    text-align: center;
}

.blog-post-excerpt {
    font-size: 1.2rem;
    opacity: 0.8;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.blog-post-content {
    padding: 3rem;
}

.blog-post-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.7;
}

.blog-post-content p:last-of-type {
    margin-bottom: 3rem;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    letter-spacing: 1px;
    padding-top: 1rem;
}

.blog-post-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
}

.blog-post-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 3rem 0 1rem 0;
    letter-spacing: 1px;
}

.blog-post-content ul {
    margin: 1.5rem 0 2rem 0;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.8rem;
    opacity: 0.9;
    line-height: 1.6;
}

.blog-post-footer {
    padding: 2rem 3rem 3rem 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.blog-navigation {
    text-align: center;
    margin-top: 2rem;
}
/* Contact Page */
.contact-container {
    margin-top: 120px;
    padding: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-card a {
    color: #ffffff;
    text-decoration: underline;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .brand h1 {
        font-size: 1.2rem;
    }
    
    .brand p {
        font-size: 0.7rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero {
        padding: 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .featured-work {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .featured-work h2 {
        font-size: 2rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .work-container {
        padding: 1rem;
        margin-top: 100px;
    }
    
    .work-container h1 {
        font-size: 2rem;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .work-item {
        padding: 1.5rem;
    }
    
    .project-detail-container {
        padding: 1rem;
        margin-top: 100px;
    }
    
    .project-header h1 {
        font-size: 2rem;
    }
    
    .project-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-container {
        padding: 1rem;
        margin-top: 100px;
    }
    
    .blog-container {
        padding: 1rem;
        margin-top: 100px;
    }
    
    .blog-container h1 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-post-container {
        padding: 1rem;
        margin-top: 100px;
    }
    
    .blog-post-header {
        padding: 2rem;
    }
    
    .blog-post-content {
        padding: 2rem;
    }
    
    .blog-post-footer {
        padding: 2rem;
    }
    
    .blog-post-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero p {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .brand h1 {
        font-size: 1rem;
    }
    
    .brand p {
        font-size: 0.6rem;
    }
} 