*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
    scroll-padding: 100px;
}

body{
    background:linear-gradient(135deg,#6a1c53,#84217a);
    color:#fff;
    transition:.4s;
   
}

    

.glass-nav{
    position:fixed;
    top:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    backdrop-filter:blur(15px);
    background:rgba(255,255,255,.15);
    border-bottom:1px solid rgba(255,255,255,.2);
    z-index:1000;
}
  .Back a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    
    border: none;
    border-radius: 4px; 
}
body.dark-mode header.glass-nav button.Back{
    background: linear-gradient(135deg, #673961, #641c55);
}



.logo{
    font-size:24px;
    font-weight:bold;
    margin-right:500px ;
}

nav{
    display:flex;
    gap:20px;
    align-items:center;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:#ae0086;
}

#theme-toggle{
    padding:10px 18px;
    border:none;
    border-radius:20px;
    cursor:pointer;
    background:rgba(255,255,255,.25);
    color:white;
    backdrop-filter:blur(10px);
    transition:.3s;
}

#theme-toggle:hover{
    background:rgba(255,255,255,.4);
}

main{
    padding-top:100px;
}

.glass-card{
    width:90%;
    max-width:1000px;
    margin:40px auto;
    padding:40px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.25);
    box-shadow:0 8px 32px rgba(0,0,0,.2);
    position:relative;
}


   
.glass-card::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    border-radius:inherit;
    backdrop-filter:blur(18px);
    background:rgba(255,255,255,.18);
}

.hero-section{
    text-align:center;
}

.hero-pic{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid white;
    margin-bottom:20px;
    transition:.4s;
}

.hero-pic:hover{
    transform:scale(1.08);
}

.hero-section h1{
    font-size:42px;
}

.hero-subtitle{
    margin-top:10px;
    font-size:20px;
    opacity:.9;
}

.section h2{
    margin-bottom:20px;
    font-size:32px;
}

.section p{
    line-height:1.8;
}

button,
.btn{
    display:inline-block;
    padding:12px 25px;
    border:none;
    border-radius:30px;
    background:white;
    color:#333;
    font-weight:bold;
    cursor:pointer;
    text-decoration:none;
    transition:.3s;
}

button:hover,
.btn:hover{
    transform:translateY(-3px);
    background:#ffe082;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:30px;
}

.glass-subcard{
    padding:25px;
    border-radius:18px;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(10px);
    transition:.4s;
    border:1px solid rgba(255,255,255,.2);
}

.glass-subcard:hover{
    transform:translateY(-10px);
    background:rgba(255,255,255,.2);
}

.gallery-filter input[type="radio"]{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.gallery-filter{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:10px;
}

.gallery-filter label{
    padding:8px 18px;
    border-radius:20px;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.25);
    cursor:pointer;
    font-weight:600;
    font-size:14px;
    transition:.3s;
}

.gallery-filter label:hover{
    background:rgba(255,255,255,.3);
}

.gallery-filter input[type="radio"]:checked + label{
    background:white;
    color:#333;
}

