/* Index Page Styles - 3E Makina */

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* CLS optimization - prevent layout shift */
    aspect-ratio: 16 / 9;
}

/* Hero overlay kaldırıldı - mavi overlay sorunu çözüldü */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 0 20px;
    color: white;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease forwards;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.03em;
    /* CLS optimization - reserve space to prevent layout shift */
    min-height: 1.2em;
    line-height: 1.2;
}

.hero-content .hero-subtitle {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    line-height: 1.6;
    min-height: 2em;
    position: relative;
}

.hero-content .hero-subtitle::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    font-size: 1.1rem;
    padding: 15px 40px;
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Scrolling Slogan Banner */
.slogan-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 25px 0;
    overflow: hidden;
    position: relative;
    border-top: 3px solid var(--gold-color);
    border-bottom: 3px solid var(--gold-color);
}

.slogan-track {
    display: flex;
    width: fit-content;
    animation: scroll-left 25s linear infinite;
}

.slogan-text {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 80px;
    display: inline-block;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Catalog Cards Section - Modern 3D Flip Design */
.catalog-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.catalog-section .section-title h2 {
    color: var(--primary-color);
}

.catalog-section .section-title p {
    color: var(--text-light);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    perspective: 1000px;
}

/* Card Wrapper for 3D Effect */
.catalog-card-wrapper {
    height: 400px;
    perspective: 1000px;
    position: relative;
}

.catalog-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
    transform-origin: center center;
}

.catalog-card-wrapper:hover .catalog-card,
.catalog-card-wrapper.flipped .catalog-card {
    transform: rotateY(180deg);
}

/* Hide card-icon when card is flipped (mobile) or hovered (desktop) */
.catalog-card-wrapper.flipped .card-icon,
.catalog-card-wrapper:hover .card-icon {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Ensure card-front and its children don't show when flipped */
.catalog-card-wrapper.flipped .card-front,
.catalog-card-wrapper:hover .card-front {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Card Front & Back */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* Card Front */
.card-front {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
    border: 2px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
}

.card-front::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

.card-icon {
    width: 140px;
    height: 140px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(33, 45, 85, 0.2));
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Prevent icon showing on card back when flipped */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    /* CLS optimization - prevent layout shift */
    aspect-ratio: 1 / 1;
    display: block;
}

.catalog-card-wrapper:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 8px 20px rgba(212, 175, 55, 0.3));
}

.catalog-card-wrapper:hover .card-icon img {
    transform: scale(1.05);
}

.card-front h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    text-align: center;
    position: relative;
    z-index: 2;
}

.card-subtitle {
    font-family: var(--font-primary);
    color: var(--gold-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.card-decoration {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-color));
    border-radius: 10px;
}

/* Card Back */
.card-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 35px;
    color: white;
    top: 0;
    left: 0;
}

.card-back::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.card-back h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.feature-list li {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 12px;
    padding-left: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--gold-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold-color);
}

.card-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--gold-color), var(--gold-dark));
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
}

.card-btn:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* About Section */
.about-section {
    background: white;
    color: var(--text-dark);
}

.about-section .section-title h2 {
    color: var(--primary-color);
}

.about-section .section-title p {
    color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-text p {
    font-family: var(--font-primary);
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
    font-weight: 400;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    /* Beyaz çerçeve/gölgeyi kaldır */
    box-shadow: none;
    background: transparent;
}

.about-image img,
.about-image video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* CLS optimization - prevent layout shift */
    aspect-ratio: 16 / 9;
}

.about-image video {
    border-radius: 15px;
}

/* Video Hero Section */
.video-hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    padding-top: 0;
    padding-bottom: 0;
}

.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* CLS optimization - use modern aspect-ratio instead of padding-bottom */
    aspect-ratio: 16 / 9;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video will cover container, no black bars */
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(33, 45, 85, 0.75) 0%,
        rgba(33, 45, 85, 0.65) 50%,
        rgba(33, 45, 85, 0.75) 100%
    );
    z-index: 2;
}

.video-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    overflow: hidden;
}

.animated-text-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
    max-height: 100%;
    overflow: hidden;
}

.animated-text-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 40px;
    flex-shrink: 0;
}

