/* ========================================
   LANDING PAGES - Unified CSS
   For: Svatkorama, Svatkograf, Svatkolist
   ======================================== */

/* Import global styles */
@import url('./global.css');
@import url('./hero-sections.css');

/* ========================================
   STORY BLOCKS (Svatkorama)
   ======================================== */

.story-section {
  padding: 4rem 0;
}

.story-block {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin: 4rem auto;
  max-width: 1200px;
  padding: 0 1.5rem;
}

@media (min-width: 920px) {
  .story-block {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .story-block.reverse {
    direction: rtl;
  }
  
  .story-block.reverse > * {
    direction: ltr;
  }
}

.story-block img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.story-block .text {
  text-align: center;
}

@media (min-width: 920px) {
  .story-block .text {
    text-align: left;
  }
  
  .story-block.reverse .text {
    text-align: right;
  }
}

.story-block h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--primary);
}

.story-block p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.7;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
}

.story-intro {
  background: rgba(255, 248, 231, 0.9);
  padding: 3rem 1.5rem;
  border-radius: 16px;
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.story-intro p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.7;
  color: var(--fg);
  font-family: "Manrope", sans-serif;
  margin: 0;
}

/* ========================================
   SHOWCASE SECTION
   ======================================== */

#showcase.full-bleed {
    padding: 50px 0;
}

/* Svatkorama showcase - pink gradient */
.showcase-svatkorama {
    background: linear-gradient(135deg, #e36acc 0%, #764ba2 100%);
}

/* Svatkograf showcase - blue gradient */
.showcase-svatkograf {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Svatkolist showcase - green gradient */
.showcase-svatkolist {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.showcase-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    background: var(--svc-paper);
    border-radius: var(--svc-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.showcase-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-image-gradient {
    height: 180px;
    background: linear-gradient(135deg, var(--gradient-start, var(--primary)), var(--gradient-end, #764ba2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.showcase-image-gradient span {
    font-size: 3.5rem;
    opacity: 0.5;
}

.showcase-image-with-photo {
    height: 180px;
    background: linear-gradient(135deg, var(--gradient-start, var(--primary)), var(--gradient-end, #764ba2));
    position: relative;
    overflow: hidden;
}

.showcase-image-with-photo img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.95);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.showcase-svatkorama .showcase-badge {
    color: #e36acc;
}

.showcase-svatkograf .showcase-badge {
    color: #667eea;
}

.showcase-svatkolist .showcase-badge {
    color: #10b981;
}

.showcase-content {
    padding: 16px;
}

.showcase-title {
    margin: 0 0 8px 0;
    color: var(--fg);
    font-size: 1.1rem;
    font-weight: 600;
}

.showcase-meta {
    margin: 0;
    color: var(--svc-muted);
    font-size: 0.85rem;
}

.showcase-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--svc-border);
}

.showcase-link {
    font-weight: 600;
    font-size: 0.85rem;
}

.showcase-svatkorama .showcase-link {
    color: #e36acc;
}

.showcase-svatkograf .showcase-link {
    color: #667eea;
}

.showcase-svatkolist .showcase-link {
    color: #10b981;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing-cards {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

@media (min-width: 768px) {
    .pricing-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        align-items: stretch;
    }
}

.pricing-card {
    background: var(--svc-paper);
    border-radius: var(--svc-radius);
    padding: 2rem;
    box-shadow: var(--svc-shadow);
    border: 2px solid var(--svc-border);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(227, 106, 204, 0.2);
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 1.5rem;
}

.pricing-card .price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
}

/* Custom pricing text (e.g., "Po dogovoru") */
.pricing-card .price-custom {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 1.5rem;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-card .features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--svc-border);
    font-size: 0.95rem;
    color: var(--fg);
}

.pricing-card .features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card .ribbon,
.pricing-card .badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), #764ba2);
    color: var(--svc-paper);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pricing-shared {
    background: rgba(255, 248, 231, 0.5);
    padding: 2rem;
    border-radius: var(--svc-radius);
    margin-top: 2rem;
}

.pricing-additional {
    margin-top: 3rem;
}

.pricing-shared h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.pricing-shared .features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-shared .features li {
    padding: 0.5rem 0;
    color: var(--fg);
    font-size: 0.95rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    background: #fff8e7;
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background: var(--svc-paper);
    border-radius: var(--svc-radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(227, 106, 204, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--fg);
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

/* ========================================
   PRIVACY SECTION
   ======================================== */

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-list li {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--svc-paper);
    border-radius: var(--svc-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.privacy-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.privacy-list .icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.privacy-list strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.privacy-list p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

/* ========================================
   BENEFIT LIST
   ======================================== */

.benefit-list,
.benefit-list-svatkolist {
    max-width: 900px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.benefit-list li,
.benefit-list-svatkolist li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--fg);
}

.benefit-list li::before,
.benefit-list-svatkolist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8rem;
    height: 1.8rem;
    background: linear-gradient(135deg, var(--primary), #764ba2);
    color: var(--svc-paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.benefit-list li strong,
.benefit-list-svatkolist li strong {
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   MODAL
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-hidden {
    display: none;
}

.modal-content {
    background: var(--svc-paper);
    border-radius: var(--svc-radius);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 12px 48px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--svc-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--fg);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(0,0,0,0.05);
    color: var(--fg);
}

.modal-body {
    padding: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.nowrap {
    white-space: nowrap;
}

.wrap {
    white-space: normal;
}

.center {
    text-align: center;
}

.lead-justify {
    text-align: justify;
}

.cta {
    text-align: center;
    margin-top: 1.5rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

.notification-success {
    background: #10b981;
    color: var(--svc-paper);
}

.notification-info {
    background: #3b82f6;
    color: var(--svc-paper);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .privacy-list li {
        flex-direction: column;
        gap: 1rem;
    }
}

