/* RESET */
* { margin:0; padding:0; box-sizing:border-box; }
html, body { font-family: Arial, sans-serif; scroll-behavior:smooth; }
img { display:block; max-width:100%; }

/* NAV */
nav { width:100%; position:fixed; top:0; left:0; z-index:10; background:#111; }
nav ul { display:flex; justify-content:center; list-style:none; padding:10px; }
nav ul li { margin:0 20px; }
nav ul li a { color:#fff; text-decoration:none; font-size:18px; position:relative; }
nav ul li a::after { content:''; position:absolute; left:0; bottom:-6px; width:0; height:3px; background:#d16e1c; transition:0.4s; }
nav ul li a:hover::after { width:100%; }

/* BACKGROUNDS */
.backgrounds { position:fixed; inset:0; z-index:-1; overflow:hidden; }
.backgrounds img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:1s; }
.backgrounds img.active { opacity:1; }

/* SECTIONS */
main section { height:100vh; display:flex; justify-content:center; align-items:center; text-align:center; color:white; }
#s1 .hero-text h1 { font-size:4rem; font-weight:700; color:#d16e1c; opacity:0; filter:blur(10px); animation:blurFadeIn 2s forwards; }
#s1 .hero-text h2 { font-size:2rem; margin-top:20px; opacity:0; transform:translateY(20px); animation:fadeUp 2s 2s forwards; }

@keyframes blurFadeIn { 0%{opacity:0; filter:blur(10px);} 100%{opacity:1; filter:blur(0);} }
@keyframes fadeUp { 0%{opacity:0; transform:translateY(20px);} 100%{opacity:1; transform:translateY(0);} }

/* ABOUT */
#about { display:flex; justify-content:center; width:100%; min-height:100vh; }
.row { display:flex; flex-wrap:wrap; width:100%; }
.about-col1, .about-col2 { flex:1 1 50%; }
.about-col1 img { width:100%; height:100%; object-fit:cover; }
.about-col2 { padding:80px; display:flex; flex-direction:column; justify-content:center; color:#fff; }
.sub-title { font-size:60px; font-weight:600; color:#d16e1c; margin-bottom:20px; }
.about-col2 p { font-size:18px; line-height:1.7; }
.btn-download { display: inline-block; padding: 12px 25px; background: #d16e1c; color: white; border-radius: 8px; text-decoration: none; font-weight: bold; transition: 0.3s; margin-top: 20px; }
.btn-download:hover { background: #ff8c42; }

/* PROJECTS */
#s3 { padding:80px 20px; text-align:center; }
.projects-container { max-width:1200px; margin:auto; }
.section-title { font-size:3rem; margin-bottom:40px; color:#d16e1c; }
.projects-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:30px; margin-bottom:30px; }
.project-card { background:rgba(255,255,255,0.1); padding:20px; border-radius:12px; transition:0.3s; }
.project-card:hover { transform:translateY(-5px); }
.project-card h2 { color:#d16e1c; margin-bottom:10px; }
.extra-project { display:none; }
#see-more { background:#d16e1c; color:white; padding:12px 30px; border:none; border-radius:8px; cursor:pointer; transition:0.3s; }
#see-more:hover { background:#ff8c42; }

/* CONTACT */
#s4 { padding:80px 20px; text-align:center; }
.contact-info p { font-size:1.2rem; margin:10px 0; }
.contact-info a { color:#d16e1c; text-decoration:none; }
.contact-info a:hover { color:#ff8c42; }
.contact-form { display:flex; flex-direction:column; gap:15px; margin-top:20px; }
.contact-form input, .contact-form textarea { padding:12px; border-radius:8px; border:1px solid #ccc; font-size:1rem; resize:none; }
.contact-form input:focus, .contact-form textarea:focus { outline:2px solid #d16e1c; }
.contact-form button { background:#d16e1c; color:white; padding:12px; border:none; border-radius:8px; cursor:pointer; transition:0.3s; }
.contact-form button:hover { background:#ff8c42; }

/* FOOTER */
footer { text-align:center; padding:25px 10px; background:rgba(0,0,0,0.5); color:white; }
footer a { color:white; text-decoration:none; margin:0 8px; }
footer a:hover { color:#d16e1c; }

/* RESPONSIVE */
@media(max-width:768px){.projects-grid{grid-template-columns:1fr;}}
@media(max-width:900px){.row{flex-direction:column;}.about-col1,.about-col2{flex:1 1 100%;}.about-col2{padding:40px 20px;text-align:center;}}
