/* ==========================================================================
   ŞİİRHANE · SÜKÛT GÜLÜ STİLLERİ (ANASAYFA ŞERİT & SÜKÛT GÜLÜ SAYFASI)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ANASAYFA İNCE ŞERİT (ROSE RIBBON)
   -------------------------------------------------------------------------- */
.rose-ribbon-section {
    position: relative;
    border-top: 1px solid var(--line, #e2d7c7);
    border-bottom: 1px solid var(--line, #e2d7c7);
    background: var(--grain, none), rgba(248, 243, 235, 0.65);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.night .rose-ribbon-section {
    background: var(--grain, none), rgba(41, 50, 56, 0.6);
    border-color: #49545a;
}

.rose-ribbon-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 68px;
    display: flex;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.rose-ribbon-wrap:hover {
    background: rgba(230, 57, 70, 0.04);
}

.night .rose-ribbon-wrap:hover {
    background: rgba(255, 255, 255, 0.03);
}

.rose-ribbon-badge {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rose-ribbon-svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.rose-ribbon-halo {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.3) 0%, rgba(230, 57, 70, 0) 70%);
    opacity: 0;
    pointer-events: none;
}

/* Şerit: Açmış Gül */
.rose-ribbon-section.is-bloomed .ribbon-svg-bloomed {
    display: block;
    animation: roseGentleSway 6s ease-in-out infinite;
}

.rose-ribbon-section.is-bloomed .ribbon-svg-withered {
    display: none;
}

.rose-ribbon-section.is-bloomed .rose-ribbon-halo {
    opacity: 1;
    animation: rosePulseHalo 3.6s ease-in-out infinite;
}

.rose-ribbon-section.is-bloomed .rose-ribbon-dot {
    background: #E63946;
    box-shadow: 0 0 6px #E63946;
    animation: roseDotPulse 2s infinite;
}

.rose-ribbon-section.is-bloomed .rose-ribbon-tag-text {
    color: #B5172E;
}

.night .rose-ribbon-section.is-bloomed .rose-ribbon-tag-text {
    color: #ff8591;
}

/* Şerit: Solmuş Gül */
.rose-ribbon-section.is-withered .ribbon-svg-bloomed {
    display: none;
}

.rose-ribbon-section.is-withered .ribbon-svg-withered {
    display: block;
    opacity: 0.65;
    filter: grayscale(0.5) sepia(0.25);
}

.rose-ribbon-section.is-withered .rose-ribbon-halo {
    display: none;
}

.rose-ribbon-section.is-withered .rose-ribbon-dot {
    background: var(--muted, #8c8275);
}

.rose-ribbon-section.is-withered .rose-ribbon-tag-text {
    color: var(--muted, #8c8275);
}

.rose-ribbon-content {
    flex: 1 1 auto;
    min-width: 0;
}

.rose-ribbon-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.rose-ribbon-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rose-ribbon-tag-text {
    font-size: 11px;
    letter-spacing: 1.8px;
    font-weight: 600;
    text-transform: uppercase;
}

.rose-ribbon-text {
    font-size: 15.5px;
    font-style: italic;
    color: var(--ink, #25201b);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.night .rose-ribbon-text {
    color: #eeddc9;
}

.rose-ribbon-action {
    flex-shrink: 0;
}

.rose-ribbon-link {
    font-size: 13px;
    font-weight: 500;
    color: #88613f;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px dashed rgba(136, 97, 63, 0.4);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.night .rose-ribbon-link {
    color: #d6aa87;
    border-bottom-color: rgba(214, 170, 135, 0.4);
}

.rose-ribbon-wrap:hover .rose-ribbon-link {
    color: var(--red, #b5172e);
    border-bottom-color: currentColor;
}


/* --------------------------------------------------------------------------
   2. SÜKÛT GÜLÜ ÖZEL SAYFASI (SUKUT-GULU.PHP)
   -------------------------------------------------------------------------- */
.rose-page-wrapper {
    min-height: calc(100vh - 260px);
}

.rose-page-header {
    max-width: 760px;
    margin-bottom: 28px;
}

.rose-header-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #88613f;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.night .rose-header-eyebrow {
    color: #d6aa87;
}

.rose-story-tag,
.rose-last-bloom-tag {
    font-family: 'Manrope', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #88613f;
    text-transform: uppercase;
}

.night .rose-story-tag,
.night .rose-last-bloom-tag {
    color: #d6aa87;
}

.rose-page-header h1 {
    font-size: 38px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink);
    margin: 4px 0 10px;
}

.rose-feature-grid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 40px;
}

/* Sol Kart: Gül Tablosu & Son Bahar Vakti */
.rose-tableau-card {
    position: relative;
    background: var(--sheet, #faf7f2);
    border: 1px solid var(--line, #e2d7c7);
    border-radius: 8px;
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 14px rgba(50, 38, 26, 0.06);
}

.night .rose-tableau-card {
    background: #252e34;
    border-color: #49545a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.rose-tableau-canvas {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(234, 224, 210, 0.4);
    border: 1px solid var(--line, #e2d7c7);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
}

.night .rose-tableau-canvas {
    background: rgba(255, 255, 255, 0.04);
    border-color: #49545a;
}

.rose-tableau-svg {
    width: 90px;
    height: 90px;
    transition: transform 0.3s ease;
}

.rose-tableau-card.is-bloomed .svg-bloomed {
    display: block;
    animation: roseGentleSway 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(230, 57, 70, 0.2));
}
.rose-tableau-card.is-bloomed .svg-withered { display: none; }

.rose-tableau-card.is-withered .svg-bloomed { display: none; }
.rose-tableau-card.is-withered .svg-withered {
    display: block;
    opacity: 0.65;
    filter: grayscale(0.5) sepia(0.25);
}

.rose-tableau-status {
    margin-bottom: 20px;
    width: 100%;
}

.rose-tableau-dot-wrap {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 4px;
}

.rose-tableau-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--muted, #8c8275);
}

.rose-tableau-card.is-bloomed .rose-tableau-dot {
    background: #E63946;
    box-shadow: 0 0 6px #E63946;
    animation: roseDotPulse 2s infinite;
}

.rose-tableau-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted, #8c8275);
}

.rose-tableau-card.is-bloomed .rose-tableau-label {
    color: #b5172e;
}
.night .rose-tableau-card.is-bloomed .rose-tableau-label {
    color: #ff8591;
}

.rose-tableau-mood {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ink, #3a322c);
}

/* Şık Son Bahar Bölümü */
.rose-last-bloom-box {
    margin-top: auto;
    padding: 16px 14px 10px;
    border-top: 1px dashed var(--line, #e2d7c7);
    width: 100%;
    text-align: center;
    background: rgba(234, 224, 210, 0.25);
    border-radius: 6px;
}

.night .rose-last-bloom-box {
    border-top-color: #49545a;
    background: rgba(255, 255, 255, 0.02);
}

.rose-last-bloom-date {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

/* Sağ Kart: Parşömen Mektup */
.rose-paper-story {
    padding: 36px 40px 32px;
    display: flex;
    flex-direction: column;
}

.rose-story-heading {
    font-size: 28px;
    font-weight: 600;
    color: var(--ink);
    margin: 2px 0 16px;
}

.rose-story-text {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--ink, #3a322c);
    flex: 1;
}

.rose-story-text p {
    margin-bottom: 14px;
}

.rose-story-lead {
    font-size: 17px;
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   2.1 SÜKÛT GÜLÜ E-POSTA HATIRA ALANI (ROSE MEMORY BOX)
   -------------------------------------------------------------------------- */
.rose-memory-section {
    margin-top: 20px;
    margin-bottom: 8px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.rose-memory-section.hidden {
    display: none;
}

.rose-memory-card {
    position: relative;
    background: rgba(234, 222, 206, 0.45);
    border: 1px solid rgba(181, 23, 46, 0.22);
    border-left: 3px solid #b5172e;
    border-radius: 6px;
    padding: 22px 24px 20px;
    box-shadow: 0 4px 16px rgba(181, 23, 46, 0.04);
}

.night .rose-memory-card {
    background: rgba(43, 31, 33, 0.55);
    border-color: rgba(255, 133, 145, 0.3);
    border-left-color: #e63946;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.rose-memory-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #93192a;
    margin-bottom: 8px;
}

.night .rose-memory-badge {
    color: #ff9aa5;
}

.rose-memory-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b5172e;
    box-shadow: 0 0 6px #e63946;
    animation: roseDotPulse 2s infinite;
}

.rose-memory-invitation {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink, #3a322c);
    margin-bottom: 16px;
}

.rose-memory-invitation em {
    font-family: 'Lora', Georgia, serif;
    color: #88613f;
    display: block;
    margin-top: 4px;
}

.night .rose-memory-invitation em {
    color: #d6aa87;
}

.rose-memory-form {
    margin-top: 12px;
}

.rose-memory-input-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}

.rose-memory-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--ink, #25201b);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--line, #d9cbba);
    border-radius: 5px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.night .rose-memory-input {
    background: rgba(27, 33, 38, 0.9);
    border-color: #49545a;
    color: #eeddc9;
}

.rose-memory-input:focus {
    border-color: #b5172e;
    box-shadow: 0 0 0 3px rgba(181, 23, 46, 0.12);
    background: #ffffff;
}

.night .rose-memory-input:focus {
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
    background: #1f272d;
}

.rose-memory-btn {
    flex-shrink: 0;
    height: 42px;
    padding: 0 18px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff8f0;
    background: #961b2a;
    border: 1px solid #7e1422;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(150, 27, 42, 0.25);
}

.rose-memory-btn:hover {
    background: #b5172e;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(181, 23, 46, 0.3);
}

.rose-memory-btn:active {
    transform: translateY(0);
}

.rose-memory-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.rose-memory-feedback {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    display: none;
}

.rose-memory-feedback.is-success {
    display: block;
    color: #2b6638;
    background: rgba(43, 102, 56, 0.08);
    border: 1px solid rgba(43, 102, 56, 0.25);
    padding: 10px 14px;
    border-radius: 4px;
}

.night .rose-memory-feedback.is-success {
    color: #72cc85;
    background: rgba(43, 102, 56, 0.2);
    border-color: rgba(114, 204, 133, 0.35);
}

.rose-memory-feedback.is-error {
    display: block;
    color: #a32222;
    background: rgba(163, 34, 34, 0.08);
    border: 1px solid rgba(163, 34, 34, 0.25);
    padding: 10px 14px;
    border-radius: 4px;
}

.night .rose-memory-feedback.is-error {
    color: #ff8585;
    background: rgba(163, 34, 34, 0.2);
    border-color: rgba(255, 133, 133, 0.35);
}

@media (max-width: 600px) {
    .rose-memory-input-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .rose-memory-btn {
        width: 100%;
    }
}

.rose-paper-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--line, #e2d7c7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.night .rose-paper-footer {
    border-top-color: #49545a;
}

.rose-paper-poem {
    font-size: 20px;
    line-height: 1.35;
    color: #8f5c3e;
}

.night .rose-paper-poem {
    color: #d6aa87;
}


/* --------------------------------------------------------------------------
   2.2 MEKTUP MÜHÜR & DOĞRULAMA MODALI (ROSE VERIFY MODAL)
   -------------------------------------------------------------------------- */
.rose-verify-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rose-verify-modal.hidden {
    display: none !important;
}

.rose-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 15, 12, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: roseFadeIn 0.25s ease;
}

.rose-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    z-index: 2;
    animation: roseModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rose-modal-paper {
    padding: 36px 30px 28px;
    text-align: center;
    border-radius: 8px;
    background: var(--sheet, #faf7f2);
    border: 1px solid var(--line, #e2d7c7);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    position: relative;
}

.rose-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: var(--muted, #8c8275);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.rose-modal-close:hover {
    color: var(--rose, #a23838);
    background: rgba(162, 56, 56, 0.08);
    border-color: rgba(162, 56, 56, 0.2);
}

.rose-modal-seal {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #cc3636 0%, #871212 100%);
    box-shadow: 0 4px 16px rgba(181, 23, 46, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.rose-seal-glyph {
    font-size: 26px;
    line-height: 1;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.rose-modal-heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin: 2px 0 8px;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.rose-modal-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted, #665b50);
    margin: 0 0 16px;
}

.night .rose-modal-desc {
    color: #b0a394;
}

.rose-modal-recipient-box {
    background: rgba(234, 224, 210, 0.35);
    border: 1px dashed var(--line, #e2d7c7);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 12.5px;
    color: var(--ink);
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    word-break: break-all;
}

.night .rose-modal-recipient-box {
    background: rgba(255, 255, 255, 0.04);
    border-color: #49545a;
}

.rose-modal-recipient-label {
    color: var(--muted, #8c8275);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.rose-turnstile-wrap {
    min-height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 14px 0 6px;
}

.rose-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
}

.rose-modal-btn-cancel {
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted, #665b50);
    background: transparent;
    border: 1px solid var(--line, #d9cbba);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.rose-modal-btn-cancel:hover {
    color: var(--ink);
    border-color: var(--ink);
    background: rgba(0, 0, 0, 0.03);
}

.night .rose-modal-btn-cancel {
    color: #b0a394;
    border-color: #49545a;
}

.night .rose-modal-btn-cancel:hover {
    color: #eeddc9;
    border-color: #eeddc9;
    background: rgba(255, 255, 255, 0.04);
}

.rose-modal-btn-submit {
    height: 40px;
    padding: 0 20px;
    font-size: 13.5px;
}

@keyframes roseFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes roseModalPop {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* --------------------------------------------------------------------------
   3. ANİMASYONLAR & RESPONSIVE
   -------------------------------------------------------------------------- */
@keyframes rosePulseHalo {
    0%, 100% { transform: scale(0.9); opacity: 0.35; }
    50% { transform: scale(1.35); opacity: 0.85; }
}

@keyframes roseGentleSway {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-3deg) scale(1.03); }
    75% { transform: rotate(3deg) scale(1.02); }
}

@keyframes roseDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

@media (max-width: 900px) {
    .rose-ribbon-wrap {
        padding: 14px 28px;
        gap: 16px;
    }
    .rose-ribbon-text {
        font-size: 14px;
    }
    .rose-feature-grid {
        grid-template-columns: 1fr;
    }
    .rose-paper-story {
        padding: 28px 20px 24px;
    }
    .rose-paper-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 650px) {
    .rose-ribbon-wrap {
        padding: 12px 18px;
        gap: 12px;
    }
    .rose-ribbon-badge {
        width: 36px;
        height: 36px;
    }
    .rose-ribbon-text {
        font-size: 13px;
        white-space: normal;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .rose-ribbon-action {
        display: none;
    }
}