.animated-text-item.active {
    opacity: 1;
    transform: translateY(0);
}

.animated-text-item[data-text="4"] {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.text-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.text-description {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.text-main {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    color: #ffffff;
    line-height: 1.8;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    font-weight: 500;
    max-width: 850px;
    margin: 0 auto;
}

/* Clickable Stat Card */
.clickable-stat {
    cursor: pointer;
    position: relative;
}

.clickable-stat:hover {
    transform: translateY(-10px) scale(1.05);
}

.click-hint {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(33, 45, 85, 0.9);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.clickable-stat:hover .click-hint {
    opacity: 1;
}

/* World Map Modal */
.world-map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.world-map-modal.active {
    display: flex;
    opacity: 1;
}

.map-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 95vw;
    max-height: 95vh;
    overflow: auto;
    animation: modalSlideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-modal-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

.map-modal-content .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.map-modal-content .modal-close:hover {
    background: linear-gradient(135deg, #c62828, #e53935);
    transform: rotate(90deg) scale(1.1);
}

.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f7fa;
    border-radius: 12px;
    padding: 20px;
}

.world-map-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    /* CLS optimization - prevent layout shift */
    aspect-ratio: 16 / 9;
    display: block;
}

/* Stats Section */
.stats-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.machine-art-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../pics/machineart.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 2;
}

.stats-section .container {
    position: relative;
    z-index: 3;
}

.stats-section .section-title h2 {
    font-family: var(--font-heading);
    color: white;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stats-section .section-title p {
    font-family: var(--font-primary);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: transparent;
    transition: all 0.4s ease;
    position: relative;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    color: white;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.stat-icon svg {
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(3deg);
    filter: drop-shadow(0 6px 12px rgba(255, 255, 255, 0.4));
}

/* SVG Animasyonları */
.icon-machine rect:nth-child(1) {
    animation: machinePulse 2s ease-in-out infinite;
}

.icon-machine rect:nth-child(2) {
    animation: machinePulse 2s ease-in-out infinite 0.2s;
}

.icon-machine circle {
    animation: machineRotate 3s linear infinite;
}

@keyframes machinePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes machineRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon-satisfaction circle:last-of-type {
    animation: satisfactionProgress 3s ease-in-out infinite;
}

@keyframes satisfactionProgress {
    0% { stroke-dashoffset: 251; }
    50% { stroke-dashoffset: 25; }
    100% { stroke-dashoffset: 25; }
}

.icon-globe circle:first-child {
    animation: globeRotate 4s linear infinite;
}

.icon-globe ellipse {
    animation: globeRotate 4s linear infinite reverse;
}

.icon-globe circle:not(:first-child) {
    animation: globePulse 2s ease-in-out infinite;
}

@keyframes globeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes globePulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    line-height: 1;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.stat-label {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: white;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animations for scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Footer margin override for index page */
footer {
    margin-top: 0 !important;
}

/* Responsive */
/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    /* Video Hero Section */
    .video-content {
        padding: 0 30px;
    }
    
    .text-title {
        font-size: 2.3rem;
    }
    
    .text-description {
        font-size: 1.25rem;
    }
    
    .text-main {
        font-size: 1.35rem;
    }
    
    .animated-text-item {
        margin-bottom: 35px;
    }
}

@media (max-width: 1024px) {
    /* Video Hero Section */
    .video-content {
        padding: 0 25px;
    }
    
    .text-title {
        font-size: 2.1rem;
    }
    
    .text-description {
        font-size: 1.2rem;
    }
    
    .text-main {
        font-size: 1.3rem;
    }
    
    .animated-text-container {
        max-width: 800px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .catalog-card-wrapper {
        height: 380px;
    }
}

@media (max-width: 768px) {
    /* Video Hero Section Responsive */
    .video-container {
        aspect-ratio: 4 / 3; /* Daha yüksek aspect ratio mobilde */
    }
    
    .video-content {
        padding: 0 20px;
        align-items: center;
    }
    
    .animated-text-container {
        max-width: 100%;
        max-height: 100%;
        overflow: hidden;
    }
    
    .text-title {
        font-size: 1.3rem;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .text-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .text-main {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .animated-text-item {
        margin-bottom: 10px;
    }
    
    .animated-text-item[data-text="4"] {
        margin-top: 12px;
        padding-top: 10px;
        border-top-width: 1px;
    }
    
    /* World Map Modal Responsive */
    .map-modal-content {
        padding: 25px;
        max-width: 98vw;
    }
    
    .map-modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .map-modal-content .modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .map-container {
        padding: 15px;
    }
    
    .click-hint {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    .hero-section {
        height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Slogan Banner Responsive */
    .slogan-banner {
        padding: 18px 0;
    }
    
    .slogan-text {
        font-size: 1.3rem;
        padding: 0 50px;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .catalog-card-wrapper {
        height: 350px;
    }
    
    .card-front h3 {
        font-size: 1.5rem;
    }
    
    .card-back h3 {
        font-size: 1.4rem;
    }
    
    .card-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }
    
    .feature-list li {
        font-size: 0.95rem;
    }
    
    .card-btn {
        font-size: 0.95rem;
        padding: 10px 25px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .machine-art-overlay {
        opacity: 0.1;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    /* Video Hero Section Mobile */
    .video-container {
        padding-bottom: 100%; /* Mobilde daha yüksek */
    }
    
    .video-content {
        padding: 0 15px;
        align-items: center;
    }
    
    .animated-text-container {
        max-width: 100%;
        max-height: 100%;
        overflow: hidden;
    }
    
    .text-title {
        font-size: 0.77rem; /* %30 küçültüldü: 1.1rem * 0.7 */
        margin-bottom: 4px;
        line-height: 1.2;
    }
    
    .text-description {
        font-size: 0.525rem; /* %30 küçültüldü: 0.75rem * 0.7 */
        line-height: 1.3;
    }
    
    .text-main {
        font-size: 0.56rem; /* %30 küçültüldü: 0.8rem * 0.7 */
        line-height: 1.4;
    }
    
    .animated-text-item {
        margin-bottom: 6px;
    }
    
    .animated-text-item[data-text="4"] {
        margin-top: 8px;
        padding-top: 6px;
        border-top-width: 1px;
    }
    
    /* Slogan Banner Mobile */
    .slogan-banner {
        padding: 15px 0;
    }
    
    .slogan-text {
        font-size: 1rem;
        padding: 0 40px;
        letter-spacing: 0.05em;
    }
    
    .catalog-card-wrapper {
        height: 320px;
    }
    
    .card-front {
        padding: 35px 25px;
    }
    
    .card-back {
        padding: 30px 25px;
    }
    
    .card-front h3 {
        font-size: 1.3rem;
    }
    
    .card-back h3 {
        font-size: 1.2rem;
    }
    
    .card-subtitle {
        font-size: 0.85rem;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    /* Video Hero Section Extra Small */
    .video-container {
        padding-bottom: 110%;
    }
    
    .video-content {
        padding: 0 12px;
        align-items: center;
    }
    
    .animated-text-container {
        max-height: 100%;
        overflow: hidden;
    }
    
    .text-title {
        font-size: 0.7rem; /* %30 küçültüldü: 1rem * 0.7 */
        margin-bottom: 3px;
        line-height: 1.15;
    }
    
    .text-description {
        font-size: 0.49rem; /* %30 küçültüldü: 0.7rem * 0.7 */
        line-height: 1.25;
    }
    
    .text-main {
        font-size: 0.525rem; /* %30 küçültüldü: 0.75rem * 0.7 */
        line-height: 1.35;
    }
    
    .animated-text-item {
        margin-bottom: 5px;
    }
    
    .animated-text-item[data-text="4"] {
        margin-top: 6px;
        padding-top: 5px;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .video-container {
        padding-bottom: 50%;
    }
    
    .video-content {
        padding: 0 20px;
        align-items: center;
    }
    
    .animated-text-container {
        max-height: 100%;
        overflow: hidden;
    }
    
    .text-title {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .text-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .text-main {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .animated-text-item {
        margin-bottom: 10px;
    }
    
    .animated-text-item[data-text="4"] {
        margin-top: 12px;
        padding-top: 10px;
    }
}

