/* Polices */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --primary-color: #ff85a2;
    --secondary-color: #ffd1dc;
    --dark-color: #333;
    --light-color: #fff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-btn {
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
}

/* Navigation */
.menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-color);
    transition: var(--transition);
    z-index: 99;
    padding: 2rem;
}

.menu.active {
    left: 0;
}

.menu ul {
    list-style: none;
    margin-top: 5rem;
}

.menu li {
    margin-bottom: 1rem;
}

.menu a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
}

.menu a:hover {
    color: var(--primary-color);
}

/* Social Icons */
.social-icons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background-color: var(--dark-color);
    padding: 1rem 0.5rem;
    border-radius: 10px 0 0 10px;
    z-index: 90;
}

.social-icons a {
    color: var(--light-color);
    font-size: 1.2rem;
    margin: 0.5rem 0;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Main Content */
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Button */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
}

.btn:hover {
    background-color: #ff6b8b;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--light-color);
    margin: 0 1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Project Page Specific Styles */

/* Hero Section */
.project-hero {
    margin-bottom: 4rem;
}

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

.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-color);
}

.back-link i {
    margin-right: 0.5rem;
}

.project-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.project-type {
    position: relative;
}

.project-type::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #ccc;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Project Description */
.project-description {
    margin-bottom: 4rem;
}

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

@media (max-width: 768px) {
    .project-info {
        grid-template-columns: 1fr;
    }
}

.project-about h2,
.project-content h2 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.project-about h2::after,
.project-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.project-about p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.detail-item {
    margin-bottom: 2rem;
}

.detail-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.detail-item ul {
    padding-left: 1.5rem;
}

.detail-item li {
    margin-bottom: 0.5rem;
}

/* Project Content */
.project-content {
    margin-bottom: 4rem;
}

.content-block {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.content-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-block p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.content-block h3 {
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    color: var(--dark-color);
}

.content-block ol,
.content-block ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-block li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Video Feature */
.video-feature {
    margin-bottom: 3rem;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.video-feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-feature h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.tiktok-embed {
    margin-bottom: 1.5rem;
}

.video-placeholder {
    width: 100%;
    height: 500px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 5px;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    background-color: #e6e6e6;
    color: var(--primary-color);
}

.video-stats {
    display: flex;
    gap: 2rem;
}

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

.stat-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Image Gallery */
.image-gallery {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.image-gallery.visible {
    opacity: 1;
    transform: translateY(0);
}

.image-gallery h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Testimonial */
.testimonial {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.testimonial cite {
    font-weight: 500;
    color: #666;
}

/* Results List */
.results-list {
    list-style: none;
    padding-left: 0 !important;
}

.results-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.results-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Next Project */
.next-project {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.next-project h2 {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.next-project h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.next-project-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    border-radius: 10px;
    background-color: #f9f9f9;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.next-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.next-project-card:hover .next-link {
    color: var(--primary-color);
}

.next-project-card:hover .next-link i {
    transform: translateX(5px);
}

.next-project-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.next-project-info h3 {
    margin-bottom: 0.5rem;
}

.next-project-info p {
    margin-bottom: 0.8rem;
    color: #666;
    font-size: 0.9rem;
}

.next-link {
    display: inline-block;
    font-weight: 500;
    transition: var(--transition);
}

.next-link i {
    margin-left: 5px;
    transition: var(--transition);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #ff6b8b;
    transform: translateY(-3px);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Responsive styles */
@media (max-width: 768px) {
    .next-project-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .next-project-image {
        width: 100%;
        height: 150px;
    }
    
    .video-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-header h1 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .social-icons {
        padding: 0.5rem 0.3rem;
    }
    
    .social-icons a {
        font-size: 1rem;
    }
}