:root {
  --gold: linear-gradient(135deg, #d4af37, #f5e6a6);
  --dark: #0a0a0a;
  --glass: rgba(255, 255, 255, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top, #111, #000);
  color: white;
  overflow-x: hidden;
}

/* HEADER & TOP BAR */
.top-info {
  background: rgba(0, 0, 0, 0.9);
  font-size: 0.75rem;
  padding: 10px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  letter-spacing: 1px;
}

header {
  text-align: center;
  padding: 40px 20px;
}

header h1 {
  font-family: "Playfair Display";
  font-size: 3rem;
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

header p {
  letter-spacing: 4px;
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  margin-top: 10px;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
  font-size: 0.9rem;
  text-transform: uppercase;
}

nav a:hover {
  color: #d4af37;
}

/* HERO */
.hero {
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=2000")
      center/cover;
  text-align: center;
  padding: 0 20px;
}

.hero h2 {
  font-family: "Playfair Display";
  font-size: 3.2rem; /* Matches your tests.html size */
  max-width: 900px;
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* The Glow Effect */
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
  
  /* Animation for a subtle "pulse" (Optional) */
  animation: gold-glow 4s ease-in-out infinite alternate;
}

@keyframes gold-glow {
  from { filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3)); }
  to { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6)); }
}

/* SECTIONS */
section {
  padding: 80px 20px;
  max-width: 1300px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-family: "Playfair Display";
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ABOUT CONTENT */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.profile-card {
  background: var(--glass);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.profile-card h3 {
  color: #f5e6a6;
  margin-top: 0;
}

/* FLIP CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Update the flip-card container to handle the scaling */
.flip-card {
  height: 350px;
  perspective: 1000px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Added for smooth entry */
}
.flip-card:hover {
  transform: scale(1.03); /* Subtle lift effect */
  z-index: 10; /* Ensures the scaled card stays on top of neighbors */
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); /* Slightly faster, smoother flip */
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.flip-back {
  background-color: #111;
  transform: rotateY(180deg);
}

.flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-label {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 20px;
  color: #f5e6a6;
  font-weight: 600;
  font-size: 1.1rem;
}
.flip-front {
  background: rgba(255, 255, 255, 0.03); /* Very subtle white tint */
  backdrop-filter: blur(12px); /* This creates the "frosted glass" effect */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
  text-align: center;
  
  /* A multi-layered border makes the "glass" look thinner and more premium */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05);
}
/* Optional: Add a subtle glow to the title inside the glass card */
.flip-front h3 {
  color: #f5e6a6;
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.flip-back {
  transform: rotateY(180deg);
}
.flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Update this in style.css */
.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* This centers the children horizontally */
  gap: 40px;
  background: var(--glass);
  padding: 60px 20px;
  border-radius: 30px;
  max-width: 900px; /* Constrains width to prevent stretching */
  margin: 0 auto; /* Centers the whole container on the page */
}

.info-list {
  text-align: center; /* Centers text for a cleaner look in a single column */
  width: 100%;
  max-width: 600px;
}


.info-list p {
  margin: 15px 0;
  opacity: 0.9;
}
.info-list strong {
  color: #f5e6a6;
}

input,
textarea,
select {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  color: white;
  border-radius: 5px;
}

.btn {
  padding: 15px 35px;
  background: var(--gold);
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}
#form-container {
  width: 100%;
  max-width: 600px; /* Keeps the form from getting too wide */
}

/* Ensure form elements take full width of their container */
#quoteForm {
  width: 100%;
}
/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  opacity: 0.6;
}

.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  z-index: 999;
}

@media (max-width: 768px) {
  .profile-grid,
  .contact-container {
    grid-template-columns: 1fr;
  }
}
/* HEADER LAYOUT */
.header-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Aligns content to the left */
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  gap: 30px;
}

.logo-link {
  flex-shrink: 0;
}

.main-logo {
  max-width: 120px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
  transition: transform 0.3s ease;
}

