/* Variable Definitions */
:root {
  --primary-gold: #D4AF37;
  --primary-gold-dim: #b8952b;
  --bg-dark: #121212;
  --bg-darker: #0a0a0a;
  --bg-card: rgba(30, 30, 30, 0.6);
  --text-main: #f5f5f5;
  --text-muted: #a0a0a0;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-gold);
  line-height: 1.2;
}

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

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

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-gold);
  color: var(--bg-dark);
  font-weight: 600;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--primary-gold);
}

.btn:hover {
  background: transparent;
  color: var(--primary-gold);
}

.btn-outline {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
}

.btn-outline:hover {
  background: var(--primary-gold);
  color: var(--bg-dark);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  /* Removed padding */
  height: 70px;
  /* Fixed small height */
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: all var(--transition-speed);
  display: flex;
  align-items: center;
}

header.scrolled {
  height: 60px;
  background: rgba(18, 18, 18, 1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  color: var(--text-main);
}

.logo {
  position: relative;
  z-index: 1001;
  width: 150px;
  /* Reserve space for flexibility */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 120px;
  width: auto;
  position: absolute;
  top: 0;
  /* Align with top of header, hanging down */
  left: 10px;
  /* Slight offset from edge */
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  margin-right: 20px;
  /* Ensure padding from right edge */
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-gold);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: fadeUp 1s ease-out;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
  color: #e0e0e0;
  animation: fadeUp 1s ease-out 0.2s backwards;
}

.hero-btn-group {
  animation: fadeUp 1s ease-out 0.4s backwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 50px;
  display: block;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 20px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  padding: 10px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-family: var(--font-heading);
  transition: all 0.3s;
}

.tab-btn.active {
  color: var(--primary-gold);
  border-bottom-color: var(--primary-gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  display: none;
  /* Hidden by default, shown by JS */
}

.services-grid.active {
  display: grid;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.service-card {
  background: var(--bg-card);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.price {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary-gold);
  font-size: 1.1rem;
}

/* About Section */
.about {
  background: var(--bg-darker);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 4px;
  box-shadow: -20px 20px 0 rgba(212, 175, 55, 0.1);
}

/* Contact / Location */
.contact {
  background-image: linear-gradient(to right, rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.8)), url('assets/services-bg.png');
  background-size: cover;
  background-attachment: fixed;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  margin-bottom: 20px;
  color: var(--text-main);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.info-item i {
  color: var(--primary-gold);
  font-size: 1.2rem;
  margin-top: 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-family: var(--font-body);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
}

/* Footer */
footer {
  background: #000;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.social-links a:hover {
  color: var(--primary-gold);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    background: var(--bg-darker);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 1001;
    /* Ensure it's above everything */
  }

  .nav-links.active {
    right: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .mobile-toggle {
    display: block;
    z-index: 1002;
    /* Button above visuals */
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
}