/*assets/css/style.css - Design System & Modern Responsive UI */

:root {
  --bg-dark: #090d16;
  --bg-card: rgba(18, 24, 40, 0.75);
  --bg-card-hover: rgba(26, 35, 58, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 242, 254, 0.4);
  
  --primary-accent: #4e6ef2;
  --cyan-accent: #00f2fe;
  --purple-accent: #9b51e0;
  --gold-accent: #ffb703;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --gradient-main: linear-gradient(135deg, #00f2fe 0%, #4e6ef2 50%, #9b51e0 100%);
  --gradient-gold: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(78, 110, 242, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-logo {
  font-family: 'Outfit', sans-serif;
}

/* Admin Quick Banner at Top */
.admin-bar {
  background: linear-gradient(90deg, #111827, #1e1b4b);
  border-bottom: 1px solid rgba(78, 110, 242, 0.4);
  padding: 0.5rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1001;
  font-size: 0.85rem;
}

.admin-bar-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-bar-content strong {
  color: var(--cyan-accent);
}

.admin-bar-actions {
  display: flex;
  gap: 0.5rem;
}

/* Header & Glass Navbar */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.8rem 1.5rem;
  transition: all 0.3s ease;
}

/* Push navbar down when admin bar is active */
body.admin-mode .navbar-header {
  top: 40px;
}

body.admin-mode .hero {
  padding-top: 8rem;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  color: var(--cyan-accent);
}

.logo-accent {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-tabs .tab {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-tabs .tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tabs .tab.active {
  color: #ffffff;
  background: rgba(78, 110, 242, 0.2);
  border: 1px solid rgba(78, 110, 242, 0.4);
  box-shadow: 0 0 12px rgba(78, 110, 242, 0.2);
}

.admin-nav-btn {
  background: var(--gradient-main);
  color: #fff;
  border: none;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.admin-nav-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section (2-Column Split Layout like Emplementer) */
.hero {
  position: relative;
  min-height: 88vh;
  padding: 7.5rem 1.5rem 4rem 1.5rem;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 75% 30%, rgba(78, 110, 242, 0.15) 0%, transparent 65%), var(--bg-dark);
  border-bottom: 1px solid var(--border-glass);
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-left {
  text-align: left;
}

.hero-left .badge-tag {
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-subtitle strong {
  color: var(--text-main);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-features-bar {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--cyan-accent);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-left .location-pills {
  justify-content: flex-start;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(78, 110, 242, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: rgba(18, 24, 40, 0.5);
}

.hero-banner-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(0, 242, 254, 0.3);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(78, 110, 242, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(78, 110, 242, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--cyan-accent);
  border: 1px solid rgba(0, 242, 254, 0.4);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background: rgba(0, 242, 254, 0.1);
  color: #fff;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.location-pills {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.location-pills span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.location-pills i {
  color: var(--gold-accent);
}

/* Sections & Cards */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.content-section {
  padding: 4rem 0;
}

.content-section:not(:last-child) {
  border-bottom: 1px solid var(--border-glass);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;

}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.admin-inline-add-btn {
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan-accent);
  border: 1px solid rgba(0, 242, 254, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-inline-add-btn:hover {
  background: var(--cyan-accent);
  color: #090d16;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

/* In-Card Admin Overlay Toolbar */
.card-admin-toolbar {
  display: flex;
  gap: 0.4rem;
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 10;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.6rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-admin-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.card-admin-btn.edit-btn:hover {
  color: var(--cyan-accent);
}

.card-admin-btn.delete-btn:hover {
  color: #ff6b6b;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.about-card .icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(78, 110, 242, 0.15);
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Work Grid & Video Container */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.work-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Placeholder shown when no video URL is set */
.video-placeholder {
  height: 200px;
  background: rgba(18, 24, 40, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-glass);
}

.video-placeholder i {
  font-size: 2.5rem;
  color: rgba(255, 0, 0, 0.3);
}


.work-card .card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-badge {
  align-self: flex-start;
  background: rgba(0, 242, 254, 0.1);
  color: var(--cyan-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.work-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.work-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Memories Section */
.memories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.memory-card {
  padding: 0;
  overflow: hidden;
}

.memory-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.memory-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-accent);
}

.memory-card .card-body {
  padding: 1.5rem;
}

/* Creations Section */
.creations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.creation-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.channel-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.icon-youtube { color: #ff0000; }
.icon-food { color: #ff9f1c; }
.icon-blog { color: #2ec4b6; }
.icon-web { color: #4e6ef2; }

.channel-handle {
  color: var(--cyan-accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.creation-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-wrapper {
  max-width: 750px;
  margin: 0 auto;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.contact-info-card p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-details-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(78, 110, 242, 0.15);
  color: var(--cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-details-list strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.contact-details-list a, .contact-details-list span {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.contact-details-list a:hover {
  color: var(--cyan-accent);
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
}

.social-links-grid {
  display: flex;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: var(--primary-accent);
  color: #fff;
  transform: translateY(-3px);
}

/* Modal Styles for Admin Portal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  background: #111827;
  border: 1px solid rgba(78, 110, 242, 0.3);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-icon {
  font-size: 2.5rem;
  color: var(--cyan-accent);
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-group input, .form-group textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-select option {
  background: #111827;
  color: #fff;
}

.form-group input:focus, .form-group textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--cyan-accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.error-msg {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 0.8rem;
  text-align: center;
}

.hidden {
  display: none !important;
}

.admin-posts-summary {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.admin-posts-summary h4 {
  margin-bottom: 1rem;
}

.admin-posts-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.admin-post-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.post-action-btns {
  display: flex;
  gap: 0.5rem;
}

/* Footer */
.site-footer {
  padding: 3rem 1.5rem;
  background: #05080f;
  border-top: 1px solid var(--border-glass);
  text-align: center;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.seo-keywords-footer {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.built-by-credit {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
}

.built-by-credit a {
  color: var(--cyan-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.built-by-credit a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive Mobile Navigation */
@media (max-width: 900px) {
  .mobile-toggle {
    display: block;
  }

  .nav-tabs {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: #090d16;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border-glass);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-tabs.open {
    clip-path: circle(140% at 100% 0);
  }

  .nav-tabs .tab {
    width: 100%;
    padding: 0.8rem 1rem;
  }

  .admin-nav-btn {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 6rem 1rem 3rem 1rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

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

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-actions, .hero-left .location-pills {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-banner-frame {
    max-width: 500px;
    margin: 0 auto;
  }
}
