/* variables and imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  --primary-color: #FBB03B; /* Matte Gold / Orange */
  --accent-color: #e59c27; /* Darker Gold / Orange */
  --primary-dark: #b87a1d;
  --bg-color: #ffffff;
  --bg-light: #F4F5F7;
  --text-dark: #222222; /* Graphite Anthracite */
  --text-light: #ffffff;
  --text-muted: #555555;
  --header-bg: rgba(34, 34, 34, 0.95);
  
  --font-primary: 'Inter', sans-serif;
  --font-accent: 'Playfair Display', serif;
  
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.75;
  font-size: 1.1rem;
  font-weight: 400;
}

/* Typography elements */
.accent-title {
  font-family: var(--font-accent);
  color: var(--primary-color);
  font-size: 2.5rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.section {
  padding: 80px 5%;
}
.section-dark {
  background-color: var(--text-dark);
  color: var(--text-light);
}
.section-dark h2 {
  color: var(--text-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.logo span {
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 400;
  letter-spacing: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: var(--transition);
}

nav a:hover, nav a.active {
  color: var(--primary-color);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header-email {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-email i {
  color: var(--primary-color);
}

.header-email:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.header-phone {
  text-decoration: none;
  color: var(--text-dark);
  background: var(--primary-color);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(251, 176, 59, 0.3);
}

.header-phone:hover {
  background: #ffffff;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 176, 59, 0.4);
}

@media (max-width: 1250px) {
  /* .header-email span { display: none; } */
}

@media (max-width: 1100px) {
  nav ul { gap: 15px; }
  .header-phone span { display: none; }
  .header-phone { padding: 8px; width: 40px; height: 40px; justify-content: center; }
  /* .header-email { display: none; } */
}

@media (max-width: 900px) {
  .header-phone { display: none; } /* Hide on small mobile to avoid overlap */
}

.lang-switch {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

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

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
  transform: scale(1.1);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 800px;
  animation: fadeIn 1s ease-out;
}

.hero .accent-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-style: normal;
  margin-bottom: 15px;
}

.hero h1 {
  font-family: var(--font-accent);
  font-size: 4.5rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 25px;
  line-height: 1.15;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 40px;
}

.btn, .btn-outline {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: #111111;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(251, 176, 59, 0.4);
}

.btn:hover, .btn-outline:hover {
  background: #112A46;
  color: #ffffff;
  border-color: #112A46;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(17, 42, 70, 0.4);
}

/* About Section & Galaxy Visual */
.about {
  padding: 100px 5%;
}
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
@media (max-width: 900px) {
  .about-container { flex-direction: column; text-align: center; }
  .about-container h2, .about-container p { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
}
.about-content {
  flex: 1;
}
.about-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  font-weight: 400;
  line-height: 1.8;
}
.about-visual {
  flex: 1;
  width: 100%;
}
.galaxy-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.galaxy-wrapper::before {
  content: '';
  position: absolute;
  top: 10%; left: 10%; width: 80%; height: 80%;
  border: 1px dashed rgba(251, 176, 59, 0.5); /* Glowing gold orbit path */
  border-radius: 50%;
  z-index: 0;
}
.galaxy-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 170px; height: 170px;
  background: var(--bg-light);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  border: 4px solid var(--primary-color);
  overflow: hidden;
  animation: pulse-glow 3s infinite ease-in-out;
}
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(251, 176, 59, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(251, 176, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 176, 59, 0); }
}
.galaxy-center img {
  width: 100%; height: 100%; object-fit: cover;
}
.galaxy-orbit {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  animation: spin 35s linear infinite;
  z-index: 5;
}
.orbit-item {
  position: absolute;
  width: 85px; height: 85px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  background: var(--bg-color);
  animation: rev-spin 35s linear infinite;
}
.orbit-item img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Distribute 6 items on the orbit manually */
.orbit-item:nth-child(1) { top: -2%; left: 50%; margin-left: -42px; margin-top: -42px; }
.orbit-item:nth-child(2) { top: 25%; left: 95%; margin-left: -42px; margin-top: -42px; }
.orbit-item:nth-child(3) { top: 75%; left: 95%; margin-left: -42px; margin-top: -42px; }
.orbit-item:nth-child(4) { top: 102%; left: 50%; margin-left: -42px; margin-top: -42px; }
.orbit-item:nth-child(5) { top: 75%; left: 5%; margin-left: -42px; margin-top: -42px; }
.orbit-item:nth-child(6) { top: 25%; left: 5%; margin-left: -42px; margin-top: -42px; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes rev-spin { 100% { transform: rotate(-360deg); } }

/* Services */
.services {
  background-color: var(--bg-light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-color);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-10px);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* References */
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.ref-card {
  padding: 35px;
  background: #ffffff;
  border-radius: 4px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ref-card:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.ref-date {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ref-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Blurred Banner */
.blur-banner {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
}
.blur-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1;
}
.blur-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.blur-banner h2 {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 80px 5% 20px;
  background-image: url('data:image/svg+xml;utf8,<svg opacity="0.05" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="white" stroke-width="2" fill="none"/></svg>');
  background-size: 300px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-info h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}
.footer-info p {
  margin-bottom: 15px;
  color: #aaaaaa;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-form input, .footer-form textarea {
  padding: 15px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-dark);
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1rem;
}
.footer-form input::placeholder, .footer-form textarea::placeholder {
  color: #888888;
}
.footer-form input:focus, .footer-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.3);
}
.footer-form textarea {
  height: 120px;
  resize: none;
}
.footer-form button {
  cursor: pointer;
  align-self: flex-start;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  header {
    background: var(--header-bg);
  }
  nav ul {
    display: none; /* simple mobile hide for now */
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-color);
  color: var(--text-dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--text-dark);
  color: var(--primary-color);
  transform: translateY(-5px);
}

/* Modal and Gallery Grid */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 10, 10, 0.95);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1; visibility: visible;
}
.modal-content {
  background: var(--bg-color);
  width: 90%; max-width: 1200px; max-height: 90vh;
  border-radius: 8px; overflow-y: auto;
  position: relative; padding: 40px;
  transform: translateY(50px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute; top: 20px; right: 30px;
  font-size: 2.5rem; color: var(--text-dark);
  cursor: pointer; transition: var(--transition);
  line-height:1;
}
.modal-close:hover { color: var(--primary-color); }
.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px; margin-top: 10px;
}
.modal-gallery-grid img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 4px; transition: var(--transition);
}
.modal-gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: translateY(-5px) rotate(8deg) scale(1.1);
  background: #20ba5a;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
  position: absolute;
  left: 75px;
  background: #222;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.whatsapp-tooltip::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 8px 8px 0;
  border-style: solid;
  border-color: transparent #222 transparent transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  left: 80px;
}

/* Pulsing effect */
.whatsapp-float::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: wa-pulse 2s infinite;
}

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

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}
