/* 
 * Main CSS for deepnudenow.love
 * Teal/Orange color scheme with unique layout
 */

/* Custom properties */
:root {
  --primary: #00B4D8; /* Teal */
  --secondary: #FF9E00; /* Orange */
  --accent: #03045E; /* Dark Blue */
  --light: #CAF0F8; /* Light Teal */
  --dark: #222222;
  --white: #FFFFFF;
  --gray: #F0F0F0;
  --dark-gray: #555555;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease-in-out;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 10px base size for easier rem calculation */
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

ul, ol {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--dark);
}

h1 {
  font-size: 5rem;
}

h2 {
  font-size: 4rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 60%;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

h3 {
  font-size: 2.8rem;
}

p {
  margin-bottom: 1.6rem;
}

/* Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 10rem 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--gray);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 4rem;
}

.two-column {
  grid-template-columns: 1fr;
}

.three-column {
  grid-template-columns: 1fr;
}

.four-column {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
  }
  
  .three-column {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .four-column {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .four-column {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  font-size: 1.6rem;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

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

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

.btn-cta {
  background: var(--gradient);
  color: var(--white);
  font-size: 1.8rem;
  padding: 1.5rem 4rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
  padding: 2rem 0;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  transition: var(--transition);
}

.header.scrolled .logo {
  color: var(--accent);
}

.logo-icon {
  height: 4rem;
  width: auto;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--white);
  font-weight: 600;
  font-size: 1.6rem;
  transition: var(--transition);
}

.header.scrolled .nav-link {
  color: var(--dark);
}

.nav-link:hover {
  color: var(--secondary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 3rem;
  height: 2.4rem;
  position: relative;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.header.scrolled .mobile-toggle span {
  background: var(--dark);
}

.mobile-toggle span:nth-child(1) {
  top: 0;
}

.mobile-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.mobile-toggle span:nth-child(3) {
  bottom: 0;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background-color: var(--white);
    width: 80%;
    max-width: 400px;
    height: 100vh;
    padding: 8rem 2rem 2rem;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    color: var(--dark);
    font-size: 2rem;
  }
  
  .no-scroll {
    overflow: hidden;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.7), rgba(255, 158, 0, 0.7));
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 10%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 15%),
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 70% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 10%);
  background-size: cover;
  z-index: 2;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 0 2rem;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  color: var(--white);
  font-size: 6rem;
  margin-bottom: 2rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-image {
  margin-top: 5rem;
  position: relative;
  width: 80%;
  max-width: 500px;
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero p {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Features Section */
.features {
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
}

.feature-card {
  background: var(--white);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  height: 8rem;
  margin-bottom: 2rem;
}

.feature-card h3 {
  margin-bottom: 1.5rem;
  color: var(--accent);
}

/* Gallery Section */
.gallery {
  background-color: var(--gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-svg {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
  padding: 2rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--white);
}

.steps-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 3rem;
  margin-bottom: 5rem;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.step-content {
  flex-grow: 1;
}

.step-content h3 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.step-line {
  position: absolute;
  top: 6rem;
  left: 3rem;
  width: 2px;
  height: calc(100% - 6rem);
  background: linear-gradient(var(--primary), var(--secondary));
  transform: translateX(-50%);
  z-index: -1;
}

@media (max-width: 767px) {
  .step {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .step-line {
    display: none;
  }
  
  .step-number {
    margin: 0 auto;
  }
  
  .step-content {
    text-align: center;
  }
}

/* Testimonials Section */
.testimonials {
  background-color: var(--gray);
  position: relative;
  overflow: hidden;
}

.square-bg {
  position: absolute;
  width: 20vw;
  height: 20vw;
  background: var(--primary);
  opacity: 0.05;
  transform: rotate(45deg);
}

.square-right {
  top: -10vw;
  right: -10vw;
}

.square-left {
  bottom: -10vw;
  left: -10vw;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--white);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-avatar {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 2rem;
}

.testimonial-stars {
  color: var(--secondary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
  text-align: center;
}

.testimonial-name {
  text-align: center;
  font-weight: 700;
  color: var(--accent);
}

/* FAQ Section */
.faq {
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  background: var(--white);
  padding: 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--gray);
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.8rem;
  padding-right: 2rem;
  color: var(--accent);
}

.faq-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  background-color: var(--white);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer.active {
  padding: 0 2rem 2rem;
  max-height: 500px;
}

/* CTA Section */
.cta {
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta h2 {
  color: var(--white);
}

.cta h2::after {
  background: var(--white);
}

.cta p {
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 2rem;
}

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

.cta .btn-cta:hover {
  background-color: var(--accent);
  color: var(--white);
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav a {
  color: var(--gray);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--secondary);
}

.footer-contact p {
  margin-bottom: 2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  font-size: 1.4rem;
  color: var(--dark-gray);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.footer-links a {
  color: var(--gray);
  font-size: 1.4rem;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 767px) {
  .footer-top {
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* Animations */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

/* Pulse animation for interactive elements */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pulse {
  animation: pulse 1.5s infinite;
}

/* Additional utility classes */
.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
