/* Chef Zayka App  */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.project-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #e8f6f5;
    box-shadow: 0 2px 15px rgba(26, 95, 90, 0.1);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid #b2dfdb;
}

.project-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #3aafa9;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #0d2b29;
}

.back-btn-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background-color: #3aafa9;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.back-btn-top:hover {
    background-color: #2e8b87;
    transform: translateY(-2px);
}

/* Project Hero */
.project-hero {
    padding: 100px 0 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.project-intro {
    max-width: 700px;
    margin: 0 auto;
}

.project-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background: white;
    padding: 8px;
}

.project-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.project-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-tagline {
    font-size: 18px;
    opacity: 0.9;
}

/* Prototype Section */
.prototype-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Prototype Gallery */
.prototype-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.prototype-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background-color: #f8f8f8;
    transition: all 0.3s ease;
}

.prototype-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.prototype-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #f0f0f0;
}

.prototype-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border: 1px solid #e0e0e0;
    transition: transform 0.5s ease;
}

.prototype-card:hover .prototype-image img {
    transform: scale(1.02);
}

.prototype-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.prototype-overlay i {
    font-size: 40px;
    color: white;
    width: 80px;
    height: 80px;
    background: rgba(58, 175, 169, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.prototype-card:hover .prototype-overlay {
    opacity: 1;
}

.prototype-overlay:hover i {
    transform: scale(1.1);
}

.prototype-info {
    display: none;
}

/* Back Section */
.back-section {
    text-align: center;
}

.back-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 45px;
    background-color: #3aafa9;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(58, 175, 169, 0.3);
}

.back-btn-large:hover {
    background-color: #2e8b87;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(58, 175, 169, 0.4);
}

/* Footer */
.project-footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.project-footer p {
    font-size: 14px;
    opacity: 0.8;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    background: white;
}

.lightbox-caption {
    color: white;
    font-size: 20px;
    margin-top: 20px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #3aafa9;
}

/* Responsive */
@media (max-width: 768px) {
    .project-hero {
        padding: 90px 0 35px;
    }

    .project-icon-large {
        width: 85px;
        height: 85px;
    }

    .project-hero h1 {
        font-size: 32px;
    }

    .project-tagline {
        font-size: 16px;
    }

    .prototype-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .back-btn-large {
        padding: 14px 35px;
        font-size: 16px;
    }
}