/*! style.css - Local stylesheet for cPanel hosting - COMPLETE */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #1f271b;
    color: #d6e8d0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Layout Containers */
section { padding: 4rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Header/Nav */
header { position: fixed; top: 0; left: 0; right: 0; background: #1f271b; z-index: 999; padding: 1rem 2rem; }
nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.logo { font-size: 1.5rem; font-weight: 700; color: #79b791; text-decoration: none; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: #d6e8d0; text-decoration: none; transition: 0.3s; font-weight: 500; }
.nav-links a:hover { color: #79b791; }

/* Sections */
.section-title { font-size: 2.5rem; margin-bottom: 1rem; background: linear-gradient(135deg, #79b791, #5a8a68); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle { color: rgba(214, 232, 208, 0.8); font-size: 1.2rem; margin-bottom: 3rem; }

/* About Card */
.about-card { background: #273122; padding: 2rem; border-radius: 14px; border: 1px solid rgba(121, 183, 145, 0.2); margin: 2rem 0; }
.about-card h3 { color: #79b791; font-size: 1.5rem; margin-bottom: 1rem; }
.about-card p { color: rgba(214, 232, 208, 0.8); line-height: 1.7; }

/* Tech Stack */
.tech-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.tech-card { background: #273122; padding: 1.5rem; border-radius: 10px; border: 1px solid rgba(121, 183, 145, 0.2); transition: 0.3s; }
.tech-card:hover { border-color: #79b791; transform: translateY(-5px); }
.tech-card h3 { color: #79b791; font-size: 1.2rem; margin-bottom: 1rem; }
.tech-card ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-card li { background: rgba(121, 183, 145, 0.2); padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.7rem; font-weight: 600; color: #79b791; }

/* Cards (Project Cards) */
.project-card { background: #273122; border-radius: 14px; border: 1px solid rgba(121, 183, 145, 0.2); overflow: hidden; transition: 0.3s; margin: 1rem 0; }
.project-card:hover { border-color: #79b791; transform: translateY(-5px); }
.project-img { width: 100%; height: 220px; background: #1f271b; object-fit: cover; }
.project-info { padding: 1.5rem; }
.project-info h3 { color: #d6e8d0; font-size: 1.3rem; margin-bottom: 0.5rem; }
.project-info p { color: rgba(214, 232, 208, 0.75); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; background: linear-gradient(135deg, #79b791, #5a8a68); color: #d6e8d0; text-decoration: none; border-radius: 8px; font-weight: 500; transition: 0.3s; box-shadow: 0 4px 15px rgba(121, 183, 145, 0.3); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(121, 183, 145, 0.4); }
.btn-secondary { background: linear-gradient(135deg, #5a8a68, #79b791); color: #d6e8d0; }

/* Badges/Status */
.badge { display: inline-block; padding: 0.3rem 0.8rem; background: rgba(121, 183, 145, 0.2); border-radius: 20px; font-size: 0.7rem; font-weight: 600; color: #79b791; }
.badge-green { background: rgba(121, 183, 145, 0.1); color: #79b791; border-left: 3px solid #79b791; padding: 1.5rem 1rem; }

/* Photo Grid */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.photo-item { background: #273122; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.photo-item:hover img { transform: scale(1.05); }

/* Modal */
.modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); z-index: 1000; display: none; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal-content { background: #273122; padding: 2rem; border-radius: 14px; max-width: 90%; max-height: 90%; overflow: auto; text-align: center; }
.modal-content img { max-width: 100%; max-height: 70%; object-fit: contain; }
.close-modal { position: absolute; top: 2rem; right: 3rem; color: #d6e8d0; font-size: 2rem; text-decoration: none; }

/* Footer */
footer { text-align: center; padding: 2rem 1rem; color: rgba(214, 232, 208, 0.7); font-size: 0.9rem; margin-top: 4rem; }

/* Responsive */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .nav-links { display: none; }
    .photo-grid { grid-template-columns: 1fr; }
}