/* ===================================
   Muğla Dermo - Özel Tasarım Stilleri
   =================================== */

/* Hero Modern Tasarım */
.hero-modern {
    background: linear-gradient(135deg, rgba(200, 220, 236, 0.3) 0%, rgba(200, 220, 236, 0.1) 100%);
    position: relative;
    overflow: visible;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(98, 0, 35, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-modern::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 139, 200, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* Modern Grid Layout */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.modern-card {
    background: #620023;
    color: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(98, 0, 35, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #CB75AD;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(98, 0, 35, 0.4);
    border-color: rgba(0, 139, 200, 0.3);
}

.modern-card-icon {
    width: 70px;
    height: 70px;
    background: #CB75AD;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(203, 117, 173, 0.3);
}

.modern-card h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.modern-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Zigzag Layout */
.zigzag-section {
    padding: 6rem 0;
}

.zigzag-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.zigzag-item:nth-child(even) {
    direction: rtl;
}

.zigzag-item:nth-child(even) > * {
    direction: ltr;
}

.zigzag-content {
    padding: 2rem;
}

.zigzag-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(123, 104, 238, 0.15);
}

.zigzag-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.zigzag-item:hover .zigzag-image img {
    transform: scale(1.05);
}

.zigzag-content h3 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.zigzag-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

/* Timeline Style Info */
.timeline-info {
    position: relative;
    padding-left: 3rem;
    margin: 2rem 0;
}

.timeline-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #008BC8;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(98, 0, 35, 0.2);
}

.timeline-item h4 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Floating Cards */
.floating-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    perspective: 1000px;
}

.floating-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(98, 0, 35, 0.15);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.floating-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 60px rgba(98, 0, 35, 0.3);
}

.floating-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.floating-card-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #008BC8;
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.floating-card h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Bildiri Kitabı Showcase */
.bildiri-kitabi-showcase {
    display: flex;
    align-items: center;
    gap: 5rem;
    background: linear-gradient(135deg, #fdf0f4 0%, #f9e4ee 100%);
    border-radius: 28px;
    padding: 4rem 5rem;
    box-shadow: 0 15px 50px rgba(98, 0, 35, 0.12);
    border: 1px solid rgba(98, 0, 35, 0.08);
    margin-top: 1rem;
}

/* 3D Book Mockup */
.book-mockup-wrap {
    flex-shrink: 0;
    perspective: 800px;
}

.book-mockup {
    position: relative;
    width: 160px;
    height: 220px;
    transform: rotateY(-20deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.book-mockup:hover {
    transform: rotateY(-30deg);
}

.book-cover {
    position: absolute;
    width: 160px;
    height: 220px;
    background: linear-gradient(160deg, #7a0028 0%, #620023 40%, #430018 100%);
    border-radius: 0 6px 6px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 1rem;
    box-shadow: 6px 6px 20px rgba(0,0,0,0.3);
    z-index: 2;
}

.book-cover-top {
    font-size: 1.6rem;
    color: #CB75AD;
    opacity: 0.9;
}

.book-cover-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.book-cover-sub {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.book-spine {
    position: absolute;
    left: -22px;
    top: 0;
    width: 22px;
    height: 220px;
    background: linear-gradient(to right, #300010, #620023);
    border-radius: 3px 0 0 3px;
    transform: rotateY(-90deg);
    transform-origin: right center;
    z-index: 1;
}

.book-pages {
    position: absolute;
    right: -6px;
    top: 3px;
    width: 8px;
    height: 214px;
    background: repeating-linear-gradient(
        to bottom,
        #f0e8e0,
        #f0e8e0 1px,
        #e8ddd5 2px,
        #e8ddd5 3px
    );
    border-radius: 0 2px 2px 0;
    box-shadow: 2px 0 4px rgba(0,0,0,0.15);
    z-index: 0;
}

/* Content */
.bildiri-kitabi-content {
    flex: 1;
}

.bildiri-kitabi-label {
    display: inline-block;
    background: rgba(98, 0, 35, 0.1);
    color: #620023;
    border: 1px solid rgba(98, 0, 35, 0.2);
    border-radius: 50px;
    padding: 0.35rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.bildiri-kitabi-content h3 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #620023;
    margin-bottom: 0.8rem;
    font-family: var(--font-display);
}

.bildiri-kitabi-content p {
    color: var(--color-gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 420px;
}

.bildiri-kitabi-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #620023;
    color: #ffffff;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(98, 0, 35, 0.35);
}

.bildiri-kitabi-btn:hover {
    background: #8B0035;
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(98, 0, 35, 0.45);
}

.bildiri-kitabi-btn .fa-download {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .bildiri-kitabi-showcase {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 3rem;
    }

    .bildiri-kitabi-content p {
        max-width: 100%;
    }

    .bildiri-kitabi-content h3 {
        font-size: 1.8rem;
    }

    .bildiri-kitabi-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Stats Modern */
.stats-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-modern {
    text-align: center;
    padding: 2.5rem;
    background: rgba(200, 220, 236, 0.2);
    border-radius: 20px;
    border: 2px solid rgba(98, 0, 35, 0.1);
    transition: all 0.3s ease;
}

.stat-modern:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    background: rgba(200, 220, 236, 0.4);
}

.stat-modern-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #620023;
    margin-bottom: 0.5rem;
}

.stat-modern-label {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    font-weight: 600;
}

/* Section Header Modern */
.section-header-modern {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header-modern::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #008BC8;
    border-radius: 2px;
}

.section-label-modern {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background: #008BC8;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title-modern {
    font-family: var(--font-display);
    font-size: 3rem;
    color: #620023;
    margin-bottom: 1rem;
}

.section-desc-modern {
    font-size: 1.2rem;
    color: var(--color-gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 968px) {
    .zigzag-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .zigzag-item:nth-child(even) {
        direction: ltr;
    }
    
    .floating-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title-modern {
        font-size: 2.2rem;
    }
}

/* Badges and Tags */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(200, 220, 236, 0.3);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(98, 0, 35, 0.2);
}

.badge-modern i {
    color: var(--color-accent);
}
