/* Naima Sundari – Romantic × Modern (HD) */
:root{
  --pink: #ffb6d9;
  --purple: #7f00ff;
  --dark: #0b0120;
  --dark-2: #16002e;
  --light: #ffffff;
  --glass: rgba(255,255,255,0.1);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,'Helvetica Neue',Arial,'Noto Sans',sans-serif;
  color:var(--light);
  background: radial-gradient(1200px 700px at 20% -10%, #28005a 0%, transparent 60%),
              radial-gradient(1000px 800px at 120% 10%, #7f00ff33 0%, transparent 70%),
              linear-gradient(135deg, var(--dark), var(--dark-2));
  line-height:1.6;
}

/* Navbar */
.navbar{
  position:sticky; top:0; z-index:10;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 4vw;
  background:linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.1));
  backdrop-filter:blur(10px);
  border-bottom:1px solid #ffffff12;
  min-height:60px;
}
.brand{display:flex; align-items:center; gap:10px; flex-shrink:0;}
.logo{font-size:26px; filter: drop-shadow(0 4px 10px #ffb6d9aa);}
.title{
  margin:0; font-weight:700; letter-spacing:.5px;
  font-family:'Great Vibes', cursive; font-size:28px; color:var(--pink);
  white-space:nowrap;
}
.title span{color:var(--purple); font-family:'Great Vibes', cursive;}

.nav-links{
  list-style:none; display:flex; gap:8px; align-items:center; 
  margin:0; padding:0; flex-wrap:nowrap;
}

/* Desktop - show menu inline */
@media (min-width: 769px){
  .nav-links{
    display:flex !important;
    position:static;
    flex-direction:row;
    background:transparent;
    width:auto;
    height:auto;
    padding:0;
    box-shadow:none;
  }
}

/* Hide nav-links on mobile by default */
@media (max-width: 768px){
  .nav-links{
    display:none !important;
  }
  .nav-links.active{
    display:flex !important;
  }
}
.nav-links li{position:relative; white-space:nowrap;}
.nav-links a{
  color:var(--light); text-decoration:none; font-weight:500;
  padding:6px 10px; border-radius:6px; font-size:14px;
  transition:.25s; display:block;
}
.nav-links a:hover{color:var(--pink); background:#ffffff12;}

.menu-toggle{
  display:none; color:#fff; font-size:28px; 
  cursor:pointer; background:none; border:none;
  padding:8px; line-height:1;
}

/* Hero */
.hero{
  position:relative; height:88vh; display:grid; place-items:center;
  background-image: url('../images/naima.jpg');
  background-size:cover; background-position:center;
  border-bottom:1px solid #ffffff14;
}
.hero-overlay{
  position:absolute; inset:0;
  background: radial-gradient(60% 60% at 50% 40%, #00000060 0%, #000000aa 55%, #000000dd 100%);
  mix-blend-mode:multiply;
}
.hero-content{
  position:relative; text-align:center; padding:0 5vw; max-width:900px;
  animation:fadeUp .9s ease both .1s;
}
.hero-content h2{
  font-size: clamp(28px, 4.2vw, 52px);
  margin:0 0 10px; line-height:1.15;
  text-shadow: 0 8px 30px #000000, 0 0 20px #7f00ff66;
}
.hero-content p{font-size: clamp(16px, 1.3vw, 20px); opacity:.95; margin:0 0 16px;}
.btn{display:inline-block; padding:12px 26px; border-radius:999px; text-decoration:none; transition:.25s; font-weight:600;}
.btn-primary{background:linear-gradient(135deg, var(--pink), var(--purple)); color:var(--light); box-shadow:0 10px 30px #7f00ff55;}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 14px 40px #7f00ff77;}
.btn-ghost{border:1px solid #ffffff33; color:var(--light);}
.btn-ghost:hover{background:#ffffff14;}

/* About */
.about{
  display:grid; grid-template-columns: 1.1fr 1fr; gap:40px;
  padding:72px 7vw; align-items:center;
}
.about-text h2{color:var(--pink); font-size: clamp(24px, 3vw, 36px); margin-top:0;}
.about-text p{opacity:.95}
.about-cta{margin-top:18px}
.about-img img{
  width:100%; max-width:720px; border-radius:22px;
  box-shadow:0 30px 60px #000000aa, 0 0 0 1px #ffffff22;
  display:block;
}

/* Gallery */
.gallery{padding:64px 6vw; text-align:center;}
.gallery h2{color:var(--pink); font-size: clamp(24px, 3vw, 36px);}
.gallery-container{
  margin-top:22px; display:grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap:24px;
}
.card{
  background:var(--glass); border:1px solid #ffffff12; border-radius:18px; overflow:hidden;
  transition:.35s; backdrop-filter: blur(6px);
}
.card img{width:100%; height:320px; object-fit:cover; display:block;}
.card:hover{transform: translateY(-6px); box-shadow:0 20px 40px #00000066, 0 0 20px #ffb6d955;}
.card figcaption{padding:12px 14px 16px; color:#eae9f5;}

/* Footer */
.footer{
  border-top:1px solid #ffffff12; margin-top:60px;
  padding:28px 5vw; text-align:center; background:linear-gradient(180deg, #00000033, #00000066);
}
.footer .social{margin-top:8px; display:flex; gap:18px; justify-content:center; flex-wrap:wrap;}
.footer .social a{color:var(--pink); text-decoration:none; border-bottom:1px dashed transparent; transition:.25s;}
.footer .social a:hover{border-color:var(--pink);}

/* Animations */
@keyframes fadeUp{
  from{opacity:0; transform: translateY(18px)}
  to{opacity:1; transform: translateY(0)}
}

/* Audio playing visual state */
.audio-image.is-playing {
  box-shadow: 0 0 22px rgba(255, 182, 217, 0.75), 0 0 8px rgba(127, 0, 255, 0.45);
  border-radius: 12px;
  transform: translateY(-3px);
  transition: box-shadow .25s, transform .25s;
}

/* ==== Inline Audio UI on image ==== */
.audio-tile { position: relative; }
.audio-tile .play-overlay{
  position:absolute; inset:auto auto 14px 14px;
  width:46px; height:46px; border-radius:50%;
  border:none; outline:0; cursor:pointer;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  display:grid; place-items:center;
  transition:.2s;
}
.audio-tile .play-overlay::before{
  content:""; display:block;
  width:0; height:0;
  border-left:14px solid #fff;
  border-top:9px solid transparent;
  border-bottom:9px solid transparent;
  margin-left:3px;
}
.audio-tile.playing .play-overlay{
  background: rgba(127,0,255,.75);
  box-shadow:0 0 18px rgba(127,0,255,.5);
}
.audio-tile.playing .play-overlay::before{
  content:""; width:16px; height:16px;
  border:none; background:
    linear-gradient(#fff, #fff) left/5px 100% no-repeat,
    linear-gradient(#fff, #fff) right/5px 100% no-repeat;
}

/* bottom progress bar */
.audio-tile .progress{
  position:absolute; left:0; right:0; bottom:0;
  height:6px; background: rgba(255,255,255,.12);
  overflow:hidden;
}
.audio-tile .progress span{
  display:block; height:100%; width:0%;
  background: linear-gradient(90deg, #ffb6d9, #7f00ff);
  transition: width .15s linear;
}

.audio-tile .play-overlay, .audio-tile .progress { z-index: 2; }
.audio-tile img { display:block; }

/* Overlay (click to close) */
.overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.7);
  z-index:1500;display:none;
}
.overlay.active{display:block}

/* Left Drawer (stays while scrolling) */
.submenu-drawer{
  position:fixed; top:60px; left:0; z-index:2000;
  width:280px; max-height:calc(100vh - 60px);
  background:#1c1c1c; border-right:1px solid #333;
  transform:translateX(-105%); transition:transform .35s ease;
  overflow-y:auto; box-shadow:2px 0 18px rgba(0,0,0,.35);
}
.submenu-drawer.active{ transform:translateX(0) }
.submenu-drawer ul{list-style:none;margin:0;padding:10px}
.submenu-header{
  position:sticky; top:0; background:#151515; z-index:1;
  display:flex;align-items:center;justify-content:space-between;
  border-bottom:1px solid gold; padding:10px 14px
}
.submenu-header h3{margin:0;color:gold;font-size:18px}
.close-btn{cursor:pointer;font-size:25px;color:#fff;transition:.2s}
.close-btn:hover{color:#ff4d4f}

/* Items */
.submenu-drawer li{margin:8px 0}
.submenu-drawer a{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 12px; border-radius:8px; color:#fff; background:#1f1f1f;
  transition:background .25s,color .25s, transform .15s;
}
.submenu-drawer a:hover{ background:#2b2b2b; color:gold }
.submenu-drawer a span{
  display:inline-flex; align-items:center; font-size:15px; font-weight:600;
}
.submenu-drawer a span::after{
  content:"➔"; margin-left:8px; font-size:16px; color:gold; transition:transform .25s
}
.submenu-drawer a:hover span::after{ transform:translateX(4px) }

/* Profile image */
.submenu-drawer img{
  width:56px; height:56px; border-radius:50%; object-fit:cover;
  border:2px solid gold; transition:transform .35s, box-shadow .35s;
}
.submenu-drawer li:hover img{ transform:scale(1.12); box-shadow:0 0 12px #fff }

/* Desktop - Large screens */
@media (max-width: 1200px){
  .nav-links{gap:6px;}
  .nav-links a{font-size:13px; padding:6px 8px;}
  .title{font-size:26px;}
}

/* Tablet */
@media (max-width: 992px){
  .about{grid-template-columns: 1fr; padding:56px 6vw;}
  .about-img img{max-width:100%; margin:0 auto;}
  .gallery-container{grid-template-columns: repeat(2, 1fr);}
  .card img{height:280px;}
}

/* Mobile */
@media (max-width: 768px){
  body{
    overflow-x:hidden;
    position:relative;
  }
  
  .menu-toggle{display:block !important;}
  
  .nav-links{
    display:flex !important;
    position:fixed; 
    right:-100%; 
    top:0; 
    background:#000; 
    width:80vw; 
    max-width:300px;
    height:100vh; 
    overflow-y:auto; 
    overflow-x:hidden;
    flex-direction:column; 
    padding:80px 0 20px 0; 
    transition:right .3s ease; 
    z-index:1200;
    box-shadow:-4px 0 20px rgba(0,0,0,.5);
    gap:0;
    touch-action:pan-y;
  }
  
  .nav-links.active{
    right:0 !important;
  }
  
  .nav-links li{width:100%; margin:0;}
  .nav-links a{
    display:block; width:100%; padding:16px 24px;
    text-align:left; border-bottom:1px solid #ffffff12;
    font-size:15px;
  }
  
  .hero{height:70vh;}
  .hero-content h2{font-size:28px;}
  .hero-content p{font-size:15px;}
  
  .about{padding:40px 5vw;}
  .about-img img{width:100%; max-width:100%; object-fit:cover; border-radius:16px;}
  
  .gallery-container{grid-template-columns: 1fr !important; gap:20px;}
  .card{margin:0 auto; max-width:500px; width:100%;}
  .card img{height:300px; width:100%; object-fit:cover;}
  
  .submenu-drawer{width:85vw; max-width:320px;}
}

/* Small Mobile */
@media (max-width: 480px){
  .navbar{padding:12px 4vw;}
  .title{font-size:24px;}
  .logo{font-size:22px;}
  
  .hero{height:65vh;}
  .hero-content{padding:0 6vw;}
  .hero-content h2{font-size:24px;}
  .hero-content p{font-size:14px;}
  
  .about-text h2{font-size:22px;}
  .gallery h2{font-size:22px;}
  
  .card img{height:260px;}
  
  .submenu-drawer{width:90vw;}
  .submenu-drawer img{width:48px; height:48px;}
  
  .nav-links{width:90vw;}
  .nav-links a{padding:14px 20px; font-size:14px;}
}

/* Scrollbar for drawer */
.submenu-drawer::-webkit-scrollbar{width:8px}
.submenu-drawer::-webkit-scrollbar-thumb{background:#444;border-radius:4px}
.submenu-drawer::-webkit-scrollbar-thumb:hover{background:#666}

/* Nav links scrollbar for mobile */
@media (max-width: 768px){
  .nav-links::-webkit-scrollbar{width:6px}
  .nav-links::-webkit-scrollbar-thumb{background:#555;border-radius:3px}
}