.main-logo:hover {
  transform: scale(1.05);
}

.header-text {
  text-align: left;
}

.header-text p {
  margin: 5px 0 0 0;
  letter-spacing: 3px;
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .header-text {
    text-align: center;
  }
} /* Centered Header Layout */
.header-container {
  display: grid;
  grid-template-columns: 150px 1fr 150px; /* Logo | Centered Text | Empty Spacer */
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px 20px;
}

.logo-link {
  justify-self: start;
}

.header-text {
  text-align: center;
}

.header-text h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.header-text p {
  margin: 8px 0 0 0;
  letter-spacing: 4px;
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
}

/* Mobile Responsiveness */
@media (max-width: 850px) {
  .header-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}
/* Left-Aligned Scroll Indicator */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 40px; /* Moves it to the far left */
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: 0.3s;
}

/* The Mouse Shape */
.scroll-down::after {
  content: "";
  width: 22px;
  height: 38px;
  border: 2px solid rgba(212, 175, 55, 0.5);
  border-radius: 20px;
  position: relative;
}

/* The Moving Dot */
.scroll-down::before {
  content: "";
  position: absolute;
  left: 8px; /* Positioned inside the ::after mouse shape */
  top: 8px;
  width: 6px;
  height: 6px;
  background: #f5e6a6;
  border-radius: 50%;
  animation: scroll-anim 2s infinite;
}

/* Optional text label to fill the space */
.scroll-down-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-lr; /* Rotates the text for a vertical luxury look */
  transform: rotate(180deg);
}

@keyframes scroll-anim {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

.scroll-down:hover::after {
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}
/* Input Group Container */
.input-group {
  position: relative;
  margin-bottom: 25px;
}

/* Base styles for inputs, textareas, and selects */
.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

/* The Floating Label */
.input-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

/* Logic: When input is focused or has content, move label up */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label,
.input-group select:focus ~ label,
.input-group select:valid ~ label {
  top: -10px;
  left: 10px;
  font-size: 0.75rem;
  color: #d4af37; /* Gold highlight when active */
  background: #0a0a0a; /* Matches your dark background */
  padding: 0 5px;
}

/* Active border color */
.input-group input:focus, 
.input-group textarea:focus, 
.input-group select:focus {
  border-color: #d4af37;
  outline: none;
}
/* Success Message Styling */
.success-message {
  text-align: center;
  padding: 40px;
  animation: fadeIn 0.6s ease forwards;
}

.success-icon {
  font-size: 3rem;
  color: #d4af37;
  margin-bottom: 20px;
  display: block;
}

.success-message h3 {
  font-family: "Playfair Display";
  font-size: 1.8rem;
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.success-message p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Testimonials Styling */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--glass);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.3);
}

.quote-icon {
  font-family: "Playfair Display";
  font-size: 4rem;
  color: #d4af37;
  line-height: 1;
  margin-bottom: -10px;
  opacity: 0.5;
}

.testimonial-card p {
  font-style: italic;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.testimonial-card h4 {
  color: #f5e6a6;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.testimonial-card span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
}
/* Container for the background effect */
.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Keeps it behind all content */
  background: radial-gradient(circle at top, #111, #000); /* Your base gradient */
  overflow: hidden;
}

/* The "Dust" particles */
.bg-particles::before,
.bg-particles::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: 
    radial-gradient(circle, rgba(212, 175, 55, 0.15) 1px, transparent 1px),
    radial-gradient(circle, rgba(245, 230, 166, 0.1) 1.5px, transparent 1.5px);
  background-size: 100px 100px, 150px 150px;
  background-position: 0 0, 50px 50px;
  animation: drift 60s linear infinite;
  opacity: 0.5;
}

.bg-particles::after {
  animation-duration: 90s;
  animation-direction: reverse;
  opacity: 0.3;
}

@keyframes drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Ensure sections are transparent enough to see the background */
section {
  position: relative;
  background: transparent;
}