/*
Theme Name: TagLab Theme
Description: Clean, modern WordPress theme with TagLab branding and styling
Version: 1.0
Author: TagLab
*/

/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fredoka:wght@400;500;600;700&display=swap");

/* Custom Font - Upload Luckybones-Bold.ttf to your theme folder */
@font-face {
  font-family: "Luckybones";
  src: url("./fonts/Luckybones-Bold.ttf") format("truetype");
  font-weight: bold;
  font-display: swap;
}

/* TagLab Color Palette & Variables */
:root {
  --taglab-font-heading: "Luckybones", "Fredoka", "Inter", system-ui, sans-serif;
  --taglab-font-body: "Inter", system-ui, sans-serif;

  /* Serious Color Palette */
  --taglab-serious: #313131;
  --taglab-serious-light: #3d3d3d;
  --taglab-serious-dark: #252525;
  --taglab-serious-darker: #1a1a1a;

  /* Tiffany Color Palette */
  --taglab-tiffany: #14b8a6;
  --taglab-tiffany-light: #2dd4bf;
  --taglab-tiffany-dark: #0f766e;

  /* Background Colors */
  --taglab-page-bg: #fff9ec;
  --taglab-hero-bg: #144e5a;

  /* Status Colors */
  --taglab-error: #dc2626;
  --taglab-success: #059669;
  --taglab-link-blue: #2563eb;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--taglab-font-body);
  background-color: var(--taglab-page-bg);
  color: var(--taglab-serious);
  line-height: 1.6;
  min-height: 100vh;
}

.taglab-font-heading {
  font-family: var(--taglab-font-heading);
}

/* Header Styles */
.taglab-header {
  width: 100%;
  background-color: var(--taglab-hero-bg);
  padding: 1rem;
  position: relative;
  z-index: 1000;
}

.taglab-header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.taglab-logo {
  display: flex;
  align-items: center;
}

.taglab-logo-text {
  font-family: var(--taglab-font-heading);
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin: 0;
  text-decoration: none;
}

.taglab-logo-text:hover {
  color: var(--taglab-tiffany-light);
}

@media (min-width: 768px) {
  .taglab-logo-text {
    font-size: 2.5rem;
  }
}

/* Navigation */
.taglab-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.taglab-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: white;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
  border: none;
  background: none;
}

.taglab-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--taglab-tiffany);
  text-decoration: none;
}

.taglab-nav-icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
}

.taglab-nav-primary {
  background-color: var(--taglab-tiffany);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.taglab-nav-primary:hover {
  background-color: var(--taglab-tiffany-dark);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.125rem);
}

/* Main Content */
.taglab-main {
  flex: 1;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--taglab-font-heading);
  color: var(--taglab-serious);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: bold;
}

h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

h3 {
  font-size: 2rem;
  font-weight: bold;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--taglab-serious-light);
}

/* Buttons */
.taglab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.taglab-btn-primary {
  background-color: var(--taglab-hero-bg);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.taglab-btn-primary:hover {
  background-color: var(--taglab-serious-dark);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.125rem);
  text-decoration: none;
  color: white;
}

.taglab-btn-tiffany {
  background-color: var(--taglab-tiffany);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.taglab-btn-tiffany:hover {
  background-color: var(--taglab-tiffany-dark);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.125rem);
  text-decoration: none;
  color: white;
}

/* Cards */
.taglab-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Grid System */
.taglab-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.taglab-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Hero Section */
.taglab-hero {
  background-color: var(--taglab-hero-bg);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.taglab-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.taglab-hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.taglab-hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* Background Blobs */
.taglab-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.taglab-blob {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease;
}

.taglab-blob-1 {
  top: -5rem;
  left: -5rem;
  width: 16rem;
  height: 16rem;
  opacity: 1;
  background-image: url("./images/Home-Blob1.svg");
}

.taglab-blob-2 {
  top: -4rem;
  right: -4rem;
  width: 18rem;
  height: 18rem;
  opacity: 1;
  background-image: url("./images/Home-Blob2.svg");
}

.taglab-blob-3 {
  bottom: -6rem;
  left: -8rem;
  width: 20rem;
  height: 20rem;
  opacity: 1;
  background-image: url("./images/Home-Blob3.svg");
}

@media (min-width: 768px) {
  .taglab-blob-1 {
    width: 20rem;
    height: 20rem;
    opacity: 1;
  }

  .taglab-blob-2 {
    width: 24rem;
    height: 24rem;
    opacity: 1;
  }

  .taglab-blob-3 {
    width: 24rem;
    height: 24rem;
    opacity: 1;
  }
}

/* Footer */
.taglab-footer {
  background-color: var(--taglab-serious);
  color: white;
  padding: 3rem 1rem 1rem;
  margin-top: auto;
}

.taglab-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.taglab-footer h3 {
  color: white;
  margin-bottom: 1rem;
}

.taglab-footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.taglab-footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.taglab-footer-links a {
  color: var(--taglab-tiffany-light);
  text-decoration: none;
  font-weight: 500;
}

.taglab-footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.taglab-footer-bottom {
  border-top: 1px solid var(--taglab-serious-light);
  padding-top: 1rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Utility Classes */
.taglab-text-center {
  text-align: center;
}

.taglab-text-tiffany {
  color: var(--taglab-tiffany);
}

.taglab-bg-tiffany {
  background-color: var(--taglab-tiffany);
}

.taglab-mt-4 {
  margin-top: 2rem;
}

.taglab-mb-4 {
  margin-bottom: 2rem;
}

.taglab-p-4 {
  padding: 2rem;
}

/* Responsive */
@media (max-width: 767px) {
  .taglab-nav-link span {
    display: none;
  }

  .taglab-nav-link {
    padding: 0.5rem;
  }

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

  .taglab-footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* WordPress Specific */
.taglab-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.taglab-content {
  flex: 1;
}

/* WordPress Post/Page Content */
.taglab-post {
  max-width: 800px;
  margin: 0 auto;
}

.taglab-post-title {
  margin-bottom: 1rem;
}

.taglab-post-content {
  line-height: 1.8;
}

.taglab-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

/* Holding Page Styles */
.taglab-holding {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1rem;
}

.taglab-holding-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.taglab-holding-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--taglab-serious);
}

.taglab-holding-title h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  -webkit-background-clip: text;
  background-clip: text;
}

