/* style.css - Premium Dark Theme with Glassmorphism */

/* Root variables */
:root {
  --color-bg: #0a0a0a;
  --color-surface: rgba(255, 255, 255, 0.08);
  --color-primary: hsl(210, 60%, 55%); /* teal accent */
  --color-primary-hover: hsl(210, 60%, 65%);
  --color-text: #e0e0e0;
  --color-muted: #888;
  --font-primary: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

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

html, body {
  height: 100%;
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.container {
  width: min(90%, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-surface);
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}
.logo img {
  height: 40px;
  transition: var(--transition);
}
.logo img:hover {
  transform: scale(1.05);
}
.nav {
  display: flex;
}
.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav__link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 0.2rem 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}
.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger {
  width: 25px;
  height: 2px;
  background: var(--color-text);
  position: relative;
  transition: var(--transition);
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hero */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background: url('assets/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.8));
}
.hero__content {
  position: relative;
  text-align: center;
  max-width: 800px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-primary-hover);
}

/* Sections */
section {
  padding: 4rem 0;
}
section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}
section h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  display: block;
  margin: 0.5rem auto 0;
}

/* Services Grid */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.service-card {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.12);
}
.service-card h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* Map */
.map iframe {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: var(--color-muted);
}
.form-group input,
.form-group textarea {
  padding: 0.8rem;
  border: 1px solid var(--color-surface);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: var(--color-text);
  font-family: inherit;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255,255,255,0.08);
}

/* Footer */
.footer {
  background: rgba(10,10,10,0.95);
  padding: 2rem 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}
.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer__info p {
  margin: 0.3rem 0;
}
.footer__copy {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(10,10,10,0.95);
    flex-direction: column;
    width: 200px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0 0 8px 8px;
  }
  .nav.open {
    max-height: 500px;
    padding: 1rem 0;
  }
  .nav__list {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding-left: 1rem;
  }
  .nav-toggle {
    display: block;
  }
}
