/* Modern Hikayemiz Bölümü Stilleri */
.modern-story-section {
    position: relative;
    padding: 120px 0;
    background: var(--color-four);
    overflow: hidden;
}

.modern-story-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('../images/background/pattern-7.png') repeat;
    opacity: 0.03;
}

.modern-story-content {
    position: relative;
    padding: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-story-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modern-story-title {
    font-size: 18px;
    color: var(--main-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.modern-story-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background: var(--main-color);
}

.modern-story-heading {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: var(--font-family-Forum);
}

.modern-story-text-container {
    position: relative;
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.modern-story-text-wrapper {
    position: relative;
    column-count: 2;
    column-gap: 40px;
    padding: 20px;
}

.modern-story-text-wrapper::before {
    content: '"';
    position: absolute;
    left: -20px;
    top: -60px;
    font-size: 120px;
    color: var(--main-color);
    opacity: 0.3;
    font-family: var(--font-family-Forum);
}

.modern-story-text {
    font-size: 16px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
  
    padding: 0 20px;
}

.modern-story-text::first-letter {
    font-size: 350%;
    color: var(--main-color);
    float: left;
    margin-right: 12px;
    line-height: 0.8;
    font-family: var(--font-family-Forum);
}

.modern-story-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.modern-story-images {
    position: relative;
    margin-bottom: 60px;
}

.modern-story-image-main {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.modern-story-image-main::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

.modern-story-image-main img {
    width: 100%;
    transition: all 0.8s ease;
}

.modern-story-image-main:hover img {
    transform: scale(1.05);
}

.modern-story-image-float {
    position: absolute;
    bottom: -50px;
    right: -30px;
    width: 250px;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 5px solid var(--color-four);
}

.modern-story-image-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.modern-story-image-float:hover img {
    transform: scale(1.1);
}

.modern-story-badge {
    position: absolute;
    top: -30px;
    right: 50px;
    width: 120px;
    height: 120px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

.modern-contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background: var(--main-color);
    color: #ffffff;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--main-color-rgb), 0.3);
}

.modern-contact-btn:hover {
    background: #ffffff;
    color: var(--main-color);
    transform: translateY(-2px);
}

.modern-story-phone {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-story-phone:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@media (max-width: 991px) {
    .modern-story-text-wrapper {
        column-count: 1;
    }
    
    .modern-story-text-container {
        margin-top: 40px;
        padding: 20px;
    }
    
    .modern-story-images {
        margin-bottom: 40px;
    }
    
    .modern-story-image-float {
        width: 200px;
        height: 200px;
        right: -15px;
        bottom: -30px;
    }

    .modern-story-actions {
        flex-direction: column;
        gap: 15px;
    }

    .modern-story-phone,
    .modern-contact-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Modern About Section Styles */
.modern-about-section {
    position: relative;
    padding: 120px 0;
    background: var(--color-four);
    overflow: hidden;
}

.modern-about-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('../images/background/pattern-7.png') repeat;
    opacity: 0.03;
}

.modern-about-gallery-section {
    position: relative;
    margin-bottom: 80px;
}

.modern-gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    height: 500px;
}

.modern-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.modern-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.modern-gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    height: 300px;
}

.modern-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.modern-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.modern-gallery-item:hover img,
.modern-gallery-main:hover img {
    transform: scale(1.1);
}

.modern-gallery-item:hover .modern-gallery-overlay,
.modern-gallery-main:hover .modern-gallery-overlay {
    opacity: 1;
}

.modern-about-content-section {
    position: relative;
    padding-top: 40px;
}

.modern-about-content {
    position: relative;
    padding: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
}

.modern-about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modern-about-subtitle {
    font-size: 18px;
    color: var(--main-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.modern-about-subtitle:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background: var(--main-color);
}

.modern-about-title {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: var(--font-family-Forum);
}

.modern-about-text {
    position: relative;
    font-size: 16px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    margin: 40px auto;
    column-count: 2;
    column-gap: 40px;
    text-align: justify;
    max-width: 900px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-about-text::before {
    content: '"';
    position: absolute;
    left: -10px;
    top: -40px;
    font-size: 100px;
    color: var(--main-color);
    opacity: 0.2;
    font-family: var(--font-family-Forum);
}

.modern-about-text::first-letter {
    font-size: 350%;
    color: var(--main-color);
    float: left;
    margin-right: 12px;
    line-height: 0.8;
    font-family: var(--font-family-Forum);
}

.modern-about-text::after {
    content: '';
    position: absolute;
    right: 30px;
    bottom: -15px;
    width: 70px;
    height: 70px;
    background: url('../images/icons/separator.svg') no-repeat center;
    background-size: contain;
    opacity: 0.1;
    transform: rotate(45deg);
}

.modern-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.modern-stat {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.modern-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 991px) {
    .modern-gallery-main {
        height: 400px;
    }

    .modern-gallery-item {
        height: 200px;
    }

    .modern-about-text {
        column-count: 1;
        padding: 30px;
    }

    .modern-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .modern-gallery-main {
        height: 300px;
    }

    .modern-gallery-grid {
        gap: 15px;
    }

    .modern-gallery-item {
        height: 150px;
    }

    .modern-about-content {
        padding: 30px 20px;
    }

    .modern-about-text {
        padding: 20px;
        font-size: 15px;
        line-height: 1.8;
    }
}

/* Animasyon ekleyelim */
@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-about-text {
    animation: fadeInText 1s ease-out forwards;
}

/* Modern Menu Book Section */
.menu-book-section {
    position: relative;
    padding: 120px 0;
    background: var(--color-four);
    overflow: hidden;
}

.menu-book-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('../images/background/pattern-7.png') repeat;
    opacity: 0.03;
}

.menu-book-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 2000px;
}

.menu-book {
    position: relative;
    width: 100%;
    height: 800px;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.menu-page {
    position: relative;
    width: 600px;
    height: 800px;
    cursor: pointer;
    transition: all 0.5s ease;
    transform-origin: left center;
}

.menu-page:first-child {
    transform-origin: right center;
}

.menu-page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.menu-page:hover {
    transform: scale(1.02);
}

/* Lightbox Styles */
.menu-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.menu-lightbox.active {
    display: flex;
}

.menu-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.menu-lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.menu-lightbox .close-btn:hover {
    background: #fff;
    color: var(--main-color);
    transform: rotate(90deg);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .menu-page {
        width: 500px;
        height: 650px;
    }
    
    .menu-book {
        height: 650px;
    }
}

@media (max-width: 991px) {
    .menu-page {
        width: 400px;
        height: 520px;
    }
    
    .menu-book {
        height: 520px;
    }
}

@media (max-width: 767px) {
    .menu-book {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }
    
    .menu-page {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 1238/1600;
    }
} 