/* ========================================
   Smalltalk - Creative Media Design Studio
   ======================================== */

:root {
  --primary: #2563eb;
  --secondary: #10b981;
  --accent: #f59e0b;
  --dark: #1e293b;
  --light: #f8fafc;
  --success: #10b981;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* ========== NAVBAR ========== */
.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  background: var(--gradient-primary);
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%25" style="stop-color:rgba(255,255,255,0)"/></linearGradient></defs><circle cx="200" cy="100" r="150" fill="url(%23grad)"/><circle cx="900" cy="400" r="200" fill="url(%23grad)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
}

.info-box {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s;
}

.info-box:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.2);
}

.info-box i {
  font-size: 2rem;
  color: var(--accent);
}

.info-text {
  text-align: left;
}

.info-text small {
  display: block;
  opacity: 0.8;
  font-size: 0.85rem;
}

.info-text strong {
  display: block;
  font-size: 1.1rem;
}

/* ========== SECTIONS ========== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.1rem;
  color: #666;
}

/* ========== SERVICE CARDS ========== */
.service-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  color: #666;
  margin: 0;
}

/* ========== PACKAGE CARDS ========== */
.package-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s;
  position: relative;
  height: 100%;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.package-card.popular {
  border: 3px solid var(--accent);
  transform: scale(1.05);
}

.package-card.popular:hover {
  transform: scale(1.08) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--gradient-secondary);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(245,87,108,0.4);
}

.package-header {
  text-align: center;
  margin-bottom: 30px;
}

.package-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.package-for {
  color: #666;
  margin: 0;
}

.package-price {
  text-align: center;
  margin-bottom: 30px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.price.special {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-old {
  font-size: 1.5rem;
  text-decoration: line-through;
  color: #999;
  display: block;
  margin-bottom: 5px;
}

.currency {
  font-size: 1.25rem;
  color: #666;
  margin-left: 5px;
}

.special-label {
  display: inline-block;
  background: var(--gradient-secondary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  margin-top: 10px;
}

.package-features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.package-features li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.package-features li:last-child {
  border-bottom: none;
}

.package-features i {
  color: var(--success);
  font-size: 1.25rem;
}

.select-package-btn {
  padding: 12px;
  font-weight: 600;
  transition: all 0.3s;
}

.select-package-btn:hover {
  transform: scale(1.05);
}

/* ========== COMPARISON TABLE ========== */
.comparison-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.comparison-table thead {
  background: var(--gradient-primary);
  color: white;
}

.comparison-table th {
  padding: 20px;
  font-weight: 600;
  text-align: center;
}

.comparison-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.comparison-table tbody tr:hover {
  background: #f8f9fa;
}

.comparison-table .popular-col {
  background: var(--accent);
}

.comparison-table i {
  font-size: 1.5rem;
}

/* ========== PORTFOLIO ========== */
.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

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

.portfolio-image {
  aspect-ratio: 16/9;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portfolio-image i {
  font-size: 4rem;
  color: white;
  opacity: 0.8;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay h5 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
}

.portfolio-overlay p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.9rem;
}

/* ========== ADD-ON CARDS ========== */
.addon-card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s;
}

.addon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.addon-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.addon-card h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

.addon-card p {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.addon-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.addon-card.selected {
  border: 2px solid var(--success);
  background: rgba(16, 185, 129, 0.05);
}

.addon-card.selected .add-addon-btn {
  background: var(--success);
  color: white;
}

/* ========== SUMMARY CARD ========== */
.summary-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}

.contact-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Make right column sticky as a whole */
.sticky-sidebar {
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.summary-content {
  margin-bottom: 15px;
}

.summary-card h3 {
  font-size: 1.5rem;
}

.contact-card h4 {
  font-size: 1.25rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.summary-item span:first-child {
  color: #666;
}

.summary-item span:last-child {
  font-weight: 600;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 15px 0 10px 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

/* ========== CONTACT CARDS ========== */
.contact-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  height: 100%;
}

.contact-method {
  display: flex;
  align-items: start;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: white;
  font-size: 1.25rem;
}

.contact-method strong {
  display: block;
  margin-bottom: 5px;
  color: var(--dark);
}

.contact-method p {
  margin: 0;
  color: #666;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  transition: all 0.3s;
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(37,99,235,0.4);
}

/* ========== FLOATING SOCIAL BUTTONS ========== */
.floating-social {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.float-social-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  transition: all 0.3s;
  text-decoration: none;
  color: white;
}

.float-social-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: white;
}

.float-line {
  background: #06C755;
}

.float-line:hover {
  background: #05b34c;
}

.float-fb {
  background: #1877F2;
}

.float-fb:hover {
  background: #1565d8;
}

/* ========== FOOTER ========== */
footer {
  border-top: 4px solid var(--primary);
}

footer .social-links {
  display: flex;
  gap: 15px;
}

footer .social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s;
}

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

/* ========== UTILITIES ========== */
.smooth-scroll {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .package-card.popular {
    transform: scale(1);
  }

  .summary-card {
    position: relative;
    top: 0;
  }

  .floating-social {
    right: 12px;
    bottom: 12px;
  }

  .float-social-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ========== CONTENT BUILDER ========== */
.content-type-card {
  text-align: center;
  padding: 30px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  background: white;
}

.content-type-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.content-type-card.selected {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
  border-width: 3px;
}

.content-type-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  display: block;
}

.content-type-card h6 {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.content-type-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.platform-btn {
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.platform-btn i {
  margin-right: 8px;
}

.extra-checkbox {
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s;
}

.extra-checkbox:has(input:checked) {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.05);
}

.extra-checkbox label {
  cursor: pointer;
  width: 100%;
  margin: 0;
}

/* ========== FORM PLACEHOLDER ========== */
.form-control::placeholder,
.form-select::placeholder,
input::placeholder,
textarea::placeholder {
  color: #adb5bd;
  opacity: 0.5;
}

.form-control::-webkit-input-placeholder,
.form-select::-webkit-input-placeholder,
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #adb5bd;
  opacity: 0.5;
}

.form-control::-moz-placeholder,
.form-select::-moz-placeholder,
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #adb5bd;
  opacity: 0.5;
}

.form-control:-ms-input-placeholder,
.form-select:-ms-input-placeholder,
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #adb5bd;
  opacity: 0.5;
}