.gallery-filter:has(#filter-event1:checked) ~ .gallery .photo:not(.tag-event1),
.gallery-filter:has(#filter-event2:checked) ~ .gallery .photo:not(.tag-event2),
.gallery-filter:has(#filter-event3:checked) ~ .gallery .photo:not(.tag-event3),
.gallery-filter:has(#filter-event4:checked) ~ .gallery .photo:not(.tag-event4){
    display:none;
}

.gallery{
    width:100%;
    margin-top:25px;
    columns:3 220px;
    column-gap:18px;
}

.photo{
    position:relative;
    display:block;
    break-inside:avoid;
    margin-bottom:18px;
    border-radius:16px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.2);
    text-decoration:none;
}

.photo img{
    display:block;
    width:100%;
    height:auto;
    transition:.4s;
}

.photo:hover img{
    transform:scale(1.06);
}

.photo .caption{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:14px 16px;
    color:#fff;
    font-weight:600;
    font-size:15px;
    line-height:1.4;
    background:linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
    opacity:0;
    transform:translateY(10px);
    transition:.3s;
}

.photo .caption small{
    font-weight:400;
    opacity:.85;
}

.photo:hover .caption{
    opacity:1;
    transform:translateY(0);
}

.lightbox{
    display:none;
    position:fixed;
    inset:0;
    z-index:2000;
    align-items:center;
    justify-content:center;
    padding:30px;
    background:rgba(0,0,0,.88);
}

.lightbox:target{
    display:flex;
}

.lightbox figure{
    max-width:90vw;
    max-height:85vh;
    text-align:center;
}

.lightbox img{
    max-width:100%;
    max-height:75vh;
    border-radius:12px;
    box-shadow:0 10px 40px rgba(0,0,0,.5);
}

.lightbox figcaption{
    margin-top:14px;
    color:#fff;
    font-weight:600;
    font-size:16px;
}

.lightbox-close{
    position:absolute;
    top:25px;
    right:35px;
    font-size:40px;
    color:#fff;
    text-decoration:none;
    line-height:1;
}

.lightbox-close:hover{
    color:#ffe082;
}

.contact-intro{
    margin-bottom:20px;
}

.contact-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}

.contact-btn{
    padding:10px 18px;
    border-radius:8px;
    color:#fff;
    cursor:pointer;
    text-decoration:none;
    font-weight:600;
    transition:opacity 0.2s ease;
}

.contact-btn .icon {
  display: flex;
  align-items: center;
}

.tiktok{
    background:#000000;
}

.facebook{
    background:#1877F2;
}

.instagram{
    background:linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.contact-btn:hover{
     opacity: 0.85;
}

footer{
    text-align:center;
    padding:25px;
    margin-top:40px;
    background:rgba(0,0,0,.15);
}

.about-bg{
    background:linear-gradient(135deg,#673961,#641c55);
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
}

.overlay{
    max-width:1200px;
    width:100%;
    padding:40px;
    border-radius:20px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.2);
    color:white;
    box-shadow:0 8px 30px rgba(0,0,0,.2);
}

.overlay h1{
    text-align:center;
    margin-bottom:30px;
    font-family:'Playfair Display', Georgia, serif;
    font-weight:700;
    font-size:42px;
}

.overlay p{
    margin:20px 0;
    line-height:1.8;
    text-align: justify;
}

.profile{
    width:180px;
    height:180px;
    object-fit:cover;
    border-radius:50%;
    display:block;
    margin:20px auto;
    border:4px solid white;
}

.about-content{
    display:flex;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;
}

.about-text{
    flex:1 1 320px;
}

.about-image{
    flex:1 1 320px;
    min-height:380px;
    border-radius:14px;
    background:rgba(255,255,255,.85);
    border:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#666;
    font-size:16px;
    overflow:hidden;
    margin-bottom: 50px;
    border-style: solid;
    border-color: #641c55;
}

.about-image img{
    width:1000px;
    height:500px;
    object-fit:cover;
    display:block;
}

.dark-mode .about-image{
    background:rgba(255,255,255,.1);
    border-color:rgba(255,255,255,.3);
    color:rgba(255,255,255,.7);
}

.dark-mode{
    background:linear-gradient(135deg,#673961,#641c55);
    color:white;
}

.dark-mode .overlay,
.dark-mode .glass-nav{
    background:rgba(0,0,0,.35);
    border:1px solid rgba(255,255,255,.08);
}

.dark-mode .glass-card{
    border:1px solid rgba(255,255,255,.08);
}

.dark-mode .glass-card::before{
    background:rgba(0,0,0,.35);
}

.dark-mode button,
.dark-mode .btn{
    background:#333;
    color:white;
}

@media(max-width:768px){

        .gallery{
        columns:1;
    }

        .about-content{
        flex-direction:column;
    }
    .about-image{
        min-height:260px;
        width:100%;
    }

        .glass-nav{
        flex-direction:column;
        gap:15px;
       
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
    }

        .hero-section h1{
        font-size:32px;
    }

    .hero-subtitle{
        font-size:18px;
    }

        .glass-card,
    .overlay{
        width:95%;
        padding:25px;
    }

        .contact-links{
        flex-direction:column;
        align-items:center;
    }

        .overlay img[style]{
        float:none !important;
        width:100%;
        height:auto;
        margin-top:20px;
    }
}