/* Kurt Karl Designs - Luxury Landscape Design */

/* ========================================
   CSS Variables & Base
   ======================================== */
:root {
  --color-bg: #0a0a0a;
  --color-bg-light: #141414;
  --color-copper: #c49e7b;
  --color-copper-light: #d4b08c;
  --color-white: #ffffff;
  --color-gray: #888888;
  --color-gray-light: #cccccc;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  font-weight: 300;
  color: var(--color-gray-light);
}

/* ========================================
   Layout
   ======================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

section {
  padding: 100px 0;
}

/* ========================================
   Header & Navigation
   ======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 25px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 5%;
}

header.scrolled .logo {
  height: 55px;
}

.logo {
  height: 70px;
  width: auto;
  display: flex;
  align-items: center;
}

.logo svg {
  height: 100%;
  width: auto;
  overflow: visible;
}

nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav a {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  transition: var(--transition);
  position: relative;
}

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

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--color-copper);
}

.nav-cta {
  padding: 12px 24px;
  border: 1px solid var(--color-copper);
  color: var(--color-copper);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--color-copper);
  color: var(--color-bg);
}

.nav-cta::after {
  display: none;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 1px;
  background: var(--color-white);
  transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 100px;
  overflow: hidden;
}

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

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg > img {
  animation: subtlePan 10s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes subtlePan {
  0% {
    transform: scale(1.05) translate(0%, 0%);
  }
  100% {
    transform: scale(1.08) translate(-1.5%, -1%);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.1) 40%,
    rgba(10, 10, 10, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 5%;
}

.hero-content h1 {
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--color-gray-light);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-cta {
  display: inline-block;
  padding: 15px 35px;
  border: 1px solid var(--color-copper);
  color: var(--color-copper);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
}

.hero-cta:hover {
  background: var(--color-copper);
  color: var(--color-bg);
}

/* ========================================
   Featured Projects Section
   ======================================== */
.featured-projects {
  background: var(--color-bg);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-header h2 {
  color: var(--color-white);
}

.section-link {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-copper);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.section-link:hover {
  gap: 15px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-card-overlay {
  transform: translateY(0);
  opacity: 1;
}

.project-card h3 {
  color: var(--color-white);
  margin-bottom: 5px;
}

.project-card span {
  font-size: 0.85rem;
  color: var(--color-copper);
  letter-spacing: 0.05em;
}

/* Large featured project */
.project-card.large {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

/* ========================================
   About Teaser Section
   ======================================== */
.about-teaser {
  background: var(--color-bg-light);
}

.about-teaser .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 30px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-stats {
  display: flex;
  gap: 50px;
  margin-top: 40px;
}

.stat {
  text-align: left;
}

.stat-number {
  font-size: 3rem;
  font-weight: 200;
  color: var(--color-copper);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 10px;
}

.about-image {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   Services Preview
   ======================================== */
.services-preview {
  background: var(--color-bg);
  text-align: center;
}

.services-preview h2 {
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-item {
  display: block;
  padding: 50px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.service-item:hover {
  border-color: var(--color-copper);
  transform: translateY(-5px);
}

.service-item h3 {
  color: var(--color-copper);
  margin-bottom: 20px;
}

.service-item p {
  font-size: 0.95rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  background: var(--color-bg-light);
  text-align: center;
  padding: 120px 0;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 500px;
  margin: 0 auto 40px;
}

.btn-primary {
  display: inline-block;
  padding: 18px 45px;
  background: var(--color-copper);
  color: var(--color-bg);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--color-copper-light);
}

/* ========================================
   Footer
   ======================================== */
footer {
  background: var(--color-bg);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-column h4 {
  color: var(--color-copper);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  font-size: 0.9rem;
  color: var(--color-gray-light);
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--color-copper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-gray);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
  padding: 100px 0;
  background: var(--color-bg-light);
}

.testimonials-section h2 {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.testimonial-card {
  padding: 40px;
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 4rem;
  color: var(--color-copper);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-gray-light);
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author-info h4 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 5px;
}

.testimonial-author-info span {
  font-size: 0.85rem;
  color: var(--color-copper);
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 30px;
  }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .projects-grid {
    gap: 20px;
  }

  .about-teaser .container {
    gap: 50px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: var(--transition);
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding-bottom: 60px;
  }

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

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card.large {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .project-card-overlay {
    transform: translateY(0);
    opacity: 1;
  }

  .about-teaser .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
    aspect-ratio: 16/9;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  section {
    padding: 60px 0;
  }

  .about-stats {
    flex-direction: column;
    gap: 30px;
  }
}

/* ========================================
   Project Page Styles
   ======================================== */
.project-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
}

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

.project-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.2) 50%,
    rgba(10, 10, 10, 0.8) 100%
  );
}

.project-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 5%;
}

.project-hero-content .back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-copper);
  margin-bottom: 20px;
  transition: var(--transition);
}

.project-hero-content .back-link:hover {
  gap: 15px;
}

.project-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.project-hero-content .project-location {
  font-size: 1.1rem;
  color: var(--color-copper);
  letter-spacing: 0.1em;
}

/* Project Details */
.project-details {
  padding: 80px 0;
  background: var(--color-bg);
}

.project-details .container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
}

.project-description h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--color-white);
}

.project-description p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.project-meta {
  padding: 40px;
  background: var(--color-bg-light);
  height: fit-content;
}

.meta-item {
  margin-bottom: 30px;
}

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

.meta-item h4 {
  color: var(--color-copper);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.meta-item p {
  color: var(--color-gray-light);
  font-size: 1rem;
}

/* Project Gallery */
.project-gallery {
  padding: 0 0 100px;
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.wide img {
  aspect-ratio: 21/9;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.tall img {
  aspect-ratio: 3/4;
  height: 100%;
}

/* Related Projects */
.related-projects {
  padding: 80px 0;
  background: var(--color-bg-light);
}

.related-projects h2 {
  margin-bottom: 50px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Project Page Responsive */
@media (max-width: 1024px) {
  .project-details .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .meta-item {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .project-hero {
    height: 60vh;
    min-height: 400px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item.wide img,
  .gallery-item.tall img {
    aspect-ratio: 4/3;
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}
