/* Public site styles — extracted from index.php */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0a1f0f;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: #fff; }

a { text-decoration: none; color: #2e8b57; transition: all .3s ease; }
a:hover { color: #3cb371; }

/* Header */
header {
    padding: 1.5rem 0;
    background-color: rgba(10,31,15,.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,.3);
    transition: all .3s ease;
}
header.scrolled { padding: .8rem 0; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

.navbar { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: #fff; }
.logo span { color: #2e8b57; }

.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 2.5rem; }
.nav-links a { color: #fff; font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; }
.nav-links a:hover { color: #2e8b57; }

.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(10,31,15,.95);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,.2);
    z-index: 1;
    border-radius: 4px;
    margin-top: -3px;
    border: 1px solid rgba(255,255,255,.1);
}
.dropdown-content a { color: white; padding: 12px 16px; display: block; font-size: .85rem; }
.dropdown-content a:hover { background-color: rgba(46,139,87,.3); }
.dropdown:hover .dropdown-content { display: block; }

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #2c3e50;
    overflow: hidden;
}
.hero-image {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: .7;
    transform: scale(1.1);
}
.hero-content { position: relative; z-index: 1; text-align: center; color: #fff; max-width: 800px; padding: 0 2rem; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; text-shadow: 2px 2px 8px rgba(0,0,0,.3); }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; opacity: .9; }

.btn {
    display: inline-block;
    padding: .8rem 2rem;
    background-color: #2e8b57;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}
.btn:hover { background-color: #3cb371; color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.1); }

/* About */
.about { padding: 7rem 0; background-color: #0a1f0f; }
.about-content { display: flex; align-items: center; gap: 4rem; }
.about-text { flex: 1; }
.about h2 { font-size: 2.5rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 1rem; }
.about h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background-color: #2e8b57; }
.about p { margin-bottom: 1.5rem; color: #fff; font-size: 1.1rem; }
.about-image { flex: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 30px rgba(0,0,0,.1); }
.about-image img { width: 100%; height: auto; display: block; transition: transform .3s ease; }
.about-image:hover img { transform: scale(1.05); }

/* Projects */
.projects { padding: 3rem 0; }
.projects-header { text-align: center; margin-bottom: 2rem; }
.projects-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.projects-header p { color: #fff; max-width: 700px; margin: 0 auto; }
.project { margin-bottom: 5rem; }

/* Parallax */
.parallax-container {
    height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.parallax-bg {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
.parallax-content {
    background-color: rgba(10,31,15,.85);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    box-shadow: 0 15px 30px rgba(0,0,0,.2);
    text-align: center;
    border: 1px solid rgba(255,255,255,.1);
}
.parallax-content h3 { font-size: 2rem; margin-bottom: 1rem; color: #fff; }

/* Project details */
.project-details { padding: 5rem 0; background-color: rgba(10,31,15,.95); }
.project-flex { display: flex; gap: 3rem; }
.project-description { flex: 1; }
.project-description h3 { font-size: 2rem; margin-bottom: 1rem; color: #fff; }
.project-description p { margin-bottom: 1.5rem; color: #fff; }
.project-role { margin-top: 2rem; }
.project-role h4 { color: #2e8b57; margin-bottom: .5rem; }

/* Gallery */
.photo-gallery { flex: 1; }
.gallery-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.gallery-item { overflow: hidden; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,.1); position: relative; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .3s ease; cursor: pointer; }
.gallery-item:hover img { transform: scale(1.1); }

.experience-list { margin-bottom: 1.5rem; margin-left: 1.5rem; color: #fff; }
.experience-list li { margin-bottom: .5rem; }

/* Contact */
.contact { padding: 7rem 0; background-color: #0a1f0f; text-align: center; }
.contact h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.contact p { color: #fff; margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #164921;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color .3s ease;
    background-color: rgba(22,73,33,.3);
    color: #fff;
}
.form-control:focus { outline: none; border-color: #2e8b57; }
textarea.form-control { min-height: 150px; resize: vertical; }

/* Footer */
footer { background-color: #2c3e50; color: #fff; padding: 3rem 0; text-align: center; }
.footer-content { max-width: 500px; margin: 0 auto; }
.footer-content p { margin-bottom: 1.5rem; opacity: .8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; font-size: .9rem; opacity: .7; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1100;
    padding-top: 50px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,.9);
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    opacity: 0;
    transform: scale(.95);
    transition: opacity .3s, transform .3s;
}
.lightbox-content.show { opacity: 1; transform: scale(1); }
.close-button {
    position: absolute; top: 15px; right: 25px;
    color: #fff; font-size: 35px; font-weight: bold;
    cursor: pointer; z-index: 1110;
}
#lightbox-caption {
    margin: auto; width: 80%; max-width: 700px;
    text-align: center; color: #ccc; padding: 10px 0; height: 50px;
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox.fade-in { animation: fade-in .3s; }

/* Responsive */
@media (max-width: 992px) {
    .about-content, .project-flex { flex-direction: column; }
    .about-image { margin-top: 2rem; }
    .hero h1 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .parallax-container { height: 50vh; }
    .parallax-content { width: 90%; }
}
