/* <--------------------------------> */
@keyframes twinkle {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


#photos{
    background:0;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle ease-in-out infinite;
}


.title-text {
    font-family: 'Dancing Script', cursive;
    animation: fadeIn 2s ease-out forwards;
}

.body-text {
    font-family: 'Montserrat', sans-serif;
}

.heart {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.shooting-star {
    position: absolute;
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    animation: shoot 3s linear infinite;
    opacity: 0;
}

@keyframes shoot {
    0% {
        transform: translateX(-100px) translateY(0) rotate(45deg);
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: translateX(calc(100vw + 100px)) translateY(calc(100vh + 100px)) rotate(45deg);
        opacity: 0;
    }
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #ff9eb1;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #ff9eb1;
}

.mobile-menu {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateY(0);
}

.timeline-item {
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.timeline-dot {
    position: relative;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: #8a9cdb;
    left: 50%;
    transform: translateX(-50%);
    top: 30px;
    z-index: -1;
}

.timeline-dot:last-child::before {
    display: none;
}

.section {
    min-height: 100vh;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* <--------------------------------> */
@keyframes twinkle {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle ease-in-out infinite;
}


.title-text {
    font-family: 'Dancing Script', cursive;
    animation: fadeIn 2s ease-out forwards;
}

.body-text {
    font-family: 'Montserrat', sans-serif;
}

.heart {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.shooting-star {
    position: absolute;
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    animation: shoot 3s linear infinite;
    opacity: 0;
}

@keyframes shoot {
    0% {
        transform: translateX(-100px) translateY(0) rotate(45deg);
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: translateX(calc(100vw + 100px)) translateY(calc(100vh + 100px)) rotate(45deg);
        opacity: 0;
    }
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #ff9eb1;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #ff9eb1;
}

.mobile-menu {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateY(0);
}

.section {
    min-height: 100vh;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Timeline styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #ff9eb1;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: #ff9eb1;
    border: 4px solid #ff9eb1;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid #2d3b72;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #2d3b72;
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid #2d3b72;
    border-width: 10px 10px 10px 0;
    border-color: transparent #2d3b72 transparent transparent;
}

.right::after {
    left: -13px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #2d3b72;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-container::before {
        left: 60px;
        border: medium solid #2d3b72;
        border-width: 10px 10px 10px 0;
        border-color: transparent #2d3b72 transparent transparent;
    }

    .left::after,
    .right::after {
        left: 18px;
    }

    .right {
        left: 0%;
    }
}

/* Gallery styles */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.big {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 17, 40, 0.9), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 17, 40, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 17, 40, 0.9), transparent);
    color: white;
    padding: 20px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 158, 177, 0.8);
    color: #0a1128;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background-color: #ff9eb1;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 158, 177, 0.8);
    color: #0a1128;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background-color: #ff9eb1;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}


/* ------------- TODO PAPATYA FALI --------------- */

/* Daisy fortune styles */
.daisy {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.daisy-center {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #ffde59;
    border-radius: 50%;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fortune-reset {
    --tw-bg-opacity: 1;
    background-color: rgb(255 158 177 / var(--tw-bg-opacity, 1));
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 9999px;
    align-items: center;
    display:flex;
    margin-left:auto;
    margin-right:auto;
}

.love-message {
    position: absolute;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    opacity: 0;
    transition: all 0.5s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Dancing Script', cursive;
}

.love-message.show {
    opacity: 1;
    transform: translate(-50%, -100px);
}


.fortune-reset {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.fortune-reset.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.petal {
    position: absolute;
    width: 60px;
    height: 120px;
    background-color: white;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 50%;
    left: 50%;
    transform-origin: center bottom;
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.petal:hover {
    filter: brightness(0.95);
    transform: translateY(-5px) rotate(var(--rotation));
}

.petal.plucked {
    opacity: 0;
    transform: translateY(-50px) rotate(var(--rotation)) scale(0.8);
}

.fortune-result {
    position: relative;
    margin-top: 30px;
    padding: 20px;
    background-color: #2d3b72;
    border-radius: 15px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.fortune-result.show {
    opacity: 1;
    transform: translateY(0);
}

.fortune-reset {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.fortune-reset.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Memory card styles */
.memory-card {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.memory-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.memory-card:hover .memory-card-inner {
    transform: rotateY(180deg);
}

.memory-card-front,
.memory-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.memory-card-back {
    transform: rotateY(180deg);
    background-color: #2d3b72;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Tab styles */
.tab {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tab-active {
    background-color: #ff9eb1;
    color: #0a1128;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

/* <--------------------------------> */
/* GALERİ BÖLÜMÜ İÇİN ÖZEL STİLLER */
.gallery-section {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1a5c 50%, #4a2a8c 100%);
    padding: 80px 20px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1533139502658-0198f920d8e8?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1000&q=80') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #ff9eb1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(255, 158, 177, 0.5);
    position: relative;
    display: inline-block;
}

.gallery-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff9eb1, transparent);
}

.gallery-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #d4e0ff;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(45, 59, 114, 0.5);
    border: 2px solid #8a9cdb;
    color: #d4e0ff;
    padding: 10px 25px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff9eb1;
    color: #0a1128;
    border-color: #ff9eb1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 158, 177, 0.4);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    height: 300px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 158, 177, 0.4);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 17, 40, 0.9), transparent);
    padding: 25px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.photo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 8px;
}

.photo-date {
    font-family: 'Montserrat', sans-serif;
    color: #ff9eb1;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.photo-desc {
    font-family: 'Montserrat', sans-serif;
    color: #d4e0ff;
    font-size: 0.95rem;
    line-height: 1.6;
}

.photo-tag {
    display: inline-block;
    background: rgba(255, 158, 177, 0.2);
    color: #ff9eb1;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* LIGHTBOX STİLLERİ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 40, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 17, 40, 0.9), transparent);
    color: white;
    padding: 25px;
    text-align: center;
}

.lightbox-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #ff9eb1;
}

.lightbox-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #d4e0ff;
}

.lightbox-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #d4e0ff;
    line-height: 1.6;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 158, 177, 0.9);
    color: #0a1128;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.lightbox-close:hover {
    background: #ff9eb1;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 158, 177, 0.9);
    color: #0a1128;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.8rem;
}

.lightbox-nav:hover {
    background: #ff9eb1;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* ANİMASYONLAR */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

.gallery-item:nth-child(7) {
    animation-delay: 0.7s;
}

.gallery-item:nth-child(8) {
    animation-delay: 0.8s;
}

/* RESPONSIVE TASARIM */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .gallery-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }

    .gallery-title {
        font-size: 2.5rem;
    }

    .gallery-subtitle {
        font-size: 1.1rem;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}




/* <--------------------------------> */