:root{
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 18px;

  --primary: #1e4ed8;
  --primary-hover: #163db0;

  --danger: #dc2626;
  --danger-hover: #b91c1c;
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.detail-wrap{
  width: min(1100px, 92vw);
  margin: 32px auto 60px;
}

.back-link{
  display: inline-block;
  text-decoration: none;
  color: black;
  margin-bottom: 14px;
  font-weight: 600;
}
.back-link:hover{ color: var(--text); }

.detail-card{
  background: transparent;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 1px 30px; 
    color: #404040;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
}

.nav-links li a.navbaractive {
  color: blue;
}

.logo img{
    height: 100px;
    width: 100px;
    position: relative;
    display: inline-block;
}

.nav-links {
    display: flex;
    list-style: none !important;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none !important;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: gray;
    font-size: 17px;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover{
    color: blue;
    transition: 0.3s;
}

.dropdown {
    position: relative;
    list-style: none;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    background-color: white;
    border: 1px solid blue;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
    padding: 9px;
    position: relative;
    right: -10%;
}

.lang-btn img {
    border: 1px solid black;
}

.lang-btn span {
    color: blue;
    font-weight: bold;
    font-size: 14px;
    list-style: none;
}

.dropdown-content img {
    border: 1px solid black;
    width: 40px;
}

.dropdown-content {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    position: absolute;
    right: -11%;
    background-color: white;
    min-width: 161px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
    border-radius: 8px;
    border: 1px solid #ddd;
    z-index: 999;
}

.dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
}

.dropdown-content li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content li:last-child {
    border-bottom: none;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: 0.2s;
    border: 1px solid transparent; 
}

.dropdown-content a:hover {
    background-color: #D0DCFD;
    color: blue;
    border-color: blue; 
}


.dropdown:hover .lang-btn {
    background-color: #e4e6eb;
}

.site-footer {
    background-color: #020B40;
    color: white;
    padding: 48px 0 20px;
}

.footer-wrap {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    gap: 36px;
    grid-template-columns: 1.4fr 1.2fr 0.7fr 1fr;
    align-items: start;
    display: grid;
}

.footer-title {
    font-size: 22px;
    margin: 0 0 14px;
    font-weight: 800;
    color: white;
}

.footer-text {
    margin: 0;
    color: white;
    font-size: 14px;
}

.footer-text.small {
    font-size: 13px;
    color: white;
    font-weight: 500;
}

.footer-col {
    display: grid;
}

.footer-col .footer-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-list {
    list-style: none;
    display: grid;
    gap: 10px;
    text-decoration: none;
}

.footer-list li a{
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.footer-list a:hover {
    color: blue;
    transition: 0.10s ease-in-out;
}

.newsletter-box {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 12px 15px rgba(0,0,0,0.25);
}

.newsletter-form input {
    border: 1px solid rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    outline: none;
    margin: 20px 0;
}

.newsletter-form button {
    border: 1px solid #4361EE;
    background: #4361EE;
    border-radius: 10px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 700;
}

.newsletter-form button:hover {
    filter: brightness(1.08);
}

.footer-social {
    margin-top: 16px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.facebook {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #1877F2;
    border: none;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    font-size: 25px;
}

.youtube {
    font-size: 20px;
    display: grid;
    text-decoration: none;
    color: white;
    background: red;
    border-radius: 999px;
    height: 40px;
    width: 40px;
    place-items: center;
    transition: 0.3s ease-in-out;
}

.tiktok {
    background: black;
    border-radius: 999px;
    height: 40px;
    width: 40px;
    place-items: center;
    color: white;
    font-size: 20px;
    display: grid;
    text-decoration: none;
    font-size: 27px;
    transition: 0.3s ease-in-out;
}

.linkedin {
    color: white;
    text-decoration: none;
    background: #0A66C2;
    width: 40px;
    height: 40px;
    place-items: center;
    display: grid;
    border-radius: 999px;
    font-size: 22px;
    transition: 0.3s ease-in-out;
}

.instagram {
    height: 40px;
    width: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: white;
    transition: 0.3s ease-in-out;
    background: radial-gradient(
        #feda75,
        #fa7e1e,
        #962fbf,
        #4f5bd5
    )
}

.facebook:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
}

.youtube:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
}

.facebook:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
}

.instagram:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
}

.tiktok:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
}

.linkedin:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
}

.footer-bottom {
    width: 90%;
    max-width: 1300px;
    margin: 22px auto 0;
    text-align: center;
}

.footer-divider {
    background: white;
    color: white;
    height: 1px;
    width: 1250px;
    display: grid;
    margin-bottom: 20px;
    opacity: 70%;    
}

.footer-list li a.active {
    color: blue;
}

.detail-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: start;
}

/* LEFT */
.media-card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.03);
}

.media-frame{
  padding: 18px;
  background: #fff;
}

.detail-img{
  width: 100%;
  height: 360px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.meta{
  padding: 0 18px 18px;
}

.title{
  margin: 10px 0 6px;
  font-size: 24px;
  line-height: 1.2;
}

.desc{
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* RIGHT */
.spec-card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.03);
  padding: 18px;
}

.spec-title{
  margin: 2px 0 12px;
  font-size: 18px;
  font-weight: 800;
}

.spec-table-wrap{
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.spec-table{
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td{
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td{
  border-bottom: none;
}

.spec-table th{
  width: 42%;
  color: #111827;
  font-weight: 700;
  background: #fafafa;
}

.spec-table td{
  color: var(--muted);
  font-weight: 600;
}

/* Buttons */
.actions{
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .06s ease, background .15s ease, opacity .15s ease;
  user-select: none;
}

.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
}
.btn-primary:hover{ background: var(--primary-hover); }

.btn-danger{
  background: var(--danger);
  color: #fff;
  border-radius: 8px;
}
.btn-danger:hover{ background: var(--danger-hover); }

.btn[disabled]{
  opacity: .55;
  cursor: not-allowed;
}

/* Empty state */
.empty-state{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px){
  .detail-grid{
    grid-template-columns: 1fr;
  }
  .detail-img{
    height: 300px;
  }
  .actions{
    flex-direction: column;
  }
  .btn{
    width: 100%;
  }
}
