/* Base Styles */
:root {
    --primary-color: #F1DABF;
    --secondary-color: #e8b278;
    --accent-color: #92817A;
    --dark-color: #100903;
    --light-color: #FFFBFF;
    --text-color: #6c4c00;
    --text-light: #9e93a2;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --max-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    line-height: 1.2;
    color: #f0c2ac;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 24px;
    height: 16px;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    /*background: linear-gradient(135deg, rgba(110, 72, 170, 0.1) 0%, rgba(157, 80, 187, 0.1) 100%);*/
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    animation: fadeInUp 1s ease;
    text-align: center;
}

.video_background {
    position: fixed;
    height: 100vh; 
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
    z-index: -100000;
}


.video_background video {
    position: fixed;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index : -1000000;
    opacity: 0.5;
}


.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.hero .subtitle {
    font-size: 3rem;
    margin-bottom: 30px;
    color: white;
}

.typing {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.pixel-grid {
    position: absolute;
    width: 80%;
    height: 80%;
    /*background: 
        linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);*/
    background-size: 20px 20px;
    /*border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);*/
    animation: float 6s ease-in-out infinite;
}

.pixel-grid img {
    height: 100%;
    width: 1500%;
}

/* Highlights Section */
.highlights {
    background-color: white;
}

.highlights .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Presentation Section */
.presentation {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.presentation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.presentation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Presentation Image */
.presentation-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.presentation-image:hover .image-frame {
    transform: perspective(1000px) rotateY(0deg);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.presentation-image:hover .image-frame img {
    transform: scale(1.05);
}

.frame-decoration {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    opacity: 0.3;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.image-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.image-caption i {
    color: var(--primary-color);
}

/* Presentation Text */
.presentation-text {
    padding-left: 20px;
}

.section-badge {
    display: inline-block;
    background: rgba(240, 194, 172, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(240, 194, 172, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.section-badge span {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.presentation-text h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.lead {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 400;
}

.presentation-paragraph p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.presentation-paragraph strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Presentation Highlights */
.presentation-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 35px 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(240, 194, 172, 0.05);
    border-radius: 15px;
    border-left: 3px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    background: rgba(240, 194, 172, 0.1);
}

.highlight-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.highlight-item h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.highlight-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Presentation Actions */
.presentation-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .presentation-content {
        gap: 40px;
    }
    
    .presentation-text h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .presentation {
        padding: 80px 0;
    }
    
    .presentation-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .presentation-text {
        padding-left: 0;
        text-align: center;
    }
    
    .presentation-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .highlight-item {
        text-align: left;
    }
    
    .presentation-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .presentation-text h2 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .presentation-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .presentation-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Logo Carousel Section */
.logo-carousel {
    padding: 80px 0;
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.logo-carousel .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-carousel .section-header h2 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.logo-carousel .section-header p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* Carousel Container */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

/* Carousel Track */
.carousel-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

/* Pause animation on hover */
.carousel-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

/* Logo Items */
.logo-item {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    min-height: 140px;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.logo-item img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-name {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

.logo-item:hover .logo-name {
    color: var(--primary-color);
}

/* Animation for scrolling */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 5 - 40px * 5)); /* Moves by one set of logos */
    }
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-carousel {
        padding: 60px 0;
    }
    
    .logo-item {
        flex: 0 0 160px;
        padding: 20px;
        min-height: 120px;
    }
    
    .logo-item img {
        max-width: 100px;
        max-height: 50px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-160px * 5 - 40px * 5));
        }
    }
}

@media (max-width: 480px) {
    .carousel-track {
        gap: 25px;
    }
    
    .logo-item {
        flex: 0 0 140px;
        padding: 15px;
        min-height: 110px;
    }
    
    .logo-item img {
        max-width: 80px;
        max-height: 40px;
    }
    
    .logo-name {
        font-size: 0.75rem;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-140px * 5 - 25px * 5));
        }
    }
}

/* Recent Projects Section */
.recent-projects {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a3e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.recent-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.recent-projects .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.recent-projects .section-header h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.recent-projects .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.recent-projects .section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 25px auto 0;
}

