/* Base Styles & Variables */
:root {
  --bg-color: #0d0f12;
  --bg-secondary: #1a1d24;
  --text-primary: #f8f9fa;
  --text-secondary: #a0aab2;
  --accent-color: #d4af37; /* Gold accent */
  --accent-hover: #b5952f;
  --glass-bg: rgba(26, 29, 36, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --font-main: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

h2.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  font-family: var(--font-main);
}

.primary-btn {
  background: var(--accent-color);
  color: #000;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.primary-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.full-width {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 1rem 5%;
  background: rgba(13, 15, 18, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-color);
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
}

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

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

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Services Section */
.services {
  padding: 8rem 0;
  background: var(--bg-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  border-color: rgba(212, 175, 55, 0.3);
}

.service-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-info {
  padding: 1.5rem;
}

.service-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.service-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-color));
}

.about-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  margin: 1rem auto 2rem;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-features li {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--accent-color);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Contact Section */
.contact {
  padding: 8rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item .icon {
  color: var(--accent-color);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item h4 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--accent-color);
}

.input-group {
  margin-bottom: 1.5rem;
}

input, textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.08);
}

textarea {
  resize: vertical;
}

/* Footer */
footer {
  background: #000;
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-logo span {
  color: var(--accent-color);
  font-weight: 300;
}

.footer-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-color);
  color: #000;
  transform: translateY(-3px);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 2rem;
    transition: 0.4s ease-in-out;
    border-left: 1px solid var(--glass-border);
  }
  
  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }
  
  .hamburger.active .line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.active .line:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  h1 {
    font-size: 2.5rem;
  }
}

/* Modal Gallery */
.clickable-card {
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  color: var(--text-primary);
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.close-modal:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

#modalTitle {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  font-size: 1.8rem;
  text-align: center;
}

.gallery-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.gallery-image-wrapper {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vh;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
}

#galleryImage {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.gallery-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-btn:hover {
  background: var(--accent-color);
  color: #000;
}

.gallery-indicators {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--accent-color);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .gallery-image-wrapper {
    height: 40vh;
  }
  .gallery-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .modal-content {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  h2.section-title {
    font-size: 1.8rem;
  }
  .services, .about, .contact {
    padding: 4rem 0;
  }
  .contact-container {
    gap: 1.5rem;
  }
  .glass-card {
    padding: 1.5rem;
  }
  .gallery-image-wrapper {
    height: 30vh;
  }
  .gallery-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  .close-modal {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }
}