.taglab-holding-title p {
  font-size: 1.25rem;
  color: var(--taglab-serious-light);
  max-width: 600px;
  margin: 0 auto;
}

.taglab-holding-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.taglab-holding-section {
  background: white;
  border-radius: 1.5rem;
  padding: 3rem;
  border: 1px solid rgba(20, 184, 166, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
}

.taglab-holding-section:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.2);
}

.taglab-holding-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 1rem;
  flex-shrink: 0;
  background: var(--taglab-page-bg);
  padding: 1rem;
}

.taglab-holding-top {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.taglab-holding-header {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.taglab-holding-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--taglab-tiffany);
  color: white;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.taglab-badge-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.taglab-holding-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.taglab-holding-section h2 {
  font-size: 2.25rem;
  margin: 0;
  color: var(--taglab-serious);
  line-height: 1.2;
}

.taglab-holding-section p {
  font-size: 1.125rem;
  margin: 0;
  color: var(--taglab-serious-light);
  line-height: 1.6;
  max-width: 90%;
}

.taglab-holding-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: var(--taglab-tiffany);
  color: white;
  text-decoration: none;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.taglab-holding-btn:hover {
  background: var(--taglab-tiffany-dark);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

.taglab-holding-btn-secondary {
  cursor: pointer;
  background: var(--taglab-serious);
}

.taglab-holding-btn-secondary:hover {
  background: var(--taglab-serious-light);
}

.taglab-holding-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.taglab-coming-soon {
  background: linear-gradient(
    135deg,
    var(--taglab-serious) 0%,
    var(--taglab-serious-light) 100%
  );
  color: white;
  border-color: rgba(255, 255, 255, 0.1);
}

.taglab-coming-soon:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.taglab-coming-soon h2,
.taglab-coming-soon p {
  color: white;
}

.taglab-coming-soon .taglab-holding-image {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (min-width: 768px) {
  .taglab-holding-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .taglab-holding-title h1 {
    font-size: 4rem;
  }

  .taglab-holding-section {
    padding: 3.5rem;
  }

  .taglab-holding-image {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 767px) {
  .taglab-holding {
    padding: 2rem 1rem;
    min-height: calc(100vh - 120px);
  }

  .taglab-holding-title h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .taglab-holding-title p {
    font-size: 1.125rem;
    padding: 0 1rem;
  }

  .taglab-holding-grid {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .taglab-holding-section {
    padding: 2.5rem 2rem;
    gap: 1.5rem;
    border-radius: 1.25rem;
  }

  .taglab-holding-top {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .taglab-holding-header {
    align-items: center;
    text-align: center;
  }

  .taglab-holding-section h2 {
    font-size: 1.875rem;
  }

  .taglab-holding-section p {
    max-width: 100%;
  }

  .taglab-holding-image {
    width: 100px;
    height: 100px;
    align-self: center;
  }

  .taglab-holding-content {
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .taglab-holding-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    align-self: center;
  }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
  .taglab-holding-title h1 {
    font-size: 2rem;
  }

  .taglab-holding-section {
    padding: 2rem 1.5rem;
    border-radius: 1rem;
  }

  .taglab-holding-top {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .taglab-holding-section h2 {
    font-size: 1.5rem;
  }

  .taglab-holding-section p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .taglab-holding-image {
    width: 80px;
    height: 80px;
  }

  .taglab-holding-btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
  }

  .taglab-holding-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}

/* Enhanced button accessibility and animations */
.taglab-holding-btn:focus {
  outline: 2px solid var(--taglab-tiffany);
  outline-offset: 2px;
}

.taglab-holding-btn-secondary:focus {
  outline: 2px solid var(--taglab-serious);
  outline-offset: 2px;
}

/* Loading states and transitions */
.taglab-holding-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.taglab-holding-section:hover .taglab-holding-image {
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .taglab-holding-section,
  .taglab-holding-btn,
  .taglab-holding-image {
    transition: none;
  }

  .taglab-holding-section:hover {
    transform: none;
  }

  .taglab-holding-btn:hover {
    transform: none;
  }

  .taglab-holding-section:hover .taglab-holding-image {
    transform: none;
  }
}
