/* 
  Custom CSS for HerVisual Co.
  A complete solution with no external dependencies
  All styles are custom CSS with no frameworks
*/

/* Base Styles & Variables */
:root {
  --primary: #E13C7B;
  --dark: #1A1A1A;
  --white: #FFFFFF;
  --accent: #F8D0A0;
  --light-gray: #F5F5F5;
  --gray: #6B7280;
  --border-color: #E5E7EB;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  line-height: 1.5;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility Classes */
.gradient-bg {
  background: linear-gradient(135deg, rgba(248,208,160,0.2) 0%, rgba(225,60,123,0.1) 100%);
}

.hero-bg {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23ffffff"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="%23E13C7B10" stroke-width="0.5" stroke-linecap="square"/></svg>');
  background-size: 20px 20px;
}

.font-dancing {
  font-family: 'Dancing Script', cursive;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: rgba(225, 60, 123, 0.9);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
}

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

.logo{
  
}

.logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo a span {
  color: var(--dark);
}

.desktop-nav {
  display: none;
}

.mobile-menu-button {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--primary);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 0;
  animation: slideDown 0.3s ease;
  background-color: var(--white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  margin-top: 1rem;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav .nav-link {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav .nav-link:last-child {
  border-bottom: none;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-link {
  padding: 0.5rem 0;
  margin: 0 1rem;
  font-weight: 500;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background-color: var(--white);
}

.hero-content {
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.hero-image {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
}

.accent-circle {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent);
  opacity: 0.2;
  z-index: -1;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--white);
}

.about-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  color: var(--gray);
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  padding: 1.5rem;
  text-align: center;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(225, 60, 123, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon i {
  color: var(--primary);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.services-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.services-heading h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services-heading p {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 36rem;
  margin: 0 auto;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(248, 208, 160, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  color: var(--primary);
  font-size: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.learn-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
}

.learn-more:hover {
  text-decoration: underline;
}

.services-note {
  text-align: center;
  color: var(--gray);
  font-style: italic;
  margin-top: 2.5rem;
}

/* Founder Section */
.founder {
  padding: 5rem 0;
  background-color: var(--white);
}

.founder-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
}

.founder-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.founder-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.founder-quote {
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.75;
}

.founder-name {
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--primary);
}

.founder-reasons {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.founder-reasons h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.founder-reasons ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.founder-reasons li {
  display: flex;
  align-items: flex-start;
}

.founder-reasons li span {
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--light-gray);
  position: relative;
}

.contact-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-heading h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-heading p {
  font-size: 1.125rem;
  color: var(--gray);
}

.contact-form-container {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  max-width: 48rem;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(225, 60, 123, 0.2);
}

.error-message {
  font-size: 0.875rem;
  color: var(--primary);
  margin-top: 0.25rem;
  min-height: 1rem;
}

.form-submit {
  text-align: center;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-brand {
  margin-bottom: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.footer-logo span {
  color: var(--primary);
}

.footer-brand p {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-bottom .copyright {
  margin-bottom: 0.5rem;
}

.footer-bottom .credit span {
  color: var(--primary);
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-in-out;
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.slide-in-right {
  animation: slideInRight 0.8s ease-in-out;
}

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

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

/* Responsive Styles */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .desktop-nav {
    display: flex;
  }
  
  .mobile-menu-button {
    display: none;
  }
  
  .mobile-nav {
    display: none !important;
  }
  
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .founder-content {
    grid-template-columns: 2fr 3fr;
    align-items: center;
  }
  
  .footer-content {
    flex-direction: row;
    align-items: center;
  }
  
  .footer-brand {
    margin-bottom: 0;
    text-align: left;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
  }
  
  .footer-bottom p {
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .container {
    padding: 0 2rem;
  }
  
  .hero-content {
    margin-bottom: 4rem;
  }
  
  .about-content {
    max-width: 60rem;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .contact-form-container {
    padding: 3rem;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
    padding: 0 2.5rem;
  }
  
  .service-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .hero {
    padding: 10rem 0 6rem;
  }
  
  .footer {
    padding: 4rem 0 2.5rem;
  }
}

/* Additional Animation Styles */
.hero-content h1 {
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-content p {
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-content .btn {
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.9s;
}

.hero-image {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 1s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Additional Interactive Elements */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon {
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* Form Focus States */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(225, 60, 123, 0.2);
}

/* Button Active State */
.btn:active {
  transform: translateY(1px);
}

/* Desktop Navigation Enhanced */
.desktop-nav {
  gap: 1rem;
}

.desktop-nav .nav-link {
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.desktop-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.desktop-nav .nav-link:hover::after {
  width: 100%;
}

input {
  width: 100%;
  box-sizing: border-box;
}