@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --primary-bg: #0A0A0A;
  --text-white: #FFFFFF;
  --accent-teal: #2C5F70;
  --accent-teal-dark: #1F434F;
  --accent-brown: #8B4513;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: 200ms ease-out;
  --transition-slow: 400ms ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

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

a:hover {
  color: var(--accent-teal);
}

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

ul { list-style: none; }

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }

.grid {
  display: grid;
  gap: 2rem;
}

@media(min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  h1 { font-size: 4rem; }
  h2 { font-size: 3rem; }
}

/* Header & Nav */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.site-header.scrolled {
  background-color: var(--primary-bg);
  box-shadow: 0 4px 6px rgba(0,0,0,0.5);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-lockup {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 0;
}

.logo-lockup:hover {
  color: var(--text-white);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.desktop-nav a.nav-link {
  font-weight: 500;
  position: relative;
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

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

.desktop-nav a.nav-link:hover::after,
.desktop-nav a.nav-link.active::after {
  width: 100%;
}

@media(min-width: 992px) {
  .desktop-nav { display: flex; }
}

/* Hamburger & Mobile Menu */
.hamburger {
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2001;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-white);
  transition: all var(--transition-fast);
}

@media(min-width: 992px) {
  .hamburger { display: none; }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent-teal);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--accent-teal-dark);
  color: var(--text-white);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(44, 95, 112, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid var(--text-white);
}

.btn-secondary:hover {
  background-color: var(--accent-teal);
  border-color: var(--accent-teal);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(44, 95, 112, 0.4);
}

/* Hero Sections */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-inner {
  min-height: 60vh;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* For parallax */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

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

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
  padding: 2rem;
}

/* Cards (Services/Projects/Team) */
.card {
  background-color: #111;
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-fast);
  border: 1px solid #222;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  border-color: var(--accent-teal);
}

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

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content p {
  flex: 1;
  color: #ccc;
  font-size: 0.95rem;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-teal);
  font-weight: 600;
  margin-top: 1rem;
}

.learn-more-link svg {
  transition: transform var(--transition-fast);
  width: 20px;
  height: 20px;
}

.learn-more-link:hover svg {
  transform: translateX(5px);
}

/* Feature/Why Choose Us Blocks */
.feature-block {
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition-fast);
}

.feature-block:hover {
  background: rgba(255,255,255,0.05);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background-color: rgba(44, 95, 112, 0.1);
  color: var(--accent-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

/* Testimonials Carousel */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding: 2rem 0;
  text-align: center;
}

.testimonial-slide {
  display: none;
  animation: fade-in var(--transition-slow);
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #fff;
}

.testimonial-slide cite {
  font-style: normal;
  font-weight: 600;
  color: var(--accent-teal);
  display: block;
  font-family: var(--font-body);
}

/* CTA Section */
.cta-section {
  background-color: var(--accent-teal);
  text-align: center;
  padding: 6rem 1.5rem;
}

.cta-section h2 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background-color: var(--text-white);
  color: var(--accent-teal);
}
.cta-section .btn-primary:hover {
  background-color: #f0f0f0;
}

/* Process Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  padding-left: 2rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background-color: var(--accent-teal);
}

.process-step {
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: -2.35rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--primary-bg);
  border: 3px solid var(--accent-teal);
}

@media(min-width: 768px) {
  .process-timeline {
    flex-direction: row;
    padding-left: 0;
    padding-top: 2rem;
  }
  .process-timeline::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 2px;
  }
  .process-step::before {
    top: -2.35rem;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Forms */
.contact-form {
  background-color: #151515;
  padding: 3rem;
  border-radius: 8px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #ccc;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #444;
  color: var(--text-white);
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-teal);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/* Contact Info specific */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--accent-teal);
  flex-shrink: 0;
}

/* Footer */
footer {
  background-color: #050505;
  padding: 4rem 0 2rem;
  border-top: 1px solid #222;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media(min-width: 768px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media(min-width: 1024px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  color: #aaa;
}

.footer-col ul a:hover {
  color: var(--accent-teal);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1a1a1a;
  color: var(--text-white);
  transition: all var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--accent-teal);
  transform: translateY(-3px);
}
.social-icons svg { width: 20px; height: 20px; fill: currentColor; }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #222;
  color: #777;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media(min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.legal-links a {
  color: #777;
  margin: 0 0.5rem;
}

.legal-links a:hover {
  color: var(--accent-teal);
}

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

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

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
