:root {
    --bg-color: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent: #f59e0b;
    --accent-blue: #3b82f6;
    --card-bg: #ffffff;
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
}
.nav-links a:hover { color: var(--accent-blue); }

header {
    text-align: center;
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--text-main);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: var(--shadow);
    cursor: pointer;
}
.btn:hover { background: var(--accent-blue); transform: translateY(-3px); }
.btn-outline { background: transparent; border: 2px solid var(--text-main); color: var(--text-main); margin-left: 10px; }
.btn-outline:hover { background: var(--text-main); color: white; }

section { padding: 80px 20px; max-width: 1000px; margin: 0 auto; }

h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}
h3.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.duality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.duality-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 5px solid var(--bg-color);
}
.duality-card.chef { border-color: var(--accent); }
.duality-card.tech { border-color: var(--accent-blue); }
.duality-icon { font-size: 3rem; margin-bottom: 20px; display: block; }

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}
.project-img-wrapper {
    width: 100%;
    height: 250px;
    background: #eee;
    overflow: hidden;
}
.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card:hover .project-img-wrapper img { transform: scale(1.05); }
.project-content { padding: 30px; flex: 1; }

@media (min-width: 768px) {
    .project-card { flex-direction: row; align-items: stretch; }
    .project-img-wrapper { width: 300px; height: auto; min-height: 300px; }
}

.badge {
    background: #dcfce7;
    color: #166534;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.gallery-thumb {
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}
.gallery-thumb:hover img { transform: scale(1.1); opacity: 0.8; }

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    animation: zoomIn 0.3s;
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.close-modal:hover { color: var(--accent); }
@keyframes zoomIn { from {transform:scale(0.8); opacity:0} to {transform:scale(1); opacity:1} }

footer {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.lock-icon {
    cursor: pointer;
    margin-left: 10px;
    opacity: 0.5;
    color: var(--text-muted);
    text-decoration: none;
}
.lock-icon:hover { opacity: 1; color: var(--text-main); }

