/* ============================================
   HOMEPAGE - PAGE-SPECIFIC STYLESHEET
   ============================================
   Common styles (fonts, nav, footer) in common.css
   This file contains only homepage-specific styles
   ============================================ */

/* ============================================
   HERO SECTION - Full screen
   ============================================ */
.hero-home {
  min-height: 100vh;
  margin-top: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background: url('../../media/gallery/miro2.webp') center center / cover no-repeat;
  color: white;
}

.hero-home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-home h1 {
  font-family: 'Julius Sans One', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-home .hero-subtitle {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(16px, 3vw, 28px);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 16px;
}

.hero-home .hero-tagline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-home .btn-hero {
  display: inline-block;
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 16px 40px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hero-home .btn-hero:hover {
  background: white;
  color: #111;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
  stroke: white;
  opacity: 0.7;
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 80px 5vw;
  max-width: var(--max-width);
  margin: 0 auto;
}

.services h2 {
  text-align: center;
  margin-bottom: 50px;
}

.services h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 1px;
  background: var(--color-text-darker);
  margin: 15px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(10, 20, 40, 0.15);
  text-decoration: none;
}

.service-card-image {
  height: 220px;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  position: relative;
}

.service-card-image::after {
  content: 'Photo';
  position: absolute;
  font-size: 14px;
  color: #aaa;
}

/* Service card specific images */
.service-card-photowalk {
  background: url('../../media/gallery/prague-header.webp') center center / cover no-repeat;
}

.service-card-photowalk::after {
  display: none;
}

.service-card-photoshoot {
  background: url('../../media/gallery/photoshoot/photoshoot-header.webp') center center / cover no-repeat;
}

.service-card-photoshoot::after {
  display: none;
}

.service-card-gear {
  background: url('../../media/gallery/gear-header.webp') center 40% / cover no-repeat;
}

.service-card-gear::after {
  display: none;
}

.service-card-content {
  padding: 28px;
}

.service-card h3 {
  font-family: 'Julius Sans One', sans-serif;
  font-size: 1.4em;
  margin-bottom: 12px;
  color: var(--color-text-darker);
}

.service-card p {
  font-size: 1em;
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card .link-text {
  font-size: 0.95em;
  font-weight: 500;
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.service-card:hover .link-text {
  gap: 10px;
}

/* ============================================
   ABOUT PREVIEW SECTION
   ============================================ */
.about-preview {
  padding: 80px 5vw;
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-bg-alt);
}

.about-preview-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-preview-image {
  position: relative;
}

.about-preview-image img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-preview-text h2 {
  margin-bottom: 24px;
}

.about-preview-text h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 1px;
  background: var(--color-text-darker);
  margin-top: 15px;
}

.about-preview-text p {
  font-size: 1.15em;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-preview-text .btn {
  margin-top: 10px;
}

/* ============================================
   GEAR PREVIEW SECTION
   ============================================ */
.gear-preview {
  padding: 80px 5vw;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gear-preview-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.gear-preview-image img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.gear-preview-text h2 {
  margin-bottom: 24px;
}

.gear-preview-text h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 1px;
  background: var(--color-text-darker);
  margin-top: 15px;
}

.gear-preview-text p {
  font-size: 1.15em;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  line-height: 1.6;
}

.btn-gear {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--color-text-darker);
  color: var(--color-text-darker);
  padding: 14px 32px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-gear:hover {
  background: var(--color-text-darker);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ============================================
   FEATURED IN SECTION
   ============================================ */
.featured-in {
  padding: 50px 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.featured-label {
  font-size: 0.85em;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.featured-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.featured-links a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  max-width: 320px;
}

.featured-links a:hover {
  border-color: var(--color-brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.featured-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-muted);
  margin-top: 2px;
}

.featured-links a:hover .featured-icon {
  color: var(--color-brand);
}

.featured-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.featured-source {
  display: block;
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand);
  margin-bottom: 4px;
}

.featured-title {
  display: block;
  font-size: 0.95em;
  color: var(--color-text-darker);
  line-height: 1.4;
}

/* ============================================
   PORTFOLIO PREVIEW SECTION
   ============================================ */
.portfolio-preview {
  padding: 80px 5vw;
  max-width: var(--max-width);
  margin: 0 auto;
}

.portfolio-preview h2 {
  text-align: center;
  margin-bottom: 50px;
}

.portfolio-preview h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 1px;
  background: var(--color-text-darker);
  margin: 15px auto 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.portfolio-item {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-item:hover {
  transform: scale(0.98);
}

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

.portfolio-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1em;
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.portfolio-cta a:hover {
  color: var(--color-brand);
}

.portfolio-cta svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */
.testimonial-home {
  padding: 80px 5vw;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-home h2 {
  margin-bottom: 50px;
}

.testimonial-home h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 1px;
  background: var(--color-text-darker);
  margin: 15px auto 0;
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.testimonial-stars {
  color: var(--star);
  font-size: 20px;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.testimonial-card blockquote {
  font-size: 1.15em;
  line-height: 1.7;
  color: var(--color-text-dark);
  margin: 0 0 24px 0;
  font-style: italic;
}

.testimonial-author {
  font-weight: 500;
  color: var(--color-text-darker);
}

.testimonial-author span {
  color: var(--color-muted);
  font-weight: 300;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 5vw;
  background: var(--color-footer);
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.2em;
  opacity: 0.85;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-cta {
  display: inline-block;
  background: var(--color-brand);
  border: none;
  color: white;
  padding: 18px 50px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cta-section .btn-cta:hover {
  background: var(--color-brand-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }

  .about-preview-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-preview-image {
    order: -1;
  }

  .about-preview-image .placeholder-image {
    margin: 0 auto;
    max-width: 280px;
  }

  .about-preview-text h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .gear-preview-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .gear-preview-image img {
    margin: 0 auto;
    max-width: 280px;
  }

  .gear-preview-text h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-home {
    min-height: 90vh;
  }

  .services,
  .about-preview,
  .gear-preview,
  .portfolio-preview,
  .testimonial-home {
    padding: 60px 4vw;
  }

  .services h2,
  .about-preview h2,
  .gear-preview h2,
  .portfolio-preview h2,
  .testimonial-home h2 {
    margin-bottom: 36px;
  }

  .service-card-image {
    height: 180px;
  }

  .service-card-content {
    padding: 22px;
  }

  .testimonial-card {
    padding: 28px 22px;
  }

  .cta-section {
    padding: 70px 4vw;
  }
}

@media (max-width: 480px) {
  .hero-home h1 {
    font-size: 42px;
  }

  .services,
  .about-preview,
  .gear-preview,
  .portfolio-preview,
  .testimonial-home {
    padding: 50px 3.5vw;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto 30px;
  }

  .cta-section {
    padding: 60px 3.5vw;
  }

  .cta-section .btn-cta {
    padding: 16px 36px;
  }
}
