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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a0a;
}




.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    background: rgba(20, 20, 20, 0.95);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #da70d6;
    text-decoration: none;
    transition: color 0.3s;
}

.logo:hover {
    color: #8a2be2;
}

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

nav a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a.active {
    color: #da70d6;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2, #da70d6);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #da70d6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.8) 0%, rgba(45, 0, 102, 0.8) 50%, rgba(26, 0, 51, 0.8) 100%),
                url('images/hero-background.png') center/cover no-repeat;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(218, 112, 214, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #da70d6, #8a2be2, #da70d6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero .tagline {
    font-size: 1.5rem;
    color: #da70d6;
    margin-bottom: 1rem;
}

.hero .bio {
    font-size: 1.1rem;
    color: #b8b8b8;
    line-height: 1.8;
}

/* Page Header (for non-home pages) */
.page-header {
    background: linear-gradient(135deg, #1a0033 0%, #2d0066 100%);
    padding: 4rem 2rem 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: #da70d6;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #b8b8b8;
    max-width: 700px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 4rem 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #da70d6;
    text-align: center;
}

/* About Section */
.about-section {
    background: rgba(20, 20, 20, 0.4);
}

.about-text {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #c0c0c0;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.project-card {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(40, 20, 60, 0.7));
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #8a2be2;
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.3);
}

.project-image {
    width: 100%;
    height: 250px;  /* Fixed height */
    background: linear-gradient(135deg, #2d0066, #1a0033);
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: #da70d6;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.project-info p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    background: rgba(138, 43, 226, 0.2);
    color: #da70d6;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Disciplines Grid */
.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.discipline-card {
    background: rgba(20, 20, 30, 0.6);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.discipline-card:hover {
    background: rgba(40, 20, 60, 0.6);
    border-color: #8a2be2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.discipline-card h3 {
    color: #da70d6;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.discipline-card p {
    color: #b0b0b0;
    font-size: 1.1rem;
}

/* Buttons */
.view-all {
    text-align: center;
    margin-top: 3rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.5);
}

/* Contact Section */
.contact-section {
    background: rgba(20, 20, 20, 0.4);
    text-align: center;
}

.contact-section p {
    color: #b8b8b8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-btn {
    text-decoration: none;
    color: #da70d6;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 25px;
    transition: all 0.3s;
    display: inline-block;
}

.contact-btn:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: #8a2be2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #666;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    margin-top: 2rem;
}

/* Project Detail Page Styles */
.project-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

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

.project-header h1 {
    font-size: 3rem;
    color: #da70d6;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
    color: #b8b8b8;
}

.project-meta-item {
    display: flex;
    flex-direction: column;
}

.project-meta-item strong {
    color: #da70d6;
    margin-bottom: 0.3rem;
}

.project-content {
    background: rgba(20, 20, 30, 0.6);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.project-content h2 {
    color: #da70d6;
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
    text-align: left;
}

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

.project-content p {
    color: #c0c0c0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-content ul {
    color: #c0c0c0;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.project-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-image {
    width: 100%;
    height: 200px;  /* Fixed height */
    background: linear-gradient(135deg, #2d0066, #1a0033);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.3);
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.back-link {
    display: inline-block;
    margin-top: 3rem;
    color: #da70d6;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: #8a2be2;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .hero .bio {
        font-size: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-detail {
        padding: 2rem 1rem;
    }

    .project-content {
        padding: 2rem;
    }
}
