.mobile-extra {
    display: none;
}

.pink-btn {
    background-color: #f8b4c4 !important;
    border-color: #f8b4c4 !important;
    color: #fff !important;
}

.pink-btn:hover {
    background-color: #f48aa3 !important;
    border-color: #f48aa3 !important;
}

.welcome-section {
    padding: 100px 20px !important;
    text-align: center !important;
}

.welcome-section .container {
    max-width: 800px !important;
    margin: 0 auto !important;
    align-items: center;
}

.welcome-section .title {
    font-size: 36px !important;
    margin-bottom: 10px !important;
    color: #333 !important;
}

.welcome-section .subtitle {
    font-size: 20px !important;
    font-weight: normal !important;
    margin-bottom: 30px !important;
    color: #777 !important;
}

.welcome-section p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #444 !important;
    margin-bottom: 20px !important;
}

.welcome-section .highlight {
    font-weight: bold !important;
    font-size: 19px !important;
    color: #f48aa3 !important; /* púder rózsaszín */
}

/* egész blokk */
.wedding-hero {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    align-items: center;
    margin-top: 80px;
}

/* középső vonal */
.divider {
    width: 2px;
    height: 140px;
    background: #f48aa3;
    border-radius: 2px;
}

/* oszlop alap */
.col {
    display: flex;
    flex-direction: column;
}

/* BAL oldal -> jobbra igazítva */
.left {
    text-align: right;
    align-items: flex-end;
    padding-right: 30px;
}

/* JOBB oldal -> balra igazítva */
.right {
    text-align: left;
    align-items: flex-start;
    padding-left: 10px;
}

/* díszes kézírásos név */
.name {
    font-size: 60px;
    font-family: "Great Vibes", cursive;
    color:white;
    line-height: 1;
}

/* alsó sor */
.sub {
    font-size: 18px;
    letter-spacing: 2px;
    color: white;
    margin-top: 8px;
}

/* fade-in */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 MOBILE FIX */
@media (max-width: 500px) {

    .wedding-hero {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .left,
    .right {
        text-align: center;
        align-items: center;
        padding: 0;
    }

    .divider {
        width: 70px;
        height: 2px;
        margin: 10px auto;
        opacity: 0.6;
    }

    .name {
        font-size: 50px;
    }
    
}

/* háttér */
/* 🌸 esküvői háttér */
.wedding-quote {
    position: relative;
    padding: 120px 20px;
    overflow: hidden;

    /* 🌸 középen rózsaszín glow + lágy szélek */
    background: radial-gradient(circle at center,
        rgba(244, 160, 180, 0.45) 0%,
        rgba(255, 230, 238, 0.35) 35%,
        rgba(255, 246, 248, 0.95) 70%,
        rgba(255, 255, 255, 1) 100%
    );
}

/* 🌫️ finom vignette (szélek lágyítása) */
.wedding-quote::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(circle,
        rgba(255,255,255,0) 40%,
        rgba(0,0,0,0.08) 100%
    );

    pointer-events: none;
}

/* 💬 idézet */
.quote-text {
    position: relative;
    font-size: 30px;
    line-height: 1.8;
    font-family: "Great Vibes", cursive;
    font-style: italic;
    color: #444;
    text-align: center;
}

/* idézőjel dekor */
.quote-text::before {
    content: "“";
    font-size: 90px;
    color: rgba(244, 160, 180, 0.4);
    position: absolute;
    top: -50px;
    left: 0;
}

/* 📱 mobil */
@media (max-width: 500px) {
    .quote-text {
        font-size: 18px;
    }
}

/* meghívó*/
.invite-click {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 60px auto;
    padding: 0 15px;
}

/* alap kép */
.invite-click img {
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);

    transition: opacity 0.4s ease, transform 0.3s ease;
    cursor: pointer;
}

/* 🔒 ZÁRT (kisebb) */
.invite-img-closed {
    max-width: 500px;
}

/* 🔓 NYITOTT (nagyobb) */
.invite-img-open {
    max-width: 800px;
}

/* hover CSAK a képen */
.invite-click img:hover {
    transform: scale(1.03);
}

/* fade effekt */
.fade-out {
    opacity: 0;
}

/* 📱 mobil */
@media (max-width: 768px) {
    .invite-img-closed {
        max-width: 90%;
    }

    .invite-img-open {
        max-width: 100%;
    }
}

/*meghivo cim*/

.invite-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* 🔥 vízszintes közép */
    text-align: center;

    width: 100%;
    margin: 60px auto;
}

/*menü style*/
/* fő wrapper */
.wedding-menu {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;

    max-width: 1100px !important;
    margin: 50px auto !important;
    padding: 0 20px !important;
}

/* oszlop */
.wedding-menu-col {
    width: 100% !important;
}

