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

:root {
  --primary-color: hsl(220, 85%, 55%);
  --primary-color-dark: hsl(220, 85%, 45%);
  --secondary-color: hsl(280, 85%, 55%);
  --bg-color: #ffffff;
  --bg-color-alt: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --error-color: #ef4444;
  --card-bg: rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  --glass-border: rgba(255, 255, 255, 0.3);
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed) ease;
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.text-center {
  text-align: center;
}

.section-padding {
  padding: 5rem 5%;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-speed) ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.navbar.scrolled {
  padding: 0.8rem 5%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--text-main);
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

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

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
  background: none;
  border: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease both;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-img {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: fadeInRight 1s ease 0.6s both;
}

.hero-img img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  max-height: 500px;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.hero-img img:hover {
  transform: scale(1.02);
}

/* Product Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.category-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(5px);
  transition: transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
}

.category-card:hover {
  transform: translateY(-10px);
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-content {
  padding: 1.5rem;
  position: relative;
  background: white;
  z-index: 2;
}

.category-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-main);
  font-size: 1.2rem;
}

/* About Preview */
.about-preview {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-img {
  flex: 1;
  position: relative;
}

.about-img img {
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  text-align: left;
}

.about-text ul li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-weight: 500;
}

.about-text ul li::before {
  content: '✓';
  color: white;
  background: var(--success-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-speed) ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Form Styles */
.form-container {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  max-width: 800px;
  margin: 0 auto;
}

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

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-row .form-group {
  flex: 1;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
  background-color: var(--bg-color-alt);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  background-color: white;
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 5px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-group label a {
  color: var(--primary-color);
  text-decoration: underline;
}

.form-error {
  color: var(--error-color);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error .form-control {
  border-color: var(--error-color);
}

.form-group.has-error .form-error {
  display: block;
}

/* Footer */
footer {
  background-color: #0f172a;
  color: white;
  padding: 4rem 5% 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-col p {
  color: #94a3b8;
}

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

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed) ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Animations Scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

/* Page Header (for other pages) */
.page-header {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(37, 99, 235, 0.8)), url('images/lifestyle_shopping.jpg') center/cover;
  padding: 10rem 5% 5rem;
  text-align: center;
  color: white;
}

.page-header h1 {
  -webkit-text-fill-color: white;
  background: none;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: #e2e8f0;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Inner Page Content Layout */
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.legal-content h2 {
  text-align: left;
  font-size: 1.8rem;
  margin-top: 2rem;
  color: var(--text-main);
}

.legal-content p, .legal-content ul {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

.legal-content ul {
  list-style-type: disc;
  padding-left: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
  h1 { font-size: 2.8rem; }
  .about-preview { flex-direction: column; }
  .form-row { flex-direction: column; gap: 0; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    transition: right 0.3s ease;
  }
  
  .nav-links.active { right: 0; }
  
  .mobile-menu-btn { display: block; }
  
  .hero { flex-direction: column; text-align: center; padding-top: 80px; height: auto; padding-bottom: 3rem; }
  .hero-btns { justify-content: center; }
  .hero-img { margin-top: 3rem; }
  
  h1 { font-size: 2.3rem; }
  
  .form-container { padding: 2rem 1.5rem; }
}
