/*
Theme Name: Samiya Hijab Theme
Theme URI: https://samiyahijab.com
Author: Cursor AI
Author URI: https://cursor.sh
Description: A fully functional conversion of Lovable's exported design into a WordPress + Elementor editable theme. Features elegant pastel design, smooth animations, and full Elementor compatibility for easy customization.
Version: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: samiya-hijab-theme
Tags: custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, flexible-header, full-width-template, post-thumbnails, responsive-design, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, two-columns, wide-blocks, elementor, portfolio, business, fashion, influencer
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
*/

/* Design System Variables */
:root {
  /* Pastel Color Palette */
  --pastel-pink: hsl(330, 100%, 95%);
  --pastel-lavender: hsl(270, 100%, 95%);
  --pastel-peach: hsl(20, 100%, 92%);
  --soft-white: hsl(0, 0%, 98%);
  --gold-accent: hsl(45, 100%, 70%);
  
  /* Primary Colors */
  --primary: hsl(320, 70%, 80%);
  --primary-dark: hsl(320, 70%, 60%);
  --secondary: hsl(270, 60%, 85%);
  --accent: hsl(45, 90%, 75%);
  
  /* Text Colors */
  --text-primary: hsl(330, 20%, 20%);
  --text-secondary: hsl(330, 15%, 40%);
  --text-muted: hsl(330, 10%, 60%);
  
  /* Background Colors */
  --bg-primary: var(--soft-white);
  --bg-secondary: var(--pastel-pink);
  --bg-card: hsl(0, 0%, 100%);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--pastel-peach), var(--pastel-pink), var(--pastel-lavender));
  --gradient-gold: linear-gradient(135deg, hsl(45, 100%, 80%), hsl(45, 100%, 60%));
  --gradient-glow: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-dark: linear-gradient(135deg, hsl(330, 30%, 15%), hsl(270, 30%, 20%));
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(255, 182, 193, 0.15);
  --shadow-elegant: 0 10px 30px rgba(255, 182, 193, 0.2);
  --shadow-glow: 0 0 30px rgba(255, 182, 193, 0.3);
  
  /* Typography */
  --font-luxury: 'Playfair Display', serif;
  --font-elegant: 'Poppins', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-elegant);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-luxury);
  font-weight: 600;
  line-height: 1.3;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-line {
  width: 6rem;
  height: 4px;
  background: var(--gradient-gold);
  margin: 0 auto 3rem;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-family: var(--font-elegant);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn:hover:before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-gold);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
}

.sparkle-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle-2 {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.sparkle-3 {
  top: 30%;
  right: 20%;
  animation-delay: 4s;
}

.sparkle-4 {
  bottom: 20%;
  left: 20%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-image {
  position: relative;
}

.main-portrait {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-elegant);
  transition: var(--transition-smooth);
}

.main-portrait:hover {
  transform: translateY(-10px) rotateY(5deg);
  box-shadow: var(--shadow-glow);
}

.hero-text {
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typewriter Effect */
.typewriter {
  overflow: hidden;
  border-right: 3px solid var(--accent);
  white-space: nowrap;
  margin: 0 auto;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--accent); }
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.portrait-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-elegant);
  transition: var(--transition-smooth);
}

.portrait-img:hover {
  transform: scale(1.05);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elegant);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-luxury);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Instagram Section */
.instagram-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.insta-post {
  position: relative;
  aspect-ratio: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.insta-post:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-elegant);
}

.insta-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: var(--transition-smooth);
}

.insta-post:hover .post-overlay {
  opacity: 1;
}

.instagram-cta {
  text-align: center;
}

/* Portfolio Section */
.portfolio-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-elegant);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-elegant);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: var(--gradient-dark);
  color: white;
}

.services-section .section-title {
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-glow);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--gradient-gold);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.service-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-elegant);
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.stars {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.campaign {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--gradient-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.floating-hearts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.heart {
  position: absolute;
  font-size: 2rem;
  animation: float 8s ease-in-out infinite;
}

.heart:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.heart:nth-child(2) {
  top: 60%;
  right: 20%;
  animation-delay: 3s;
}

.heart:nth-child(3) {
  bottom: 20%;
  left: 60%;
  animation-delay: 6s;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-elegant);
  margin-bottom: 3rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 182, 193, 0.3);
  border-radius: 10px;
  font-family: var(--font-elegant);
  font-size: 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(255, 182, 193, 0.2);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-submit:hover {
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--bg-card);
  border-radius: 50px;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elegant);
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
}

.social-link.tiktok:hover {
  background: linear-gradient(45deg, #ff0050, #000000);
  color: white;
}

.social-link.youtube:hover {
  background: #ff0000;
  color: white;
}

.social-icon {
  font-size: 1.5rem;
}

/* Footer */
.footer {
  background: var(--gradient-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.footer-social .social-icon:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.back-to-top {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.back-to-top:hover {
  color: white;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .social-links {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

/* WordPress Specific Styles */
.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.wp-block-group {
  margin-bottom: 2rem;
}

/* Elementor Compatibility */
.elementor-widget-container {
  margin-bottom: 0;
}

.elementor-section {
  position: relative;
}

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Print Styles */
@media print {
  .floating-elements,
  .floating-hearts,
  .sparkle,
  .heart {
    display: none;
  }
  
  .hero-section {
    background: white;
    color: black;
  }
  
  .btn {
    border: 1px solid black;
    background: white;
    color: black;
  }
}

