/* Tarabak Sayfası Stilleri */

/* Hero Section */
.tarabak-hero {
    background: #ebeae7;
    padding: 0;
    text-align: center;
    color: #153362;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 600px;
}

.hero-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
}

.hero-logo img {
    width: auto;
    height: 100%;
    padding: 0;
    top: 0;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: auto;
}

.hero-image img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #153362;
}

.hero-content p {
    font-size: 1.6rem;
    max-width: 800px;
    margin: 0 auto;
    color: #f88414;
}

/* Giriş Bölümü */
.tarabak-intro-slider {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.intro-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px;
}

.intro-content {
    flex: 1;
}

.intro-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #153362;
}

.intro-content p {
    font-size: 1.3em;
    line-height: 1.6;
    color: #153362;
}

.intro-slider {
    flex-shrink: 0;
    width: 403px;
    color: #f88414;
}

.tarabak-slider {
    width: 403px;
    height: 403px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    background: rgba(0, 0, 0, 0.3);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(37, 99, 235, 0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem !important;
}

/* Özellikler Bölümü */
.tarabak-features {
    padding: 6rem 2rem;
    background: #ffffff;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.616);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 3.5rem;
    color: #f88414;
    margin-bottom: 1.5rem;
}

.feature-item h2 {
    font-size: 1.8rem;
    color: #153362;
    margin-bottom: 1.5rem;
}

.feature-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-item ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #153362;
}

.feature-item ul li::before {
    content: '•';
    color: #f88414;
    position: absolute;
    left: 0;
}

/* Faydalar Bölümü */
.tarabak-benefits {
    padding: 6rem 2rem;
    background: var(--white);
    text-align: center;
}

.tarabak-benefits h2 {
    font-size: 2.5rem;
    color: #153362;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.4s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.benefit-item i {
    font-size: 2.5rem;
    color: #f88414;
    margin-bottom: 1rem;
}

.benefit-item p {
    font-size: 1.1rem;
    color: #153362;
    line-height: 1.6;
}

/* Nasıl Kullanılır Bölümü */
.tarabak-how-to {
    padding: 6rem 2rem;
    background: var(--light-bg);
    text-align: center;
}

.tarabak-how-to h2 {
    font-size: 2.5rem;
    color: #153362;
    margin-bottom: 3rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    position: relative;
    transition: all 0.4s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #f88414;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    color: #f88414;
    margin-bottom: 1rem;
}

.step p {
    color: #153362;
    line-height: 1.6;
}

/* CTA Bölümü */
.tarabak-cta {
    background: linear-gradient(45deg, #f88414, #fafafa);
    padding: 6rem 2rem;
    text-align: center;
    color: #153362;
    position: relative;
    overflow: hidden;
}

.tarabak-cta::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 15s infinite;
}

.tarabak-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.tarabak-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.tarabak-cta .cta-button {
    background: var(--white);
    color: #f88414;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.tarabak-cta .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .hero-logo {
        width: 250px;
    }
    
    .hero-image {
        width: 400px;
    }
}

