/* ============================================
   Commerce On Tap - Modern Stylesheet
   ============================================ */

/* Import modern font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
  --primary-bg: #133D38;
  --cream: #FAF8F5;
  --white: #FFFFFF;
  --pink: #E88BA8;
  --light-blue: #A8DADC;
  --soft-pink: #F4ACB7;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-light: #F5F5F5;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--primary-bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--pink);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.75rem;
  font-weight: 700;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

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

p {
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
  font-weight: 400;
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
}

/* ============================================
   Header & Navigation
   ============================================ */
   .site-header {
    background: rgba(255, 255, 255, 0.08); /* Very subtle white overlay */
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(19, 61, 56, 0.2);
    backdrop-filter: blur(20px); /* Stronger blur for glass effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--soft-pink);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-xs);
}

.nav-menu a {
  color: var(--cream);
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.nav-menu a:hover {
  background-color: rgba(232, 139, 168, 0.15);
  color: var(--soft-pink);
  transform: translateY(-1px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: var(--primary-bg);
  color: var(--cream);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(232, 139, 168, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(168, 218, 220, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  color: var(--cream);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.35rem;
  max-width: 750px;
  margin: 0 auto var(--spacing-lg);
  color: var(--cream);
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.95;
}

.hero .cta-button {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.15rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(232, 139, 168, 0.3);
}

.hero .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(232, 139, 168, 0.4);
  color: var(--white);
  background: var(--soft-pink);
}

/* ============================================
   Content Sections
   ============================================ */
.content-section {
  background-color: var(--primary-bg);
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(168, 218, 220, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.content-section .container {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--cream);
  font-size: 3rem;
  font-weight: 700;
}

/* ============================================
   Services Grid
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.service-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(19, 61, 56, 0.08) 100%);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(19, 61, 56, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--light-blue) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 139, 168, 0.3);
}

.service-card h3 {
  color: rgba(250, 248, 245, 0.98);
  margin-bottom: var(--spacing-sm);
  font-size: 1.65rem;
}

.service-card h4 {
  color: rgba(250, 248, 245, 0.95);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
}

.service-card p {
  color: rgba(250, 248, 245, 0.90);
  font-size: 1.05rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin-top: var(--spacing-sm);
}

.service-card li {
  padding: var(--spacing-xs) 0;
  color: rgba(250, 248, 245, 0.88);
  position: relative;
  padding-left: 1.75rem;
  font-size: 1rem;
}

.service-card li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: rgba(232, 139, 168, 1);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ============================================
   About Section
   ============================================ */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(19, 61, 56, 0.08) 100%);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(19, 61, 56, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-content h2 {
  color: rgba(250, 248, 245, 0.98);
  margin-bottom: var(--spacing-sm);
}

.about-content h3 {
  color: rgba(250, 248, 245, 0.95);
}

.about-content p {
  font-size: 1.15rem;
  margin-bottom: var(--spacing-md);
  color: rgba(250, 248, 245, 0.90);
  line-height: 1.8;
}

.about-content a {
  color: rgba(232, 139, 168, 1);
  font-weight: 600;
}

.about-content a:hover {
  color: rgba(232, 139, 168, 0.8);
}

/* ============================================
   Blog
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.blog-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(19, 61, 56, 0.08) 100%);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(19, 61, 56, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 139, 168, 0.3);
}

.blog-card h3 {
  color: rgba(250, 248, 245, 0.98);
  margin-bottom: var(--spacing-xs);
  font-size: 1.5rem;
}

.blog-card h3 a {
  color: rgba(250, 248, 245, 0.98);
}

.blog-card h3 a:hover {
  color: rgba(232, 139, 168, 1);
}

.blog-meta {
  font-size: 0.95rem;
  color: rgba(250, 248, 245, 0.75);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

.blog-excerpt {
  color: rgba(250, 248, 245, 0.90);
  margin-bottom: var(--spacing-sm);
  font-size: 1.05rem;
}

.read-more {
  color: rgba(232, 139, 168, 1);
  font-weight: 600;
  font-size: 1.05rem;
}

.read-more:hover {
  color: var(--light-blue);
}

/* Blog Post Styling */
.blog-post {
  max-width: 850px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(19, 61, 56, 0.08) 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(19, 61, 56, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.blog-post h1 {
  color: rgba(250, 248, 245, 0.98);
  margin-bottom: var(--spacing-sm);
}

.blog-post .post-meta {
  color: rgba(250, 248, 245, 0.75);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid rgba(232, 139, 168, 0.2);
  font-weight: 500;
}

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

.blog-post .post-content h2 {
  margin-top: var(--spacing-lg);
  color: rgba(250, 248, 245, 0.98);
}

.blog-post .post-content h3 {
  margin-top: var(--spacing-md);
  color: rgba(250, 248, 245, 0.95);
}

.blog-post .post-content p {
  font-size: 1.1rem;
  color: rgba(250, 248, 245, 0.90);
}

.blog-post .post-content ul,
.blog-post .post-content ol {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.blog-post .post-content li {
  margin-bottom: var(--spacing-xs);
  color: rgba(250, 248, 245, 0.88);
}

/* ============================================
   Contact Form
   ============================================ */
.contact-section {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(19, 61, 56, 0.08) 100%);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(19, 61, 56, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: rgba(250, 248, 245, 0.98);
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-sm) 1rem;
  border: 2px solid rgba(19, 61, 56, 0.15);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(232, 139, 168, 0.1);
}

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

.submit-button {
  background: var(--primary-bg);
  color: var(--cream);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(19, 61, 56, 0.3);
  font-family: inherit;
}

.submit-button:hover {
  background: var(--pink);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232, 139, 168, 0.4);
}

.success-message {
  background-color: rgba(168, 218, 220, 0.2);
  color: var(--primary-bg);
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  margin-top: var(--spacing-sm);
  text-align: center;
  border: 2px solid var(--light-blue);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--primary-bg);
  color: var(--cream);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  margin-top: var(--spacing-xxl);
  border-top: 3px solid rgba(232, 139, 168, 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
  color: var(--soft-pink);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.footer-section p,
.footer-section li {
  color: var(--cream);
  font-size: 1.05rem;
  opacity: 0.9;
}

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

.footer-section li {
  margin-bottom: var(--spacing-xs);
}

.footer-section a {
  color: var(--cream);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--soft-pink);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 248, 245, 0.15);
  padding-top: var(--spacing-md);
  text-align: center;
}

.footer-bottom p {
  color: var(--cream);
  opacity: 0.8;
}

/* ============================================
   Buttons & CTA
   ============================================ */
.cta-section {
  background: var(--primary-bg);
  color: var(--cream);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(232, 139, 168, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--cream);
  font-size: 2.5rem;
}

.cta-section p {
  color: var(--cream);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
}

.button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--pink);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.15rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(232, 139, 168, 0.3);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(232, 139, 168, 0.4);
  color: var(--white);
  background: var(--soft-pink);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .hero p {
    font-size: 1.15rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .nav {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .nav-menu {
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    justify-content: center;
  }

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

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

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

  .section {
    padding: var(--spacing-xl) 0;
  }

  .service-card,
  .about-content,
  .blog-card,
  .contact-form {
    padding: var(--spacing-md);
  }
}