/* Projects Grid */
.recent-projects .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Project Card */
.recent-projects .project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.recent-projects .project-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(240, 194, 172, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Project Image */
.recent-projects .project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.recent-projects .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.recent-projects .project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Project Badge */
.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.project-badge span {
    display: inline-block;
    padding: 6px 15px;
    background: var(--primary-color);
    color: var(--dark-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(157, 80, 187, 0.95), rgba(240, 194, 172, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 30px;
}

.recent-projects .project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.recent-projects .project-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    background: white;
    color: var(--primary-color);
    border: none;
}

.btn-small:hover {
    background: var(--dark-color);
    color: white;
}

/* Project Info */
.project-info {
    padding: 25px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-category {
    background: rgba(240, 194, 172, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.project-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.section-cta {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-large i:last-child {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-large:hover i:last-child {
    transform: translateX(5px);
}

.cta-note {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Featured Project (Alternative Layout) */
.featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-project .project-image {
    height: 100%;
    min-height: 300px;
}

.featured-content {
    padding: 40px;
}

.featured-content .project-badge {
    position: static;
    margin-bottom: 20px;
}

.featured-content .project-badge span {
    background: var(--primary-color);
    color: var(--dark-color);
}

.featured-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.featured-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .recent-projects .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .featured-project {
        grid-template-columns: 1fr;
    }
    
    .featured-project .project-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .recent-projects {
        padding: 80px 0;
    }
    
    .recent-projects .section-header h2 {
        font-size: 2.2rem;
    }
    
    .recent-projects .projects-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 60px;
    }
    
    .recent-projects .project-image {
        height: 220px;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .recent-projects .section-header h2 {
        font-size: 2rem;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
}


/* Modern Projects Grid for projects.html */
.projects-header {
    text-align: center;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a3e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.projects-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.projects-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.projects-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

.projects-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 500px;
    margin: 25px auto 0;
}

.projects-grid modern-grid {
background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a3e 100%);
}

/* Modern Grid Layout */
.modern-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 80px 20px;
}

/* Modern Project Card */
.modern-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.modern-card:nth-child(2) { animation-delay: 0.1s; }
.modern-card:nth-child(3) { animation-delay: 0.2s; }
.modern-card:nth-child(4) { animation-delay: 0.3s; }
.modern-card:nth-child(5) { animation-delay: 0.4s; }
.modern-card:nth-child(6) { animation-delay: 0.5s; }

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(240, 194, 172, 0.3);
}

/* Project Image */
.modern-card .project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.modern-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-card:hover .project-image img {
    transform: scale(1.1);
}

/* Project Badge */
.modern-card .project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.modern-card .project-badge span {
    display: inline-block;
    padding: 6px 15px;
    background: var(--primary-color);
    color: var(--dark-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Project Overlay */
.modern-card .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(157, 80, 187, 0.95), rgba(240, 194, 172, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 30px;
}

.modern-card:hover .project-overlay {
    opacity: 1;
}

.modern-card .overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.modern-card:hover .overlay-content {
    transform: translateY(0);
}

.modern-card .overlay-content h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.modern-card .overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.modern-card .btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    background: white;
    color: var(--primary-color);
    border: none;
}

.modern-card .btn-small:hover {
    background: var(--dark-color);
    color: white;
}

/* Project Info */
.modern-card .project-info {
    padding: 25px;
}

.modern-card .project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modern-card .project-category {
    background: rgba(240, 194, 172, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.modern-card .project-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.modern-card .project-title {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.modern-card .project-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Filter Buttons */
.projects-filter {
    text-align: center;
    padding: 40px 20px;
    background: var(--dark-color);
}

.filter-btn {
    padding: 10px 25px;
    margin: 0 8px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 194, 172, 0.3);
}

/* Coming Soon Section */
.coming-soon-section {
    padding: 60px 20px;
    background: var(--light-color);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.coming-soon-section h1 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 40px;
    font-size: 2rem;
}

.coming-soon-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

/* Coming Soon Card */
.coming-soon-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px dashed rgba(240, 194, 172, 0.5);
    text-align: center;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.coming-soon-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.coming-soon-card .project-image {
    height: 180px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.6;
}

.coming-soon-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.coming-soon-card .btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    pointer-events: none;
    opacity: 0.7;
}

.coming-soon-card .btn:hover {
    background: transparent;
    cursor: default;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-grid .container {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .projects-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .projects-header {
        padding: 100px 0 50px;
    }
    
    .projects-header h1 {
        font-size: 2.2rem;
    }
    
    .modern-grid .container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        padding: 60px 20px;
    }
    
    .modern-card .project-image {
        height: 220px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        margin: 5px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modern-grid .container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .projects-header h1 {
        font-size: 2rem;
    }
    
    .modern-card .project-info {
        padding: 20px;
    }
    
    .modern-card .project-title {
        font-size: 1.2rem;
    }
    
    .coming-soon-grid .container {
        grid-template-columns: 1fr;
    }
}


/* Photography Portfolio Page */
.portfolio-page {
    padding-top: 80px;
}

/* Hero Section */
.portfolio-hero {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, #2a2a5e 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.portfolio-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-hero .subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* PDF Viewer Section */
.pdf-viewer-section {
    padding: 80px 0;
    background: var(--light-color);
}

.pdf-header {
    text-align: center;
    margin-bottom: 40px;
}

.pdf-header h2 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.pdf-header p {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
    margin: 0 auto 30px;
}

.pdf-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* PDF Container */
.pdf-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* PDF Controls */
.pdf-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: var(--dark-color);
    color: white;
    flex-wrap: wrap;
    gap: 15px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.page-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

#currentPage {
    color: var(--primary-color);
}

.zoom-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.zoom-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background: var(--primary-color);
}

#zoomLevel {
    min-width: 50px;
    text-align: center;
    font-weight: 600;
}

/* PDF Viewer */
.pdf-viewer {
    position: relative;
    height: 600px;
    width: 100%;
    overflow: hidden;
}

#pdfFrame {
    width: 100%;
    height: 100%;
    border: none;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Page Navigation */
.page-navigation {
    padding: 20px 30px;
    background: rgba(240, 194, 172, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.page-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    outline: none;
}

.page-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(240, 194, 172, 0.5);
}

/* PDF Notes */
.pdf-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.note-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(240, 194, 172, 0.1);
    border-radius: 15px;
    border-left: 3px solid var(--primary-color);
}

.note-card i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

.note-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Preview Gallery */
.preview-gallery {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.preview-gallery h2 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.preview-gallery p {
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 500px;
    margin: 0 auto 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    text-align: left;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.gallery-caption p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* Photography Info */
.photography-info {
    padding: 80px 0;
    background: var(--light-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    color: var(--text-light);
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-cta {
    text-align: center;
    padding: 50px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-cta h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.contact-cta p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pdf-viewer {
        height: 500px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-hero {
        padding: 100px 0;
    }
    
    .portfolio-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .pdf-viewer {
        height: 400px;
    }
    
    .pdf-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 50px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 60px;
    }
}

@media (max-width: 480px) {
    .portfolio-hero h1 {
        font-size: 2rem;
    }
    
    .pdf-viewer {
        height: 300px;
    }
    
    .pdf-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .pdf-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .gallery-item {
        height: 250px;
    }
}


/* About Page */
.about-header {
    text-align: center;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(110, 72, 170, 0.1) 0%, rgba(157, 80, 187, 0.1) 100%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-text {
    flex: 1;
    color: #f0c2ac;
}


.about-text p {
    color: white;
}

.image-frame {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.image-frame img {
    display: block;
    width: 100%;
}

.frame-decoration {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    z-index: -1;
    animation: rotate 15s linear infinite;
}

.skills-section {
    margin: 40px 0;
}

.skill {
    margin-bottom: 20px;
}

.skill-name {
    margin-bottom: 5px;
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 1s ease;
}

/* Timeline */
.timeline-section {
    background-color: white;
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-date {
    position: absolute;
    width: 120px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -170px;
    top: 20px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -170px;
    top: 20px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: -10000;
}

/*.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    top: 30px;
    z-index: -10000;
}*/

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -10px;
    transform: translateX(50%);
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
    transform: translateX(-50%);
}

/* Random Page */
.random-header {
    text-align: center;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(110, 72, 170, 0.1) 0%, rgba(157, 80, 187, 0.1) 100%);
}

.random-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.random-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.random-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.random-card:hover .random-overlay {
        opacity: 1;
}

.media-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.media-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: rgba(110, 72, 170, 0.1);
    border-radius: var(--border-radius);
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.photo-frame {
    position: relative;
    margin-top: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.photo-frame img {
    display: block;
    width: 100%;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
}

blockquote {
    font-style: italic;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    background-color: rgba(110, 72, 170, 0.05);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 20px 0;
}

blockquote footer {
    margin-top: 10px;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-image {
        width: 100%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-date {
        left: 0 !important;
        right: auto !important;
        top: 0 !important;
    }
    
    .timeline-content::after {
        left: 20px !important;
        transform: translateX(-50%) !important;
    }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    section {
        padding: 60px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
}

/* Project Detail Page Styles */
.project-detail {
    padding-top: 100px;
}

.project-header {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, rgba(110, 72, 170, 0.1) 0%, rgba(157, 80, 187, 0.1) 100%);
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.project-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.project-hero {
    padding: 40px 0;
}

.hero-media {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.hero-media img {
    width: 100%;
    display: block;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

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

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.overview-details {
    position: relative;
}

.detail-card {
    position: sticky;
    top: 100px;
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.detail-card ul {
    margin-top: 15px;
}

.detail-card li {
    margin-bottom: 10px;
    display: flex;
}

.detail-card strong {
    min-width: 100px;
    display: inline-block;
    color: var(--primary-color);
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 15px;
    background: white;
    font-size: 0.9rem;
    color: var(--text-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.project-results ul {
    margin: 20px 0;
    padding-left: 20px;
}

.project-results li {
    margin-bottom: 10px;
}

.project-navigation {
    padding: 60px 0;
    text-align: center;
}

.project-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-previous, .nav-next {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.nav-previous:hover, .nav-next:hover {
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-card {
        position: static;
        margin-top: 40px;
    }
    
    .project-navigation .container {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .project-links {
        flex-direction: column;
    }
    
    .project-links .btn {
        width: 100%;
    }
}

.game-container {
    padding: 40px 0;
    text-align: center;
}

.game-embed {
    margin: 20px auto;
    max-width: 800px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.game-embed iframe {
    width: 100%;
    height: 600px;
    border: none;
    background: white;
}