@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  /* Tie-Dye Theme Colors */
  --td-primary: #ff0080;
  --td-secondary: #7928ca;
  --td-accent: #00d2ff;
  --td-bg: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
  
  /* Mowing Theme Colors */
  --mw-primary: #2b580c;
  --mw-secondary: #639a67;
  --mw-accent: #d8ebd0;
  --mw-bg: linear-gradient(135deg, #1b4332 0%, #2d6a4f 50%, #40916c 100%);

  /* Sourdough Theme Colors */
  --sd-primary: #8b5a2b;
  --sd-secondary: #cd853f;
  --sd-accent: #f5f5dc;
  --sd-bg: linear-gradient(135deg, #fdfbf7 0%, #e6d7c3 100%);

  /* Global */
  --text-dark: #1f2937;
  --text-light: #f9fafb;
  --bg-dark: #111827;
  --bg-light: #ffffff;
  --font-main: 'Outfit', sans-serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

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

/* ================================
   SPLIT SCREEN LANDING PAGE
================================= */
.split-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.split-divider {
  width: 4px;
  height: 100%;
  background: #000000;
  z-index: 10;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.split-side {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  padding: 2rem;
}

.split-side:hover {
  flex: 1.5;
}

.split-side::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.8;
  transition: var(--transition);
}

.split-side.clothing {
  background: url('tie_dye_bg.png') center/cover no-repeat;
}

.split-side.clothing::before {
  background: linear-gradient(45deg, rgba(255,0,128,0.6), rgba(121,40,202,0.6), rgba(0,210,255,0.6));
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
}

.split-side.sourdough {
  background: url('sourdough_bg.png') center/cover no-repeat;
}

.split-side.sourdough::before {
  background: linear-gradient(45deg, rgba(139,90,43,0.7), rgba(205,133,63,0.7), rgba(245,245,220,0.6));
}

.split-side.mowing {
  background: url('mowing_bg.png') center/cover no-repeat;
}

.split-side.mowing::before {
  background: linear-gradient(45deg, rgba(43,88,12,0.7), rgba(99,154,103,0.7), rgba(27,67,50,0.7));
}

.split-side:hover::before {
  opacity: 0.6;
}

.split-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  transform: translateY(20px);
  transition: var(--transition);
}

.split-side:hover .split-content {
  transform: translateY(0);
}

.split-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.split-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.split-btn {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid var(--text-light);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.split-btn:hover {
  background: var(--text-light);
  color: var(--text-dark);
  transform: scale(1.05);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ================================
   NAVIGATION BAR
================================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(15px);
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.dark {
  background: rgba(17, 24, 39, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--text-light);
  transition: var(--transition);
}

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

/* ================================
   PAGE HEADERS (THEMES)
================================= */
.page-header {
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  color: var(--text-light);
  position: relative;
}

.header-tie-dye {
  background: linear-gradient(135deg, rgba(255,0,128,0.7), rgba(121,40,202,0.7), rgba(0,210,255,0.7)), url('tie_dye_bg.png') center/cover no-repeat;
  background-blend-mode: multiply;
  background-size: 200% 200%, cover;
  animation: gradientShift 6s ease infinite;
}

.header-mowing {
  background: linear-gradient(135deg, rgba(43,88,12,0.8), rgba(99,154,103,0.8), rgba(27,67,50,0.8)), url('mowing_bg.png') center/cover no-repeat;
  background-blend-mode: multiply;
}

.page-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  max-width: 600px;
  opacity: 0.9;
}

/* ================================
   CONTENT SECTIONS
================================= */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

/* Product Grid (Tie-Dye) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-img {
  height: 300px;
  background: #f3f4f6;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: #d1d5db;
  /* Placeholder for actual images */
}

.product-card:nth-child(1) .product-img {
  background: linear-gradient(45deg, #ff9a9e, #fecfef);
}

.product-card:nth-child(2) .product-img {
  background: linear-gradient(45deg, #a18cd1, #fbc2eb);
}

.product-card:nth-child(3) .product-img {
  background: linear-gradient(45deg, #84fab0, #8fd3f4);
}

.product-info {
  padding: 1.5rem;
  text-align: center;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-price {
  color: var(--td-secondary);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Services (Mowing) */
.service-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.service-card {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  max-width: 600px;
  width: 100%;
}

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

.primary-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  background: var(--mw-primary);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1.5rem;
  box-shadow: 0 4px 15px rgba(43, 88, 12, 0.4);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(43, 88, 12, 0.5);
  background: var(--mw-secondary);
}

/* ================================
   MODAL (GOOGLE FORM)
================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-light);
  width: 90%;
  max-width: 700px;
  height: 80vh;
  border-radius: 20px;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  background: var(--mw-primary);
  color: var(--text-light);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.close-btn:hover {
  transform: rotate(90deg);
}

.modal-body {
  flex: 1;
  padding: 0;
  position: relative;
}

/* Warning / Disclaimer Notice Box */
.notice-box {
  background-color: #fef2f2;
  border-left: 4px solid #ef4444;
  padding: 1rem;
  border-radius: 8px;
  margin: 0 0 1.5rem 0;
  color: #991b1b;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.notice-icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.notice-text {
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ================================
   RESPONSIVE DESIGN
================================= */
@media (max-width: 768px) {
  .split-container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }
  .split-side {
    height: 33.3vh;
    min-height: 280px;
    flex: none;
  }
  .split-divider {
    width: 100%;
    height: 4px;
  }
  .split-side:hover {
    flex: none;
    transform: scale(1.02);
  }
  .split-title { font-size: 2.5rem; }
  .page-title { font-size: 3rem; }
  .navbar { padding: 1rem; flex-direction: column; gap: 1rem; }
}
