/* ══════════════════════════════════════════════════════════════════════
   Dolly & Divin Paint Ltd — Website Stylesheet
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --green:       #2d6a35;
  --green-dark:  #1e4a24;
  --green-light: #3d8a47;
  --gold:        #b8941f;
  --gold-light:  #d4ac35;
  --cream:       #f5f0e8;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1e293b;
  --gray-900:    #0f172a;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════════════════════
   Typography
   ══════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--green-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--green-light); }

/* ══════════════════════════════════════════════════════════════════════
   Header / Navigation
   ══════════════════════════════════════════════════════════════════════ */

.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green);
  box-shadow: 0 4px 12px rgba(45, 106, 53, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-link:hover {
  color: var(--green);
}

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

.nav-link.active {
  color: var(--green);
}

.btn-login-nav {
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  border: none;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(45, 106, 53, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-login-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 106, 53, 0.4);
  color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--green);
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Navigation */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .btn-login-nav {
    width: 100%;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Hero Section
   ══════════════════════════════════════════════════════════════════════ */

.hero {
  min-height: calc(100vh - 80px);
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 30, 16, 0.84) 0%, rgba(10, 30, 16, 0.58) 48%, rgba(10, 30, 16, 0.22) 100%);
  z-index: 1;
}

.hero-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 720px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--white);
}

.hero-highlight {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(45, 106, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(45, 106, 53, 0.4);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--green);
  transform: translateY(-2px);
}

@media (max-width: 968px) {
  .hero-container {
    text-align: center;
  }

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

  .hero-buttons {
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Features Section
   ══════════════════════════════════════════════════════════════════════ */

.features {
  padding: 6rem 2rem;
  background: var(--white);
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 650px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--gray-50);
  padding: 2.5rem;
  border-radius: 1.5rem;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.feature-card:hover {
  background: var(--white);
  border-color: var(--green-light);
  box-shadow: 0 12px 40px rgba(45, 106, 53, 0.12);
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(45, 106, 53, 0.25);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   Stats Section
   ══════════════════════════════════════════════════════════════════════ */

.stats {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════════
   CTA Section
   ══════════════════════════════════════════════════════════════════════ */

.cta {
  background: linear-gradient(145deg, #fdf4e0 0%, var(--cream) 100%);
  padding: 6rem 2rem;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
}

/* ══════════════════════════════════════════════════════════════════════
   Footer
   ══════════════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-about p {
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--green);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: all 0.2s;
  font-size: 1.2rem;
}

.social-link:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--gray-400);
}

.contact-item i {
  color: var(--gold);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.footer-bottom span {
  color: var(--gold);
  font-weight: 600;
}

@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   About Page
   ══════════════════════════════════════════════════════════════════════ */

.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 6rem 2rem 4rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  border-radius: 50%;
}

.page-hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-section {
  padding: 5rem 2rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-image img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 1.25rem;
  text-align: center;
  transition: all 0.3s;
}

.value-card:hover {
  background: var(--white);
  box-shadow: 0 12px 32px rgba(45, 106, 53, 0.12);
  transform: translateY(-5px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

/* ══════════════════════════════════════════════════════════════════════
   Services Page
   ══════════════════════════════════════════════════════════════════════ */

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

.service-card {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 2px solid var(--gray-100);
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(45, 106, 53, 0.15);
  transform: translateY(-8px);
  border-color: var(--green-light);
}

.service-image {
  height: 220px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-image::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.service-image i {
  font-size: 5rem;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.service-content {
  padding: 2rem;
}

.service-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.service-content p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-features i {
  color: var(--green);
  font-size: 1rem;
}

.btn-service {
  width: 100%;
  padding: 0.85rem;
  background: var(--gray-100);
  color: var(--green);
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-service:hover {
  background: var(--green);
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════════════════
   Products Page
   ══════════════════════════════════════════════════════════════════════ */

.product-categories {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.category-btn {
  padding: 0.75rem 1.5rem;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
}

.category-btn:hover,
.category-btn.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 2px solid var(--gray-100);
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(45, 106, 53, 0.15);
  transform: translateY(-5px);
  border-color: var(--green-light);
}

.product-image {
  height: 200px;
  background: linear-gradient(135deg, var(--cream), #fdf4e0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-image i {
  font-size: 4rem;
  color: var(--green);
  opacity: 0.4;
}

.product-content {
  padding: 1.5rem;
}

.product-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-category {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.product-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   Contact Page
   ══════════════════════════════════════════════════════════════════════ */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

.form-label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-800);
  transition: all 0.2s;
  background: var(--gray-50);
}

.form-control:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45, 106, 53, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 106, 53, 0.3);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 1.25rem;
  border: 2px solid var(--gray-100);
  transition: all 0.3s;
}

.info-card:hover {
  background: var(--white);
  border-color: var(--green-light);
  box-shadow: 0 8px 24px rgba(45, 106, 53, 0.1);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.info-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

.info-card a {
  color: var(--green);
  font-weight: 600;
}

@media (max-width: 968px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Utilities
   ══════════════════════════════════════════════════════════════════════ */

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

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade { animation: fadeIn 0.8s ease-out; }
.animate-slide { animation: slideUp 0.8s ease-out; }
