/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #121212; color: #fff; line-height: 1.6; min-height: 100vh; }

/* Navbar */
nav { position: fixed; top: 0; left: 0; width: 100%; background: #1e1e1e; display: flex; align-items: center; justify-content: space-between; padding: 10px 25px; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.5); }
nav .logo { display: flex; align-items: center; gap: 10px; color: #00bfae; font-weight: 700; font-size: 1.4em; flex-shrink: 0; margin-left: -6px; }
nav .logo img { height: 40px; width: auto; display: block; }
nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; align-items: center; }
nav ul li a { text-decoration: none; color: #fff; font-weight: 600; transition: color 0.3s; }
nav ul li a:hover { color: #00bfae; }
nav ul li a.active-link { color: #fff; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; }
.hamburger div { width: 25px; height: 3px; background: #fff; transition: all 0.3s ease; }
.hamburger.open div:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open div:nth-child(2) { opacity: 0; }
.hamburger.open div:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
@media(max-width:768px) {
  nav ul { position: fixed; top: 60px; left: -100%; flex-direction: column; width: 100%; background: #1e1e1e; gap: 15px; padding: 20px; transition: left 0.3s ease; z-index: 999; }
  nav ul.active { left: 0; }
  .hamburger { display: flex; margin-right: -3px; }
}

/* Main Content */
.terms-container { max-width: 1000px; margin: 120px auto 80px auto; padding: 0 20px; }
.terms-container h1 { font-size: 2.8em; color: #00bfae; text-align: center; margin-bottom: 40px; }
.terms-container h2, .terms-container h3 { color: #00bfae; margin-top: 30px; margin-bottom: 15px; font-weight: 600; }
.terms-container p { color: #ccc; font-size: 1em; margin-bottom: 15px; }
.tick-list { list-style: none; padding-left: 0; }
.tick-list li::before { content: "✔"; color: #00bfae; margin-right: 10px; }
.contact-list { list-style: none; padding-left: 0; }
.contact-list li { margin-bottom: 10px; }
.contact-list li i { margin-right: 8px; color: #00bfae; }
.terms-container a { color: #00bfae; text-decoration: underline; }

/* Owner Card */
.owner-card { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; margin-top: 20px; background: #1e1e1e; border-radius: 12px; padding: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.5); }
.owner-card img { width: 150px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.owner-info { display: flex; flex-direction: column; flex: 1; }
.owner-info h3 { color: #00bfae; margin-bottom: 10px; }
.owner-info p { color: #ccc; margin-bottom: 10px; }
.owner-info button { background: linear-gradient(90deg,#00bfae,#00a8ff); border: none; color: #fff; padding: 8px 14px; border-radius: 8px; cursor: pointer; font-weight: 600; transition: all 0.3s ease; margin-bottom: -15px; }
.owner-info button:hover { opacity: 0.9; }

/* Owner Details */
.owner-details {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, margin 0.5s ease;
  margin-top: 5px; /* reduced from 0 to 5px for smaller space below owner info */
}
.owner-details.show {
  max-height: 500px;
  margin-top: 15px; /* space when expanded */
}
/* Owner Social Links – Grey + No Underline */
.owner-details .contact-list li a {
  color: #ccc !important;        /* grey */
  text-decoration: none !important; /* remove underline */
}

.owner-details .contact-list li a:hover {
  color: #00bfae !important;   /* optional green hover – remove if you don’t want */
}


/* Footer */
footer { background:#1e1e1e; color:#ccc; padding:40px 20px; font-family:'Inter',sans-serif; }
.footer-grid { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fit, minmax(250px,1fr)); gap:30px; }
footer h3 { color:#00bfae; margin-bottom:12px; }
footer ul { list-style:none; padding:0; line-height:1.8; }
footer ul li a, footer p a { color:#ccc; text-decoration:none; }
.footer-bottom { margin-top:40px; border-top:1px solid #333; padding-top:20px; text-align:center; font-size:0.85em; line-height:1.5; }
.footer-bottom p { color:#888; margin:0; }
.social-icons a { color:#888; margin:0 8px; font-size:1.2em; }

@media (max-width:768px) {
  .terms-container h1 { font-size: 2em; }
  .terms-container h2, .terms-container h3 { font-size: 1.2em; }
  .terms-container p, .terms-container ul li { font-size: 0.95em; }
}