/* cím */
.wedding-menu-title {
    font-family: "Great Vibes", cursive !important;
    font-size: 42px !important;
    text-align: center !important; /* ✅ már középen volt */
    margin-bottom: 20px !important;
}

/* blokkok */
.wedding-menu-block {
    margin-bottom: 25px !important;
}

/* alcím */
.wedding-menu-block h5 {
    color: #d48aa3 !important;
    margin-bottom: 8px !important;
    text-align: center !important; /* ✅ EZ ÚJ */
}

/* lista */
.wedding-menu-block ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important; /* ✅ EZ ÚJ */
}

.wedding-menu-block li {
    margin-bottom: 6px !important;
    color: #555 !important;
    text-align: center !important; /* ✅ EZ ÚJ */
}

/* 📱 mobil */
@media (max-width: 768px) {
    .wedding-menu {
        grid-template-columns: 1fr !important;
    }
}

/*képfeltöltés*/
/* fő section háttér marad, csak finomítás */
#photouploadsection {
    padding: 100px 20px;
}

#photouploadsection-no-paddle {
    padding: 0px 0px;
}

/* tartalom középre */
#photouploadsection .cta-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* cím */
#photouploadsection h2 {
    font-family: "Great Vibes", cursive;
    font-size: 60px;
    margin-bottom: 30px;
}

#photouploadsection h4 {
    /*font-family: "Great Vibes", cursive;*/
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
}

/* form */
#uploadForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* input mezők */
#uploadForm input[type="text"],
#uploadForm input[type="file"] {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    border-radius: 10px;
    border: none;
    outline: none;
}

/* gomb */
#uploadForm button {
    margin-top: 10px;
    transition: transform 0.2s ease;
}

#uploadForm button:hover {
    transform: scale(1.05);
}

.file-info {
    margin-top: 15px;
    color: #fff;
    font-size: 16px;
    opacity: 0.85;
    text-align: center;
}

/*galéria*/
/* oldal */
.gallery-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 20px;
}

.gallery-title {
    text-align: center;
    font-family: "Great Vibes", cursive;
    font-size: 60px;
    margin: 40px 0;
}

/* user blokk mint kártya */
.user-gallery {
    margin-bottom: 50px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 10px 10px 10px 20px rgba(0,0,0,0.1);
}

/* user cím */
.user-title {
    font-size: 22px;
    margin-bottom: 15px;
    display: flex;
    align-items: left;
    gap: 10px;
}

/* badge */
.new-badge {
    background: #f48aa3;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* 🔥 GALÉRIA RÁCS */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

/* képek NEM full screen */
.gallery-grid img {
    width: 70%;
    height: 80px; /* kisebb magasság */
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

@media (max-width: 500px) {
    .gallery-grid img {
        height: 70px;
    }
}

.gallery-grid img:hover {
    transform: scale(1.05);
}
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

/* ❌ X */
.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

/* ⬇ letöltés */
.download {
    position: absolute;
    top: 20px;
    right: 70px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 10000;
    text-decoration: none;
}

/* nyilak */
.navBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

.prev { left: 20px; }
.next { right: 20px; }


/*kép köszönés oldal*/
/* teljes oldal középre */
.upload-success-page {
    max-width: 900px;
    margin: 120px auto;
    text-align: center;
    padding: 20px;
}

/* cím */
.upload-title {
    font-family: "Great Vibes", cursive;
    font-size: 50px;
    margin-bottom: 10px;
}

/* szöveg */
.upload-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* képek grid */
.uploaded-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 40px;
}

.uploaded-images img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.2s;
}

.uploaded-images img:hover {
    transform: scale(1.05);
}

/* gombok */
.upload-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/*uzenet*/
.w-msg-page {
    max-width: 600px;
    margin: 140px auto 60px auto; /* navbar miatt lejjebb */
    padding: 20px;
    text-align: center;
}

.w-msg-title {
    font-family: "Great Vibes", cursive;
    font-size: 52px;
    margin-bottom: 10px;
}

.w-msg-subtitle {
    font-size: 15px;
    color: #777;
    margin-bottom: 25px;
}

/* FORM FIX – nem flex, mert sokszor törik mobilon */
.w-msg-form {
    display: block;
}

.w-msg-input,
.w-msg-textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 16px;
    box-sizing: border-box;
}

.w-msg-textarea {
    min-height: 150px;
    resize: vertical;
}

.w-msg-input:focus,
.w-msg-textarea:focus {
    border-color: #f48aa3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 138, 163, 0.15);
}

.w-msg-button {
    width: 100%;
    background: #f48aa3;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 999px;
    font-size: 16px;
    cursor: pointer;
}

.w-msg-button:hover {
    background: #e26f8c;
}