@media (max-width: 992px) {
    .hero-logo {
        width: 200px;
    }
    
    .hero-image {
        width: 350px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.6rem;
    }

    .intro-slider-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .intro-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .tarabak-hero {
        padding: 6rem 1rem;
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .hero-logo {
        position: relative;
        width: 180px;
        margin: 1rem auto;
        transform: none;
        top: 0;
        display: none;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 300px;
        margin: 1rem auto;
        display: none;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .feature-item {
        padding: 2rem 1.5rem;
    }

    .benefits-grid,
    .steps-container {
        grid-template-columns: 1fr;
    }

    .tarabak-cta h2 {
        font-size: 2rem;
    }

    .tarabak-cta p {
        font-size: 1.1rem;
    }

    .tarabak-intro-slider {
        padding: 4rem 0;
    }
    .tarabak-intro-slider h2 {
        font-size: 2rem;
    }
    .tarabak-intro-slider p {
        font-size: 1.1rem;
    }

    .how-to-swiper {
        height: 350px;
    }

    .slide-content img {
        height: 200px;
    }

    .slide-content h3 {
        font-size: 1.3rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .intro-slider-container {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-slider img {
        width: 100% !important;
        height: auto !important;
        max-width: 403px;
    }

    .tarabak-slider {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
    
    .intro-slider {
        width: 100%;
        max-width: 403px;
    }

    /* Mobil için logo görünürlüğünü ayarla */
    .logo-main {
        display: none;
    }

    .logo-mini {
        display: inline-block !important;
    }

    /* Mobil menü stilleri */
    .mobile-menu-btn {
        display: block; /* Mobilde görünür */
        position: fixed;
        top: 25px; /* Logoyla hizalamak için aşağı alındı */
        right: 15px;
        z-index: 1100; /* Header'ın üzerinde */
        width: 40px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    .mobile-menu-btn span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #f88414; /* Çubuk rengi */
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(13px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-13px) rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100%;
        background-color: #fff;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        padding-top: 80px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        perspective: 1000;
        -webkit-perspective: 1000;
        visibility: hidden; /* Menü kapalıyken gizle */
    }

    .mobile-menu-logo {
        padding: 20px;
        text-align: center;
        border-top: 1px solid #eee;
    }

    .mobile-menu-logo img {
        width: 150px;
        height: auto;
    }

    .mobile-menu.active {
        transform: translateX(0);
        visibility: visible; /* Menü açıkken göster */
    }

    .mobile-menu-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.8rem;
        color: #333;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
    }

    .mobile-menu .nav-links {
        list-style: none;
        padding: 0;
        margin: 0;
        flex-direction: column; /* Menü linklerini dikey sırala */
        align-items: flex-start;
    }

    .mobile-menu .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee; /* Ayrım çizgisi */
    }

    .mobile-menu .nav-links li:last-child {
        border-bottom: none;
    }

    .mobile-menu .nav-links li a {
        display: block;
        padding: 15px 20px;
        text-decoration: none;
        color: #333; /* Link rengi */
        transition: background-color 0.2s ease;
    }

    .mobile-menu .nav-links li a:hover {
        background-color: #f8f8f8;
    }

    .mobile-menu .nav-links li a.active {
        color: #f88414;
        position: relative;
    }

    .mobile-menu .nav-links li a.active::after {
        content: '';
        display: block;
        position: absolute;
        left: 15px;
        right: 15px;
        bottom: 5px;
        height: 2px;
        background-color: #f88414;
        border-radius: 1px;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: opacity, visibility;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Masaüstünde menü öğelerini gizle */
@media (min-width: 769px) {
    .mobile-menu-btn,
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
    .nav-links {
        display: flex !important; /* Masaüstünde nav linklerini göster */
    }
}

/* İletişim Sayfası Stilleri */
.contact-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    padding: 2rem;
}

.contact-info h1 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #f88414;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.contact-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f88414;
}

.submit-button {
    background-color: #f88414;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #e67a12;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Özellikler Vitrini */
.features-showcase {
    padding: 4rem 2rem;
    background: linear-gradient(45deg, #fff5eb, #fff);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(248, 132, 20, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f88414, #ff9d4d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(248, 132, 20, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #fff5eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;
    color: #f88414;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #f88414;
}

.feature-card:hover .feature-icon i {
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: #f88414;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .features-showcase {
        padding: 3rem 1rem;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.8rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }
}

/* Yeni Özellikler Bölümü Stilleri */
.tarabak-custom-features {
    padding: 60px 20px;
    background-color: #ffffff; /* Beyaz arka plan */
    text-align: center;
}

.custom-features-container {
    max-width: 1000px; /* Genişliği ayarla */
    margin: 0 auto;
    color: #153362;
}

.custom-features-container h2 {
    color: #f88414; /* Başlık rengi */
    font-size: 2.2rem; /* Küçültüldü */
    margin-bottom: 40px;
}

.custom-feature-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Otomatik sığan sütunlar */
    gap: 30px; /* Öğeler arası boşluk */
}

.custom-feature-item {
    background-color: #f5f5f5; /* Açık gri arka plan */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    transition: transform 0.3s ease;
}

.custom-feature-item:hover {
    transform: translateY(-5px); /* Hover'da hafif yukarı kayma */
}

.custom-feature-item h3 {
    color: #153362; /* Alt başlık rengi */
    font-size: 1.2rem; /* Küçültüldü */
    margin-bottom: 15px;
}

.custom-feature-item p {
    color: #333; /* Paragraf rengi */
    font-size: 0.9rem; /* Küçültüldü */
    line-height: 1.6;
}

/* Responsive Ayarlamalar */
@media (max-width: 768px) {
    .tarabak-custom-features {
        padding: 40px 15px;
    }

    .custom-features-container h2 {
        font-size: 1.8rem; /* Küçültüldü */
        margin-bottom: 30px;
    }

    .custom-feature-items {
        gap: 20px;
    }

    .custom-feature-item {
        padding: 20px;
    }

    .custom-feature-item h3 {
        font-size: 1.1rem; /* Küçültüldü */
    }

    .custom-feature-item p {
        font-size: 0.85rem; /* Küçültüldü */
    }

    /* Model Viewer Bölümü */
    .model-viewer-section {
        padding: 40px 15px;
    }

    .model-container h2 {
        font-size: 20px; /* Küçültüldü */
    }

    .model-container p {
        font-size: 15px; /* Küçültüldü */
    }

    #model-container {
        height: 150px;
        margin: 15px auto;
    }
}

/* Model Viewer Bölümü */
.model-viewer-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.model-container {
    max-width: 800px;
    margin: 0 auto;
    color: #333;
}

.model-container h2 {
    color: #f88414;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.model-container p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#model-container {
    width: 100%;
    height: 200px;
    margin: 20px auto;
    overflow: hidden;
}

#model-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .model-viewer-section {
        padding: 40px 15px;
    }

    .model-container h2 {
        font-size: 20px;
    }

    .model-container p {
        font-size: 15px;
    }

    #model-container {
        height: 150px;
        margin: 15px auto;
    }
} 