/* =========================
   RESET & BASE
========================= */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI', Arial, sans-serif;
}

body{
background:#f6f6f6;
color:#222;
line-height:1.6;
}

/* =========================
   HERO / HEADER
========================= */
.hero{
height:70vh;
background:url('images/hero.jpg') center/cover no-repeat;
position:relative;
color:#fff;
}

.hero::after{
content:"";
position:absolute;
inset:0;
background:rgba(0,0,0,.45);
}

.navbar{
position:relative;
z-index:2;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 40px;
}

.logo{
font-size:22px;
font-weight:bold;
}

.navbar ul{
list-style:none;
}

.navbar ul li{
display:inline-block;
margin-left:22px;
}

.navbar ul li a{
color:#fff;
text-decoration:none;
font-weight:600;
}

.hero-text{
position:relative;
z-index:2;
text-align:center;
top:50%;
transform:translateY(-50%);
}

.hero-text h1{
font-size:42px;
}

.hero-text p{
margin-top:10px;
font-size:18px;
opacity:.9;
}

/* =========================
   SECTIONS
========================= */
section{
padding:70px 20px;
text-align:center;
}

h2{
font-size:32px;
margin-bottom:35px;
}

/* =========================
   ABOUT
========================= */
.about{
background:#f4f4f4;
}

.about-box{
max-width:900px;
margin:auto;
display:flex;
gap:35px;
align-items:center;
justify-content:center;
flex-wrap:wrap;
}

.about-box img{
width:260px;
height:260px;
border-radius:50%;
object-fit:cover;
}
.about-box p{
font-weight: bolder;
}
/* =========================
   PORTFOLIO SECTION
========================= */
.portfolio{
padding:80px 6%;
}

.portfolio-category{
margin-bottom:110px;
text-align:center;
}

.portfolio-category h2{
font-size:32px;
letter-spacing:2px;
margin-bottom:40px;
position:relative;
}

.portfolio-category h2::after{
content:"";
width:90px;
height:3px;
background:#111;
display:block;
margin:15px auto 0;
}

/* =========================
   SLIDER
========================= */
.slider-wrapper{
max-width:720px;
margin:auto;
position:relative;
display:flex;
align-items:center;
justify-content:center;
}

.slider{
width:100%;
height:420px;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
position:relative;
}

/* Slide wrapper */
.slide{
display:none;
position:relative;
width:100%;
height:100%;
}

.slide.active{
display:flex;
align-items:center;
justify-content:center;
}

.slide img{
max-width:100%;
max-height:100%;
object-fit:contain;
border-radius:16px;
}

/* NAV BUTTONS */
.nav-btn{
background:rgba(0,0,0,.65);
color:#fff;
border:none;
font-size:32px;
padding:10px 18px;
cursor:pointer;
border-radius:50%;
position:absolute;
top:50%;
transform:translateY(-50%);
z-index:5;
}

.nav-btn:hover{
background:#000;
}

.nav-btn.prev{ left:-60px; }
.nav-btn.next{ right:-60px; }

/* =========================
   DELETE BUTTON
========================= */
.delete-btn{
position:absolute;
top:10px;
right:10px;
background:#e53935;
color:#fff;
padding:6px 12px;
border-radius:6px;
font-size:13px;
text-decoration:none;
z-index:10;
}

.delete-btn:hover{
background:#c62828;
}

/* =========================
   CONTACT
========================= */
.contact form{
max-width:500px;
margin:auto;
display:grid;
gap:16px;
}

.contact input,
.contact textarea{
padding:12px;
border:1px solid #ccc;
border-radius:6px;
}

.contact textarea{
min-height:120px;
}

.contact button{
padding:12px;
background:#111;
color:#fff;
border:none;
cursor:pointer;
}

/* =========================
   FOOTER
========================= */
footer{
background:#111;
color:#fff;
padding:25px;
text-align:center;
}

footer a{
color:#fff;
margin:0 10px;
text-decoration:none;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){

.hero-text h1{
font-size:30px;
}

.about-box{
flex-direction:column;
}

.portfolio{
padding:50px 4%;
}

.portfolio-category h2{
font-size:24px;
}

.slider-wrapper{
max-width:90vw;
}

.slider{
height:300px;
}

.nav-btn.prev{ left:-40px; }
.nav-btn.next{ right:-40px; }

}
/* SLIDER IMAGE CONTROL */
.slider img{
display:none;
max-width:100%;
max-height:420px;
object-fit:center;
border-radius:14px;
}

.slider img.active{
display:block;
}

/* DELETE BUTTON */
.delete-btn{
position:absolute;
top:10px;
right:10px;
background:red;
color:#fff;
padding:6px 10px;
border-radius:6px;
font-size:13px;
text-decoration:none;
z-index:10;
}
/* ===== CATEGORY SECTION BACKGROUND ===== */

.category-section{
position:relative;
padding:60px 30px;
margin-bottom:80px;
border-radius:18px;
overflow:hidden;
}

/* SUBTLE BACKGROUND GRADIENT */
.category-section::before{
content:"";
position:absolute;
inset:0;
background:
linear-gradient(135deg,#fafafa,#f1f5f9);
z-index:0;
}

/* SOFT ART STYLE PATTERN */
.category-section::after{
content:"";
position:absolute;
inset:0;
background-image:
radial-gradient(circle at 20% 30%, rgba(0,0,0,0.03) 0%, transparent 40%),
radial-gradient(circle at 80% 70%, rgba(0,0,0,0.03) 0%, transparent 40%);
z-index:0;
}

/* CONTENT ABOVE BG */
.category-section > *{
position:relative;
z-index:2;
}

/* CATEGORY TITLE STYLE */
.category-section h2{
display:inline-block;
padding:12px 28px;
background:#111;
color:#fff;
border-radius:40px;
font-size:22px;
letter-spacing:1px;
margin-bottom:40px;
box-shadow:0 8px 20px rgba(0,0,0,0.15);
}
