/* ===== Copper Club — Global Styles ===== */
:root{
  --gold:#C9A96E;
  --navy:#0a1428;
  --navy2:#142442;
  --text:#222;
  --radius:18px;
  --shadow:0 10px 40px rgba(0,0,0,.18);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Poppins',sans-serif;color:var(--text);background:#fff;line-height:1.6}
img,video{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
h1,h2,h3{font-family:'Playfair Display',serif}

/* ===== NAVBAR ===== */
.navbar{position:fixed;top:0;left:0;width:100%;display:flex;align-items:center;
  justify-content:space-between;padding:18px 6%;z-index:50;transition:.3s;
  background:transparent}
.navbar.scrolled{background:rgba(10,20,40,.95);box-shadow:var(--shadow);padding:12px 6%}
.logo{font-family:'Playfair Display',serif;font-size:1.5rem;color:#fff;font-weight:700}
.logo span{color:var(--gold)}
.navbar nav a{color:#fff;margin-left:28px;font-weight:400;position:relative;transition:.3s}
.navbar nav a:hover,.navbar nav a.active{color:var(--gold)}
.burger{display:none;flex-direction:column;gap:5px;cursor:pointer}
.burger span{width:26px;height:2px;background:#fff;transition:.3s}

/* ===== HERO ===== */
.hero{position:relative;height:100vh;display:flex;align-items:center;overflow:hidden}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(10,20,40,.92) 0%,rgba(10,20,40,.55) 45%,rgba(201,169,110,.18) 100%)}
.hero-content{position:relative;z-index:2;max-width:620px;padding:0 6%;color:#fff}
.hero-content h1{font-size:clamp(2.4rem,6vw,4.6rem);line-height:1.05;margin-bottom:22px}
.hero-content p{font-weight:300;font-size:1.05rem;margin-bottom:32px;opacity:.92}
.hero-btns{display:flex;gap:16px;flex-wrap:wrap}

/* ===== BUTTONS ===== */
.btn{padding:13px 30px;border-radius:50px;font-weight:500;transition:.3s;cursor:pointer;
  display:inline-block;border:1px solid transparent}
.btn-primary{background:var(--gold);color:#0a1428}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(201,169,110,.45)}
.btn-ghost{border-color:#fff;color:#fff}
.btn-ghost:hover{background:#fff;color:var(--navy)}

/* ===== SECTIONS ===== */
.section-title{text-align:center;font-size:clamp(1.8rem,4vw,2.6rem);color:var(--navy);margin-bottom:42px}
.experience{padding:90px 6%}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px;max-width:1100px;margin:0 auto}
.card{background:#fff;padding:40px 28px;border-radius:var(--radius);box-shadow:var(--shadow);
  text-align:center;transition:.35s;border:1px solid #f0ece4}
.card:hover{transform:translateY(-10px)}
.card-ico{font-size:2.6rem;margin-bottom:16px}
.card h3{color:var(--navy);margin-bottom:10px}
.card p{font-weight:300;font-size:.95rem}
.about{padding:60px 6% 100px;max-width:820px;margin:0 auto;text-align:center}
.about p{font-weight:300;font-size:1.1rem}

/* ===== REVEAL ANIMATION ===== */
.reveal{opacity:0;transform:translateY(40px);transition:.8s}
.reveal.show{opacity:1;transform:none}
.fade-up{opacity:0;transform:translateY(30px);animation:fadeUp .9s forwards}
.delay-1{animation-delay:.25s}.delay-2{animation-delay:.5s}
@keyframes fadeUp{to{opacity:1;transform:none}}

/* ===== GALLERY ===== */
.gallery-wrap,.admin-wrap{padding:120px 6% 70px;min-height:80vh}
.gallery-tools{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;max-width:1200px;margin:0 auto 30px}
#search{padding:12px 18px;border:1px solid #ddd;border-radius:50px;width:280px;font-family:inherit}
.filters{display:flex;gap:10px}
.filter{padding:10px 22px;border:1px solid var(--gold);background:#fff;color:var(--navy);
  border-radius:50px;cursor:pointer;transition:.3s}
.filter.active,.filter:hover{background:var(--gold);color:#fff}
.gallery-layout{display:flex;gap:24px;max-width:1200px;margin:0 auto;align-items:flex-start}
.gallery-side{flex:0 0 30%;max-height:70vh;overflow-y:auto;border-radius:var(--radius);
  background:#faf8f4;padding:10px}
.gallery-side ul{list-style:none}
.media-item{display:flex;align-items:center;gap:12px;padding:10px;border-radius:12px;
  cursor:pointer;transition:.25s;margin-bottom:6px}
.media-item:hover,.media-item.active{background:#fff;box-shadow:var(--shadow)}
.thumb{width:54px;height:54px;border-radius:10px;object-fit:cover;flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;background:var(--navy);color:#fff;font-size:1.4rem}
.media-name{flex:1;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.media-ico{opacity:.6}
.gallery-preview{flex:1;min-height:60vh;background:#0a1428;border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.gallery-preview img{max-height:70vh;transition:.4s}
.gallery-preview img:hover{transform:scale(1.08)}
.gallery-preview video{max-height:70vh;width:100%}

/* ===== ADMIN ===== */
.dropzone{max-width:1100px;margin:0 auto 24px;border:2px dashed var(--gold);border-radius:var(--radius);
  padding:50px;text-align:center;cursor:pointer;transition:.3s;background:#faf8f4}
.dropzone.drag{background:#f3ead9;transform:scale(1.01)}
.dropzone p{font-weight:500;margin-bottom:6px;color:var(--navy)}
.dropzone small{color:#888}
.upload-list{max-width:1100px;margin:0 auto 30px}
.up-row{background:#fff;border:1px solid #eee;border-radius:12px;padding:12px 16px;margin-bottom:8px}
.up-row .bar{height:6px;background:#eee;border-radius:6px;margin-top:8px;overflow:hidden}
.up-row .bar i{display:block;height:100%;width:0;background:var(--gold);transition:.2s}
.sub-title{text-align:center;color:var(--navy);margin:40px 0 24px;font-family:'Playfair Display',serif}
.admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px;max-width:1200px;margin:0 auto}
.admin-card{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:.3s}
.admin-card:hover{transform:translateY(-6px)}
.admin-card img,.admin-card video{width:100%;height:160px;object-fit:cover}
.admin-card-name{padding:10px 12px;font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-actions{display:flex;border-top:1px solid #f0f0f0}
.act{flex:1;text-align:center;padding:10px;cursor:pointer;background:none;border:none;font-size:1rem;transition:.2s}
.act:hover{background:#faf8f4}
.act.del:hover{background:#ffe9e9}

/* ===== EMPTY / LOADER ===== */
.empty-state{text-align:center;padding:60px;color:#999;font-size:1.1rem}
.loader{width:46px;height:46px;border:4px solid rgba(255,255,255,.25);border-top-color:var(--gold);
  border-radius:50%;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* ===== FOOTER ===== */
.footer{background:var(--navy);color:#fff;padding:60px 6% 24px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:30px;max-width:1100px;margin:0 auto 30px}
.footer h3{color:var(--gold);font-size:1.4rem}
.footer-link{display:inline-flex;align-items:center;gap:8px;color:#ddd;font-size:.9rem;transition:.3s}
.footer-link:hover{color:var(--gold)}
.footer-link.wa{font-weight:500}
.copyright{text-align:center;border-top:1px solid rgba(255,255,255,.1);padding-top:20px;font-size:.8rem;opacity:.7}

/* ===== CHAT WIDGET ===== */
.chat-widget{position:fixed;right:22px;bottom:22px;width:58px;height:58px;border-radius:50%;
  background:var(--gold);color:#0a1428;display:flex;align-items:center;justify-content:center;
  font-size:1.6rem;box-shadow:0 8px 24px rgba(0,0,0,.3);z-index:60;transition:.3s}
.chat-widget:hover{transform:scale(1.12) rotate(8deg)}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  .burger{display:flex}
  .navbar nav{position:fixed;top:64px;right:-100%;flex-direction:column;background:var(--navy);
    width:60%;height:100vh;padding:30px;transition:.4s}
  .navbar nav.open{right:0}
  .navbar nav a{margin:14px 0;display:block}
  .gallery-layout{flex-direction:column}
  .gallery-side{flex:1 1 100%;width:100%;max-height:none;display:flex;overflow-x:auto}
  .gallery-side ul{display:flex;gap:8px}
  .media-item{flex-direction:column;min-width:90px;text-align:center}
  .hero-content{max-width:100%}
}
