/*
Theme Name: Bakken Modern
Theme URI: http://localhost:8080
Description: Premium landscaping portfolio theme
Version: 2.0
Author: Bakken Landscapes
Author URI: http://localhost:8080
License: GPL v2 or later
*/

:root {
  --primary: #1b4332;
  --primary-light: #2d6a4f;
  --primary-dark: #0b2618;
  --accent: #52b788;
  --accent-light: #74c69d;
  --warning: #d62828;
  --light-bg: #f1faee;
  --text-dark: #1a1a1a;
  --text-light: #555;
  --text-muted: #888;
  --border-radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: white;
  font-size: 16px;
}

/* Header & Navigation */
.site-header {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 3rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo:hover {
  opacity: 0.8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.header-phone {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  transition: all 0.3s ease;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(27, 67, 50, 0.18);
  background: rgba(255, 255, 255, 0.9);
}

.header-phone:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.header-cta {
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 8rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(82, 183, 136, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(82, 183, 136, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  opacity: 0.98;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--primary);
  padding: 1.1rem 3.4rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-lg);
  font-size: 1.02rem;
  line-height: 1;
  min-height: 60px;
  min-width: 244px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  background: var(--accent-light);
  color: white;
}

/* Internal Page Template */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 4.5rem 2rem;
  text-align: center;
}

.page-hero-content {
  max-width: 1000px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  letter-spacing: -0.6px;
}

.page-intro {
  max-width: 820px;
  margin: 1rem auto 0;
  font-size: 1.12rem;
  opacity: 0.95;
}

.page-body {
  padding: 3.5rem 2rem 5rem;
}

.page-container {
  max-width: 980px;
  margin: 0 auto;
}

.page-featured-image {
  margin: 0 0 2rem;
}

.page-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.page-content {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-dark);
}

.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--primary);
  line-height: 1.25;
  margin: 2rem 0 0.8rem;
}

.page-content p,
.page-content ul,
.page-content ol,
.page-content blockquote {
  margin: 0 0 1.1rem;
}

.page-content a {
  color: var(--primary-light);
  text-underline-offset: 2px;
}

.page-content img {
  max-width: 100%;
  height: auto;
}

.seo-refresh-content {
  display: grid;
  gap: 2rem;
}

.seo-section,
.seo-proof,
.seo-links,
.seo-faq,
.seo-gallery,
.seo-contact-info {
  background: #f9fcf9;
  border: 1px solid #e8f3ed;
  border-radius: var(--border-radius);
  padding: 1.6rem 1.5rem;
}

/* Contact info block */
.seo-contact-info {
  text-align: center;
  padding: 2rem 1.5rem;
}

.seo-phone-link {
  display: inline-block;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -1px;
  margin-bottom: 0.6rem;
  border: 3px solid var(--primary);
  padding: 0.5rem 2rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.seo-phone-link:hover {
  color: var(--accent);
}

.seo-service-area {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* Gallery grid */
.page-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.page-gallery-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  border: 1px solid #dfeee6;
}

.page-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-gallery-item figcaption {
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}

.seo-proof ul {
  margin: 0;
  padding-left: 1.2rem;
}

.seo-proof li {
  margin: 0.35rem 0;
}

.seo-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.seo-links-grid a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: white;
  border: 1px solid #dfeee6;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.seo-links-grid a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.seo-faq-item + .seo-faq-item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dfeee6;
}

.seo-faq-item h3 {
  margin: 0 0 0.45rem;
}

.cookie-footer-link a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  opacity: 0.7;
}

.cookie-footer-link a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Services Section */
.services {
  max-width: 1400px;
  margin: 5rem auto;
  padding: 0 3rem;
}

.services h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.services > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3.5rem;
}

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

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid #e8f3ed;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.98rem;
  margin-bottom: 1.05rem;
}