/* LOGIN OLDAL*/
/* teljes oldal */
.w-login-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* HERO (nevek rész) */
.w-login-hero {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    align-items: center;
    margin-bottom: 40px;
}

/* vonal */
.w-login-divider {
    width: 2px;
    height: 100px;
    background: #f48aa3;
}

/* oldalak */
.w-login-left {
    text-align: right;
    padding-right: 20px;
}

.w-login-right {
    text-align: left;
    padding-left: 20px;
}

/* nevek */
.w-login-name {
    font-family: "Great Vibes", cursive;
    font-size: 50px;
    line-height: 1;
    text-shadow: 2px 2px 5px rgba(0,0,0,3);
}

/* alsó sor */
.w-login-sub {
    font-size: 16px;
    color: #777;
    margin-top: 5px;
    text-shadow: 2px 2px 5px rgba(0,0,0,3);
}

/* login kártya */
.w-login-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 350px;
    width: 100%;
    text-align: center;
}

/* cím */
.w-login-title {
    margin-bottom: 20px;
}

/* form */
.w-login-form input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    font-size: 16px;
}

.w-login-form input:focus {
    border-color: #f48aa3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(244,138,163,0.15);
}

/* gomb */
.w-login-form button {
    width: 100%;
    padding: 12px;
    border-radius: 999px;
    border: none;
    background: #f48aa3;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.w-login-form button:hover {
    background: #e26f8c;
}

/* hiba */
.w-login-error {
    color: red;
    margin-top: 10px;
}

@media (max-width: 500px) {

    .w-login-hero {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

        .w-login-divider {
        width: 60px;
        height: 2px;
        margin: 10px auto;
    }

  .w-login-hero {
    display: flex;
    flex-direction: column;
  }

  .w-login-left,
  .w-login-right {
    display: contents;
  }

  .w-login-name:nth-of-type(1) { order: 1; } /* Elisabeth */
  .w-login-divider { order: 2; }
  .w-login-name:nth-of-type(2) { order: 3; } /* Krisztián */
  .w-login-right .w-login-sub { order: 4; } /* dátum */
  .w-login-left .w-login-sub { order: 5; } /* Nyírtass legalul */

}

/*qr kod*/
.w-login-help {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
    text-shadow: 2px 2px 5px rgba(0,0,0,3);
}

.w-login-qr-btn {
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    background: #f48aa3;
    color: white;
    cursor: pointer;
}

.w-login-qr-btn:hover {
    background: #e26f8c;
}

.w-qr-reader {
    width: 260px;
    margin: 20px auto;
}

/* alapból ELTÜNTETJÜK */
.w-login-qr-btn,
.w-qr-reader,
.w-login-help {
    display: none;
}

/* 📱 csak mobilon jelenik meg */
@media (max-width: 500px) {
    .w-login-qr-btn,
    .w-login-help {
        display: block;
    }
}


.welcome-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.welcome-text {
    flex: 1;
}

.welcome-image {
    flex: 1;
    text-align: center;
}

.welcome-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-header {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* háttér videó */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* szöveg pozíció */
.header-content {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  
  z-index: 2;
  color: white;
  text-align: right;

  text-shadow: 2px 2px 5px rgba(0,0,0,3);
}

/* nevek */
.names {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

/* dátum */
.date {
  margin-top: 10px;
  font-size: 1.3rem;
  letter-spacing: 3px;
  opacity: 0;
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.8s;
}

/* animáció */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* mobil */
@media (max-width: 768px) {
  .header-content {
    right: 50%;
    top: 56%;
    transform: translate(50%, -50%);
    width: 90%;
  }

  .names {
    font-size: 2rem;
  }

  .date {
    font-size: 1rem;
  }

  .video-header {
    height: 70vh;
  }
}

/*
@media (max-width: 768px) {
  .bg-video {
    object-fit: contain;
    background: white;
  }
}
*/

@media (max-width: 768px) {
  .bg-video {
    object-position: 30% center;
  }
}

.gallery-grid img {
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.3s ease;
}

.gallery-grid img.loaded {
    opacity: 1;
    transform: scale(1);
}

/*spinner*/
.upload-status{
    margin-top:30px;
    text-align:center;
    color:white;
}

.spinner{
    width:50px;
    height:50px;
    border:5px solid rgba(255,255,255,0.3);
    border-top:5px solid white;
    border-radius:50%;
    animation:spin 1s linear infinite;
    margin:0 auto 20px;
}

@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}

.progress{
    width:100%;
    max-width:400px;
    height:18px;
    background:rgba(255,255,255,0.2);
    border-radius:20px;
    overflow:hidden;
    margin:15px auto;
}

.progress-bar{
    width:0%;
    height:100%;
    background:white;
    transition:0.3s;
}

