/* --- REGISZTER & CSÚCSKATEGÓRIÁS DÍSZÍTŐ VÁLTOZÓK --- */
:root {
    --bg-dark: #12281d;
    --bg-cream: #fbf8f3;
    --bg-card: #ffffff;
    --primary-emerald: #1b3a2b;
    --primary-light: #2d5842;
    --gold-primary: #d4af37;
    --gold-hover: #b89228;
    --gold-light: #f7e7b6;
    --text-dark: #222222;
    --text-muted: #5f6c65;
    --shadow-soft: 0 15px 35px rgba(27, 58, 43, 0.08);
    --shadow-hover: 0 20px 40px rgba(212, 175, 55, 0.25);
    --radius: 12px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
  }
  
  /* --- CANVAS SZIROM ANIMÁCIÓ --- */
  #petalsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
  }
  
  /* --- TIPOGRÁFIA --- */
  h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
  }

  .couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3.8rem, 8vw, 5.8rem);
    color: var(--primary-emerald);
    line-height: 1.1;
    margin: 15px 0;
    padding: 0.3em;
  }
  
  .shimmer {
    background: linear-gradient(90deg, #1b3a2b 0%, #d4af37 50%, #1b3a2b 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 6s linear infinite;
  }
  
  @keyframes shine {
    to { background-position: 200% center; }
  }
  
  .section-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .section-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--primary-emerald);
    margin-bottom: 45px;
    position: relative;
  }
  
  .section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 15px auto 0;
  }
  
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
  }
  
  .section {
    padding: 100px 0;
  }
  
  .text-center { text-align: center; }
  
  /* --- FINOMÍTOTT ÁTTETSZŐ NAVIGÁCIÓ (HEADER) --- */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(0px);
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
  }
  
  .navbar.scrolled {
    padding: 12px 0;
    background: rgba(18, 40, 29, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  }
  
  .nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
  }
  
  .nav-logo {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: var(--transition);
  }
  
  .navbar.scrolled .nav-logo {
    color: var(--gold-primary);
    text-shadow: none;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
  }
  
  .nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    transition: var(--transition);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  }
  
  .navbar.scrolled .nav-links a {
    color: #e2ece7;
    text-shadow: none;
  }
  
  .nav-links a:hover {
    color: var(--gold-primary) !important;
  }
  
  .btn-nav {
    border: 1px solid var(--gold-primary);
    padding: 8px 22px !important;
    border-radius: 30px;
    color: var(--gold-primary) !important;
    background: rgba(212, 175, 55, 0.1);
  }
  
  .btn-nav:hover {
    background: var(--gold-primary);
    color: #12281d !important;
  }
  
  .mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
  }
  
  .mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--gold-primary);
  }
  
  .mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(18, 40, 29, 0.96);
    backdrop-filter: blur(15px);
    padding: 25px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    z-index: 999;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  }
  
  .mobile-nav ul {
    list-style: none;
    text-align: center;
  }
  
  .mobile-nav li { margin: 15px 0; }
  
  .mobile-nav a {
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
  
  .mobile-rsvp-btn {
    color: var(--gold-primary) !important;
    font-weight: 700;
  }
  
  /* --- HERO SZEKCIÓ ÉS HARMONIKUS KÁRTYA --- */
  .hero-section {
    min-height: 100vh;
    padding: 130px 20px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 40, 29, 0.8), rgba(0, 0, 0, 0.55));
  }
  
  .invitation-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius);
    padding: 45px 35px;
    max-width: 680px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  }
  
  .card-inner-frame {
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 35px 25px;
    border-radius: 8px;
    position: relative;
  }
  
  .corner-svg {
    position: absolute;
    width: 40px;
    height: 40px;
  }
  
  .corner-svg.top-left { top: 8px; left: 8px; }
  .corner-svg.top-right { top: 8px; right: 8px; }
  .corner-svg.bottom-left { bottom: 8px; left: 8px; }
  .corner-svg.bottom-right { bottom: 8px; right: 8px; }
  
  .sub-welcome {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.82rem;
    color: var(--text-muted);
  }
  
  .invitation-text {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: #333;
    margin: 20px 0 30px;
    line-height: 1.8;
  }
  
  /* DÁTUM BÁDZS (MINTA ALAPJÁN) */
  .date-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
  }
  
  .date-line {
    height: 1px;
    flex: 1;
    background: var(--gold-primary);
  }
  
  .date-content {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .date-content .year, .date-content .month {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: var(--primary-emerald);
    font-weight: 700;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 2px 8px;
  }
  
  .date-content .day {
    font-size: 3.8rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
  }
  
  .card-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 30px 0;
  }
  
  .detail-block h3 {
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--primary-emerald);
  }
  
  .detail-block p { font-size: 0.85rem; color: #555; }
  .detail-block .time { font-weight: 700; color: #1a1a1a; font-size: 1.3rem; }
  
  .divider-line {
    width: 1px;
    height: 55px;
    background: #222;
  }
  
  .deadline-note {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
  }
  
  /* --- VISSZASZÁMLÁLÓ --- */
  .countdown-section {
    background: var(--primary-emerald);
    color: #fff;
  }
  
  .countdown-section .section-title { color: #fff; }
  
  .timer-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .timer-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius);
    padding: 25px 20px;
    min-width: 110px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: var(--transition);
  }
  
  .timer-box:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-hover);
  }
  
  .timer-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
  }
  
  .timer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    color: #d1dcd6;
  }
  
  /* --- TIMELINE --- */
  .timeline {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-primary), var(--primary-emerald));
  }
  
  .timeline-item {
    display: flex;
    margin-bottom: 35px;
    align-items: center;
    position: relative;
  }
  
  .timeline-badge {
    width: 100px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-primary);
    font-family: 'Cormorant Garamond', serif;
  }
  
  .timeline-card {
    flex: 1;
    background: #fff;
    padding: 22px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
  }
  
  .timeline-card.highlight {
    border-left: 4px solid var(--gold-primary);
    background: #fffdf7;
  }
  
  .timeline-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-hover);
  }
  
  .timeline-icon { font-size: 2rem; }
  
  .timeline-info h3 {
    font-size: 1.3rem;
    color: var(--primary-emerald);
    margin-bottom: 4px;
  }
  
  .timeline-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
  }
  
  /* --- HELYSZÍN --- */
  .venue-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  
  .venue-image-side {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 350px;
  }
  
  .venue-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 58, 43, 0.4);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: #fff;
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
  }
  
  .venue-content-side { padding: 40px; }
  
  .venue-address {
    font-weight: 600;
    color: var(--gold-primary);
    margin: 10px 0 15px;
  }
  
  .venue-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .map-frame {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #e2dad0;
  }
  
  /* --- GALÉRIA --- */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .gallery-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 260px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
  }
  
  .gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  
  .gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 58, 43, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: var(--transition);
  }
  
  .gallery-card:hover img { transform: scale(1.1); }
  .gallery-card:hover .gallery-hover-overlay { opacity: 1; }
  
  /* --- UPLOAD BOX --- */
  .upload-section {
    background: linear-gradient(135deg, var(--primary-emerald), #0e2017);
    color: #fff;
  }
  
  .upload-box {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 30px;
  }
  
  .upload-icon { font-size: 3.5rem; margin-bottom: 15px; }
  
  .upload-box h2 {
    font-size: 2.2rem;
    color: var(--gold-primary);
    margin-bottom: 15px;
  }
  
  .upload-box p { color: #d1dcd6; margin-bottom: 30px; }
  
  /* --- RSVP FORM --- */
  .rsvp-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 50px 40px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.25);
  }
  
  .rsvp-subtitle { color: var(--text-muted); margin-bottom: 30px; }
  
  .form-group { margin-bottom: 22px; }
  
  .form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--primary-emerald);
    margin-bottom: 8px;
  }
  
  .form-group input[type="text"],
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0d8cd;
    background: #fdfbf8;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  }
  
  .radio-custom-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .radio-card {
    border: 1px solid #e0d8cd;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: var(--transition);
    background: #fdfbf8;
  }
  
  .radio-card:hover { border-color: var(--gold-primary); }
  .radio-card input { margin-top: 4px; }
  
  .radio-title {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-emerald);
  }
  
  .radio-desc { display: block; font-size: 0.75rem; color: var(--text-muted); }
  
  .honeypot { display: none; }
  
  .form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    text-align: center;
  }
  
  .form-message.success { background: #e8f5e9; color: #2e7d32; display: block; }
  .form-message.error { background: #ffebee; color: #c62828; display: block; }
  
  /* --- GOMBOK --- */
  .btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .btn-gold {
    background: linear-gradient(135deg, #d4af37, #b89228);
    color: #fff;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
  }
  
  .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.4);
  }
  
  .btn-outline {
    border: 2px solid var(--primary-emerald);
    color: var(--primary-emerald);
    background: transparent;
  }
  
  .btn-outline:hover {
    background: var(--primary-emerald);
    color: #fff;
  }
  
  .btn-block { width: 100%; }
  
  .pulse-glow { animation: pulse 2.5s infinite; }
  
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
  }
  
  /* --- SCROLL REVEAL --- */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* --- LIGHTBOX --- */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
  }
  
  .lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
  }
  
  .lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
  }
  
  .footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 50px 0;
  }
  
  .footer-names {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: var(--gold-primary);
  }
  
  .footer-date {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #a0b2a8;
    margin: 10px 0;
  }
  
  .footer-copy { font-size: 0.85rem; color: #7f9489; }
  
  @media (max-width: 768px) {
    .venue-card { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .radio-custom-group { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item { flex-direction: column; align-items: flex-start; }
    .timeline-badge { width: 100%; margin-bottom: 8px; padding-left: 35px; }
    .timeline-card { width: 100%; }
  }