.service-link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 139, 99, 0.3);
  padding-bottom: 0.12rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.service-link:hover {
  color: var(--primary);
  border-color: rgba(15, 40, 24, 0.4);
}

/* Portfolio Section */
.portfolio {
  background: linear-gradient(135deg, var(--light-bg) 0%, #e8f5f0 100%);
  padding: 5rem 3rem;
}

.portfolio-content {
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.portfolio > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3.5rem;
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 280px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(27, 67, 50, 0.85), rgba(82, 183, 136, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay p {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* Features Section */
.features {
  max-width: 1400px;
  margin: 5rem auto;
  padding: 0 3rem;
}

.features h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3.5rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

.feature-box {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8f3ed;
  transition: all 0.35s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-box h3 {
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.feature-box p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.98rem;
}

/* Contact Form */
.contact-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(82, 183, 136, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(82, 183, 136, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.contact-section > p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.contact-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.1rem 1.3rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-button {
  background: white;
  color: var(--primary);
  border: none;
  padding: 1rem 2.6rem;
  border-radius: var(--border-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 0.5rem;
}

.submit-button:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--accent-light);
  color: white;
}

.contact-section .submit-button {
  min-width: 240px;
  min-height: 62px;
  padding: 1.12rem 3.2rem;
  font-size: 1.06rem;
  letter-spacing: 0.5px;
}

/* Footer */
.site-footer {
  background: #0f2818;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 5rem;
}

.site-footer p {
  margin: 0.5rem 0;
  opacity: 0.9;
}

.site-footer strong {
  color: var(--accent-light);
  font-weight: 700;
}

.site-footer-bottom {
  padding: 2rem;
  background: #0a0a0a;
  text-align: center;
  color: #999;
}

.site-footer-bottom p {
  margin: 0.55rem 0;
  line-height: 1.5;
}

.mobile-cta-bar {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-content {
    padding: 1rem 2rem;
    gap: 2rem;
  }

  .hero {
    padding: 6rem 2rem;
  }

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

@media (max-width: 768px) {
  body {
    padding-bottom: 82px;
  }

  .header-content {
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.9rem;
  }

  .logo {
    justify-content: center;
  }

  .header-actions {
    display: flex !important;
  }

  .hero {
    padding: 4rem 1.5rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .page-hero {
    padding: 3.2rem 1.2rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-intro {
    font-size: 1rem;
  }

  .page-body {
    padding: 2.2rem 1.2rem 4rem;
  }

  .page-content {
    font-size: 1rem;
    line-height: 1.8;
  }

  .seo-section,
  .seo-proof,
  .seo-links,
  .seo-faq {
    padding: 1.15rem;
  }

  .seo-links-grid {
    grid-template-columns: 1fr;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .services, .features, .portfolio {
    padding: 3rem 1.5rem;
  }

  .services h2,
  .portfolio h2,
  .features h2 {
    font-size: 2.1rem;
    line-height: 1.18;
    letter-spacing: -0.3px;
  }

  .features {
    margin: 3rem auto 1.25rem;
  }

  .features h2 {
    margin-bottom: 2rem;
  }

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

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

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

  .contact-section {
    padding: 2.4rem 1.15rem;
  }

  .contact-section h2 {
    font-size: 1.9rem;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 0.8rem;
  }

  .contact-section > p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto 1.2rem;
  }

  .contact-content .submit-button {
    display: none;
  }

  .site-footer {
    padding: 0;
    margin-top: 0;
  }

  .site-footer-bottom {
    padding: 1.35rem 1rem;
  }

  .site-footer-bottom p {
    font-size: 0.95rem;
  }

  .mobile-cta-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    padding: 0.7rem;
    background: rgba(15, 40, 24, 0.94);
    backdrop-filter: blur(8px);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  }

  .mobile-cta-bar a {
    text-decoration: none;
    text-align: center;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-size: 0.82rem;
  }

  .mobile-cta-call {
    background: white;
    color: var(--primary);
  }

}
