/* Dropdown Menu Show/Hide on Hover/Click */
.dropdown .dropdown-menu {
    display: none;
}
.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu {
    display: flex;
}
/* Dropdown Menu Custom */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    z-index: 1001;
    flex-direction: column;
    gap: 0;
}

.dropdown.open > .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    display: block;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 900px) {
    .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
    }
}
/* Root Variables */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    text-decoration: none;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    height: 45px;
    width: auto;
    display: block;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: none;
}

@media (min-width: 768px) {
    .brand-logo {
        height: 50px;
    }
    
    .brand-text {
        display: block;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.nav-admin {
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.3s, transform 0.3s;
}

.nav-link.nav-admin:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: var(--bg-white);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Code Card */
.hero-slideshow {
    position: relative;
}

.slideshow-container {
    background: #1e293b;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    height: 400px;
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s;
    z-index: 10;
}

.slide-prev:hover,
.slide-next:hover {
    background: rgba(0,0,0,0.8);
}

.slide-prev {
    left: 1rem;
    border-radius: 0 8px 8px 0;
}

.slide-next {
    right: 1rem;
    border-radius: 8px 0 0 8px;
}

.slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover,
.dot.active {
    background: white;
    transform: scale(1.2);
}

.code-card {
    background: #1e293b;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: #0f172a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.status {
    margin-left: auto;
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
}

.code-content {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-content code {
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 3rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 2rem;
    color: white;
}

.cta-icon {
    font-size: 4rem;
}

.cta-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-content .btn {
    background: white;
    color: var(--primary);
}

.cta-content .btn:hover {
    background: var(--bg-light);
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: var(--bg-white);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.view-all {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.blog-read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 35px;
    width: auto;
}

.footer-col h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.social-links {
    margin-top: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .slide-prev,
    .slide-next {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Project Detail Page */
.project-detail {
    padding: 4rem 0;
    background: var(--bg-light);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.75rem;
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

.project-header {
    margin-bottom: 2rem;
}

.project-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.project-status {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.project-price-box {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.project-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-stats {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.project-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-price-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-price {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: bold;
    display: block;
    margin-top: 0.5rem;
}

.project-image-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Gallery Slideshow Styles */
.project-gallery-slideshow {
    margin-bottom: 3rem;
}

.project-gallery-slideshow h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.gallery-slideshow-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.gallery-slide {
    display: none;
    width: 100%;
    aspect-ratio: 16/10;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.25rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

.slide-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

.gallery-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.gallery-dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

/* Responsive Gallery Slideshow */
@media (max-width: 768px) {
    .gallery-prev,
    .gallery-next {
        width: 35px;
        height: 35px;
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .gallery-prev {
        left: 0.5rem;
    }
    
    .gallery-next {
        right: 0.5rem;
    }
    
    .slide-counter {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .gallery-dot {
        width: 8px;
        height: 8px;
    }
    
    .gallery-dot.active {
        width: 24px;
    }
}

/* Project Gallery Styles */
.project-gallery {
    margin-bottom: 3rem;
}

.project-gallery h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 16/10;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--primary);
}

.project-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin-bottom: 4rem;
}

.project-main-content {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.project-main-content h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.project-main-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.project-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.project-technologies {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.btn-youtube {
    background: #ff0000;
    color: white;
}

.btn-youtube:hover {
    background: #cc0000;
}

.btn-preview {
    background: #10b981;
    color: white;
}

.btn-preview:hover {
    background: #059669;
}

.btn-download {
    background: #6366f1;
    color: white;
}

.btn-download:hover {
    background: #4f46e5;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.sidebar-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
    margin: 0;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
}

.related-projects {
    margin-top: 4rem;
}

.related-projects h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-card a {
    text-decoration: none;
    color: inherit;
}

/* Project Card Slideshow */
.project-image-slideshow {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f5f5f5;
}

.project-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.project-slide.active {
    display: block;
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-slide img {
    transform: scale(1.05);
}

.project-slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.project-card:hover .project-slide-nav {
    opacity: 1;
}

.project-prev,
.project-next {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.project-prev:hover,
.project-next:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.project-slide-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 2;
}

.project-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.project-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.project-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(79, 70, 229, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-harga {
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 0.75rem 1.25rem;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.project-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-card:hover .project-link {
    gap: 0.75rem;
}

/* Projects Section on Homepage */
.projects {
    padding: 5rem 0;
    background: var(--bg-white);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.projects-header .view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.projects-header .view-all:hover {
    text-decoration: underline;
}

/* Contact Page */
.contact-page {
    padding: 4rem 0;
    background: var(--bg-light);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-icon i {
    font-size: 2rem;
    color: white;
}

.info-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.info-card a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-large {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.alert i {
    font-size: 1.25rem;
}

/* Responsive for Contact Page */
@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 1.75rem;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .contact-form-wrapper h2 {
        font-size: 1.5rem;
    }
}

/* Responsive for Project Detail */
@media (max-width: 768px) {
    .project-header h1 {
        font-size: 1.75rem;
    }

    .project-image-container {
        height: 250px;
    }

    .project-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-actions {
        flex-direction: column;
    }

    .project-actions .btn {
        width: 100%;
        text-align: center;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Projects Section */
.projects {
    padding: 4rem 0;
    background: var(--bg-white);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-card a {
    text-decoration: none;
    color: inherit;
}

.project-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.project-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-badge {
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.project-card:hover .project-link {
    gap: 0.5rem;
}

/* Project Detail Page */
.project-detail {
    padding: 2rem 0 4rem;
    background: var(--bg-light);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.75rem;
}

.project-header {
    text-align: center;
    margin-bottom: 2rem;
}

.project-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-gray);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-image-container {
    margin-bottom: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.project-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-main-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.project-main-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-main-content h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--text-dark);
}

.project-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.project-technologies {
    margin-bottom: 2rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-youtube {
    background: #ff0000;
    color: white;
}

.btn-youtube:hover {
    background: #cc0000;
}

.btn-preview {
    background: #10b981;
    color: white;
}

.btn-preview:hover {
    background: #059669;
}

.btn-download {
    background: var(--primary);
    color: white;
}

.btn-download:hover {
    background: var(--primary-dark);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.sidebar-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
}

.related-projects {
    margin-top: 4rem;
}

.related-projects h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

/* Admin Styles for Projects */
.table-image {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.badge-tech {
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    display: inline-block;
    margin: 0.1rem;
}

.link-badges {
    display: flex;
    gap: 0.25rem;
}

.badge-youtube {
    background: #ff0000;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.badge-preview {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.badge-download {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Responsive for Projects */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .project-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .project-header h1 {
        font-size: 1.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }

    .project-image-container {
        height: 250px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }

    .lightbox-content {
        max-width: 95%;
    }
}