/* 
  aiporn-photos.pw - Styles
  A unique design with navy and coral color scheme and grid-based layout
*/

:root {
  --primary: #1a3c5a;       /* Navy Blue */
  --secondary: #ff6b6b;     /* Coral */
  --accent: #ffd166;        /* Gold/Yellow */
  --dark: #0e1c2a;          /* Dark Navy */
  --light: #ffffff;
  --gray: #f5f5f5;
  --text-dark: #333333;
  --text-light: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 10px 30px rgba(26, 60, 90, 0.15);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #f9fafc;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

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

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

p {
  margin-bottom: 1.5rem;
}

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

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

section {
  padding: 60px 0;
  margin-bottom: 30px;
}

section:last-child {
  margin-bottom: 0;
}

.highlight {
  color: var(--secondary);
}

/* Layout Containers */
.header-grid,
.hero-grid,
.gallery-grid,
.features-grid,
.process-grid,
.styles-grid,
.faq-grid,
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo-svg {
  width: 180px;
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-list li {
  margin-left: 30px;
}

.nav-list a {
  color: var(--text-dark);
  font-weight: 500;
}

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

.nav-cta {
  background: var(--gradient);
  color: var(--light) !important;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(26, 60, 90, 0.2);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  margin-bottom: 5px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 60px 0;
  background: linear-gradient(to bottom, #f9fafc, #f0f4f8);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-svg {
  width: 100%;
  max-width: 500px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

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

.btn-secondary {
  background: rgba(26, 60, 90, 0.1);
  color: var(--primary) !important;
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(26, 60, 90, 0.25);
}

.btn-secondary:hover {
  background: rgba(26, 60, 90, 0.2);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Gallery Section */
.gallery {
  text-align: center;
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  transition: var(--transition);
  background: var(--light);
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.photo-placeholder {
  width: 100%;
  height: 300px;
  background: #f0f0f0;
}

.gallery-item h3 {
  padding: 20px;
  margin: 0;
}

.gallery-cta {
  margin-top: 40px;
}

/* Features Section */
.features {
  text-align: center;
  padding: 80px 0;
  background: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
  text-align: center;
  padding: 80px 0;
  background: #f9fafc;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.process-card {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.process-number {
  background: var(--gradient);
  color: var(--light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

/* Styles Section */
.styles {
  text-align: center;
  padding: 80px 0;
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.style-card {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.style-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.style-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.style-card h3 {
  margin-bottom: 15px;
}

.style-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* CTA Banner */
.cta-banner {
  background: var(--gradient);
  color: var(--light);
  text-align: center;
  padding: 60px 20px;
  margin: 30px 0;
}

.cta-banner h2 {
  color: var(--light);
  margin-bottom: 20px;
}

.cta-banner h2:after {
  display: none;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-banner .btn-primary {
  background: var(--light);
  color: var(--primary) !important;
}

.cta-banner .btn-primary:hover {
  background: var(--light);
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.faq-item {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.faq-item p {
  margin-bottom: 0;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--light);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo p {
  margin-top: 15px;
  opacity: 0.7;
  max-width: 250px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-col h4 {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col h4:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--secondary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-favicon img {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-favicon img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.pulse {
  animation: pulse 2s infinite;
}

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

.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .footer-links {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 90%;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .nav-list li {
    margin: 15px 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .gallery-grid,
  .features-grid,
  .process-grid,
  .styles-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
  }
}
