/* ================= GLOBAL ================= */
:root {
    --primary: #223689;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: white;
}

/* ================= NAV ================= */
nav {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 25px;
    border-bottom: 1px solid #eee;
}
nav a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    position: relative;
    padding-bottom: 6px;
    transition: 0.3s;
}
nav a:hover { color: var(--primary); }
nav a.active {
    color: var(--primary);
}
nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

/* ================= HERO VIDEO ================= */
.hero-video {
    position: relative;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
}
.hero-content {
    position: relative;
    color: white;
    z-index: 1;
}
.hero-content h1 { font-size: 48px; margin-bottom: 10px; }
.hero-content p { font-size: 18px; margin-bottom: 20px; }
.hero-content button {
    padding: 12px 28px;
    border: none;
    background: var(--primary);
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}
.hero-content button:hover { opacity: 0.85; }

/* ================= FEATURED PHOTOS ================= */
.featured-photos { width: 85%; margin: 80px auto; text-align: center; }
.featured-photos h2 { color: var(--primary); margin-bottom: 30px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.photo-grid img { width: 100%; border-radius: 10px; transition: 0.3s; }
.photo-grid img:hover { transform: scale(1.03); }

/* ================= WORKS ================= */
.works-header { text-align: center; margin: 80px 0 20px; font-size: 42px; color: var(--primary);}
.works-sub { text-align: center; margin-bottom: 50px; }
.works-section { width: 85%; margin: 0 auto 80px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.grid img { width: 100%; border-radius: 8px; transition: 0.3s; }
.grid img:hover { transform: scale(1.03); }
details summary { cursor: pointer; font-weight: bold; color: var(--primary); margin-bottom: 20px; }

/* VIDEO GRID */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.video-card video { width: 100%; border-radius: 8px; }
.video-card p { margin-top: 10px; font-size: 14px; }
.youtube-btn {
    display: inline-block;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}
.youtube-btn:hover { opacity: 0.85; }

/* ================= ABOUT ================= */
.about-hero { padding: 120px 10%; text-align:center; color:white; background: linear-gradient(rgba(34,54,137,0.7), rgba(34,54,137,0.7)), url('Pictures/Me.jpg') center/cover no-repeat; }
.about-hero h1 { font-size: 42px; margin-bottom: 10px; }
.about-section { width: 80%; margin: 100px auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }
.about-image img { width: 100%; border-radius: 12px; }
.about-text h2 { margin-bottom: 20px; color: var(--primary); }
.about-text p { margin-bottom: 20px; }
.about-philosophy { width: 70%; margin: 80px auto; text-align:center; }
.about-skills { width: 80%; margin: 80px auto; text-align:center; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; }
.skills-grid div { padding: 15px; border:2px solid var(--primary); transition:0.3s; }
.skills-grid div:hover { background: var(--primary); color:white; }

/* ================= CONTACT ================= */
.contact-hero { text-align:center; padding:120px 20px 60px; background: linear-gradient(to bottom, #f5f7ff, white);}
.contact-hero h1 { font-size:48px; margin-bottom:15px; color: var(--primary); }
.contact-container { width:60%; margin:40px auto 100px; text-align:center; }
.contact-container button { padding:12px 28px; border:none; background: var(--primary); color:white; font-weight:600; cursor:pointer; transition:0.3s;}
.contact-container button:hover { opacity:0.85; }

/* ================= FOOTER ================= */
footer { text-align:center; padding:40px 20px; background:#f4f4f4; margin-top:50px;}
footer strong { display:block; margin-bottom:10px; color: var(--primary);}