/* ==========================
   DESIGN SYSTEM (PRO LEVEL)
========================== */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255,255,255,0.12);
  --text-primary: #ffffff;
  --text-muted: rgba(255,255,255,0.7);

  --accent: #38bdf8;
  --success: #25D366;

  --radius: 16px;
  --transition: all 0.3s ease;
}

/* ==========================
   RESET
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==========================
   BODY
========================== */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  color: var(--text-primary);
  overflow-x: hidden;

  opacity: 0;
  transition: opacity 0.8s ease;
}

body.loaded {
  opacity: 1;
}

/* ==========================
   NAVBAR
========================== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.nav-scrolled {
  background: rgba(0,0,0,0.9) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

/* LOGO */
.logo {
  height: 42px;
  z-index: 2;
}

/* PREMIUM LOGO BOX */
.logo-box {
  position: relative;
  padding: 8px 16px;
  border-radius: var(--radius);

  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);

  box-shadow:
    0 8px 25px rgba(0,0,0,0.5),
    inset 0 1px 1px rgba(255,255,255,0.2);

  transition: var(--transition);
  overflow: hidden;
}

.logo-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.6s;
}

.logo-box:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 15px 40px rgba(0,0,0,0.7),
    0 0 20px rgba(56,189,248,0.3);
}

.logo-box:hover::before {
  left: 100%;
}

/* ==========================
   HERO
========================== */
.hero {
  position: relative;
  height: 100vh;
  background: url('images/hero1.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.85));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.title {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ==========================
   BUTTONS
========================== */
.btn {
  border-radius: 12px;
  transition: var(--transition);
}

.btn-light {
  background: #ffffff;
  color: #000;
}

.btn-light:hover {
  background: #e2e8f0;
}

.btn-success {
  background: linear-gradient(45deg, var(--success), #1ebe5d);
  border: none;
}

.btn-success:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(37,211,102,0.4);
}

/* ==========================
   CARDS
========================== */
.premium-card {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffffa9;

  overflow: hidden;
  transition: var(--transition);
}

.premium-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.premium-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

/* ==========================
   NAV LINKS
========================== */
.nav-link {
  margin-left: 20px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent) !important;
}

.active-link {
  color: var(--accent) !important;
  font-weight: 600;
}

/* ==========================
   GLOBAL ELEMENTS
========================== */
img {
  border-radius: 14px;
}

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

/* ==========================
   FOOTER
========================== */
.footer {
  padding: 25px;
  background: #020617;
  margin-top: 50px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================
   WHATSAPP FLOAT
========================== */
.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;

  background: linear-gradient(45deg, #25D366, #128C7E);
  padding: 16px;
  border-radius: 50%;

  font-size: 22px;
  color: white;

  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  transition: var(--transition);
  z-index: 1000;
}

.whatsapp:hover {
  transform: scale(1.15);
}

/* ==========================
   ANIMATIONS
========================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================
   RESPONSIVE DESIGN
========================== */

/* Tablet */
@media (max-width: 992px) {
  .title {
    font-size: 42px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    background: url('images/hero1.jpg') center/cover no-repeat;
  }

  .title {
    font-size: 32px;
  }

  .subtitle {
    font-size: 16px;
  }

  .premium-card img {
    height: 180px;
  }

  .nav-link {
    display: block;
    margin: 10px 0;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .title {
    font-size: 26px;
  }

  .subtitle {
    font-size: 14px;
  }

  .whatsapp {
    padding: 12px;
    font-size: 18px;
  }
}
/* ==========================
   GALLERY PREMIUM
========================== */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

/* OVERLAY */
.gallery-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transition: 0.3s;
}

.gallery-card:hover .overlay {
  opacity: 1;
}

/* MODAL IMAGE */
.modal-content img {
  border-radius: 12px;
}

/* PREMIUM NAV BUTTON */
.nav-btn {
  position: relative;
  padding: 8px 18px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);

  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.nav-btn:hover {
  transform: translateY(-2px);
  color: #fff;

  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.15);
}

/* ACTIVE GLOW LINE */
.nav-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #38bdf8;
  transition: 0.3s;
  transform: translateX(-50%);
}

.nav-btn:hover::after {
  width: 60%;
}

.highlight-btn:hover {
  box-shadow: 0 10px 30px rgba(56,189,248,0.6);
  transform: scale(1.05);
}