/* ============================================
   FIGUEIRA LIMOUSINES - Modern Luxury Design
   ============================================ */

/* CSS Variables for consistent theming */
:root {
  --gold: #D4AF37;
  --gold-light: #F4E4BC;
  --gold-dark: #B8960C;
  --black: #0a0a0a;
  --black-soft: #1a1a1a;
  --white: #ffffff;
  --white-muted: rgba(255, 255, 255, 0.7);
  --white-faint: rgba(255, 255, 255, 0.3);
  --overlay: rgba(0, 0, 0, 0.6);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  --header-height: 80px;
  --container-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background with overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/background.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  z-index: -2;
  /* Improve rendering on high-DPI screens */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--gold);
}

h5 {
  font-size: 1.1rem;
  color: var(--white-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: var(--font-body);
  font-weight: 500;
}

p {
  font-size: 1rem;
  color: var(--white-muted);
  line-height: 1.8;
}

a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 100%);
  z-index: 1000;
  transition: background var(--transition-smooth);
}

header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Header Logo */
.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 50px;
  width: auto;
  transition: transform var(--transition-fast);
}

.header-logo:hover img {
  transform: scale(1.05);
}

header nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.5rem 1.25rem;
  position: relative;
  color: var(--white);
  transition: all var(--transition-fast);
}

header a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition-smooth);
  transform: translateX(-50%);
}

header a:hover::after,
header a.active::after {
  width: 80%;
}

header a:hover {
  color: var(--gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--header-height) + 2rem) 2rem 4rem;
  text-align: center;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn,
.button,
.custom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:hover,
.button:hover,
.custom-button:hover {
  background-position: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
  color: var(--black);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

/* Glow button effect */
.glow-button {
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
  }
}

/* Main button wrapper (for index page) */
main .button {
  margin-top: 2rem;
}

main .button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  border-radius: 50px;
  transition: all var(--transition-smooth);
}

main .button a:hover {
  background-position: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
  color: var(--black);
}

/* ============================================
   GLASS CARDS
   ============================================ */

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  width: 100%;
  padding: 2rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

footer.absolute {
  position: relative;
  margin-top: auto;
}

footer p {
  font-size: 0.85rem;
  color: var(--white-faint);
}

footer a {
  font-size: 0.85rem;
  color: var(--white-faint);
  font-family: var(--font-body);
  transition: color var(--transition-fast);
}

footer a:hover {
  color: var(--gold);
}

/* ============================================
   RESPONSIVE MESSAGE (hidden by default)
   ============================================ */

p.responsive {
  display: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-gold {
  color: var(--gold);
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Staggered animations */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================
   SCROLL REVEAL
   ============================================ */

[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
}
