/* ========================================
   GLOBAL STYLES
   ======================================== */

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ========================================
   GRADIENT STYLES
   ======================================== */

.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* ========================================
   NAVBAR STYLES
   ======================================== */

.navbar-scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Dropdown hover effect */
.dropdown:hover .dropdown-menu {
  display: block !important;
}

/* Submenu hover effect */
[data-submenu-parent]:hover [data-submenu] {
  display: block !important;
}

/* Dropdown menu z-index */
.dropdown-menu {
  z-index: 50;
}

[data-submenu] {
  z-index: 51;
}

/* ========================================
   LIGHTBOX STYLES
   ======================================== */

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img,
.lightbox video {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border-radius: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #ddd;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.play-icon:hover {
  background-color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-icon i {
  color: #667eea;
  font-size: 32px;
  margin-left: 8px;
}

/* Gallery image container */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   TAB STYLES
   ======================================== */

.tab-btn {
  padding: 0.5rem 1.5rem;
  background-color: transparent;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #4b5563;
}

.tab-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.tab-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
}

/* ========================================
   FLOATING CONTACT BAR STYLES
   ======================================== */

.contact-bar {
  position: fixed;
  right: 20px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}

.contact-bar a {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.contact-bar a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-bar a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* WhatsApp Button */
.contact-bar a[href*="wa.me"] {
  border-color: #25d366;
  background: linear-gradient(135deg, #25d366 0%, #20ba5c 100%);
}

.contact-bar a[href*="wa.me"] img {
  filter: brightness(0) invert(1);
}

/* Phone Button */
.contact-bar a.phone {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea 0%, #5568d3 100%);
}

.contact-bar a.phone {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-bar a.phone i {
  color: white;
  font-size: 24px;
}

/* Email Button */
.contact-bar a.email {
  border-color: #ff6b6b;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
}

.contact-bar a.email {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-bar a.email i {
  color: white;
  font-size: 24px;
}

/* Quotation Button */
.contact-bar button.quotation {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border: 2px solid #fbbf24;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0;
}

.contact-bar button.quotation:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-bar button.quotation i {
  color: white;
  font-size: 24px;
}

.contact-bar a.quotation {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-bar a.quotation i {
  color: white;
  font-size: 24px;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
  .contact-bar {
    right: 10px;
    bottom: 80px;
    gap: 10px;
  }

  .contact-bar a {
    width: 45px;
    height: 45px;
  }

  .contact-bar a i {
    font-size: 18px !important;
  }

  .lightbox img,
  .lightbox video {
    max-width: 95%;
    max-height: 85vh;
  }

  .play-icon {
    width: 60px;
    height: 60px;
  }

  .play-icon i {
    font-size: 24px;
  }
}
