/* styles.css — Custom styles for Roro & Juampi wedding site */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Decorative flower positioning */
.flower {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

/* Button styles — Primary (green bg, white text) */
.btn-primary {
    display: inline-block;
    background-color: #A8BAA2;
    color: #FBF8F9;
    font-family: 'Lateef', serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 140%;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #8FA786;
}

/* Button styles — Secondary (white bg, brown text) */
.btn-secondary {
    display: inline-block;
    background-color: #FBF8F9;
    color: #6E5E39;
    font-family: 'Lateef', serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 140%;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: #E7EBE5;
}

/* Scroll indicator animation */
.scroll-indicator {
    width: 24px;
    height: 38px;
    border: 1.5px solid rgba(25, 25, 25, 0.4);
    border-radius: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 6px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Popup card */
.popup-card {
    position: relative;
    width: 441px;
    max-width: calc(100vw - 40px);
    border-radius: 30px;
    background-color: #FFF3E7;
    border: 1px solid rgba(25, 25, 25, 0.1);
    overflow: hidden;
}

/* Popup close button */
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    border: 1px solid rgba(25, 25, 25, 0.4);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    z-index: 2;
    transition: border-color 0.2s ease;
}

.popup-close:hover {
    border-color: rgba(25, 25, 25, 0.7);
}

/* Popup content layout */
.popup-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 80px 42px;
}

.popup-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

/* Modal animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fadeIn {
    animation: fadeIn 0.2s ease-out;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}
