@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #0a1128; /* Deep Navy */
  --bg-secondary: #001f54; 
  --accent-gold: #d4af37; /* Premium Gold */
  --accent-blue: #034078;
  --text-light: #f8f9fa;
  --text-muted: #ced4da;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --card-radius: 16px;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-light);
  overflow-x: hidden;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  box-shadow: var(--glass-shadow);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(10px);
  padding: 10px 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.05); /* Pre-scale for parallax */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 17, 40, 0.9) 0%, rgba(0, 31, 84, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  line-height: 1.3;
  animation: floatUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero h1 span {
  color: var(--accent-gold);
  font-size: 2.5rem;
  display: block;
  margin-top: 15px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  animation: floatUp 1s ease-out 0.3s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: floatUp 1s ease-out 0.6s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.btn {
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent-gold), #ffd700);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-light);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

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

/* Sections */
section {
  padding: 100px 5%;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto 60px auto;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background: var(--accent-gold);
  bottom: -15px;
  left: 20%;
}

/* 3D Cards Grid */
.grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  perspective: 1000px;
}

.card-3d {
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  transform: translateZ(-1px);
  pointer-events: none;
}

.card-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
  transform: translateZ(30px);
}

.card-3d h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  transform: translateZ(20px);
}

.card-3d p {
  color: var(--text-muted);
  transform: translateZ(10px);
}

/* Image Showcase Section */
.showcase {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.showcase.reverse {
  flex-direction: row-reverse;
}

.showcase-img {
  flex: 1;
  position: relative;
  perspective: 1000px;
}

.showcase-img img {
  width: 100%;
  border-radius: var(--card-radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.showcase-img:hover img {
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.showcase-content {
  flex: 1;
}

.showcase-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

/* SEO Badges */
.seo-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #ccc;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.seo-badge:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.floating-actions.visible {
  opacity: 1;
  pointer-events: auto;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.float-btn.whatsapp {
  background: #25D366;
}

.float-btn.phone {
  background: var(--accent-gold);
  color: #000;
}

.float-btn:hover {
  transform: scale(1.1) rotate(10deg);
}

.float-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  animation: pulse 2s infinite;
}

/* Footer */
footer {
  background: #050a17;
  padding: 60px 5% 20px;
  margin-top: 50px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--accent-gold);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes floatUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Add hamburger menu logic later if needed */
  }
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }
  .hero h1 span {
    font-size: 1.6rem;
    margin-top: 10px;
  }
  .showcase, .showcase.reverse {
    flex-direction: column;
  }
  .cta-buttons {
    flex-direction: column;
  }
}
