/* =====================================================
   TAN TEKSTİL - PAGES THEME CSS
   Modern, tutarlı ve profesyonel sayfa tasarımları
   ===================================================== */

/* ===================
   HERO BANNER - TÜM SAYFALAR
   =================== */
.page-hero-modern {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0d2137 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 140px 0 80px; /* Header yüksekliği için üst padding artırıldı */
}

.page-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.page-hero-modern::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239,125,0,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero-modern .container {
    position: relative;
    z-index: 2;
}

.page-hero-modern .hero-badge {
    display: inline-block;
    background: rgba(239,125,0,0.2);
    color: #EF7D00;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.page-hero-modern h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-modern .hero-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    line-height: 1.8;
}

.page-hero-modern .hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 2rem;
}

.page-hero-modern .stat-item {
    text-align: center;
}

.page-hero-modern .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #EF7D00;
    display: block;
}

.page-hero-modern .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
    .page-hero-modern {
        min-height: 300px;
        padding: 80px 0 60px;
    }
    .page-hero-modern h1 {
        font-size: 2.5rem;
    }
    .page-hero-modern .hero-stats {
        gap: 20px;
    }
    .page-hero-modern .stat-number {
        font-size: 1.75rem;
    }
}

/* ===================
   SECTION STYLES
   =================== */
.section-modern {
    padding: 100px 0;
}

.section-modern.bg-light {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.section-modern.bg-dark {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
    color: #fff;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(239,125,0,0.1), rgba(239,125,0,0.05));
    color: #EF7D00;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 1rem;
}

.section-modern.bg-dark .section-title {
    color: #fff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.section-modern.bg-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ===================
   CARD STYLES
   =================== */
.card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 35px 30px;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EF7D00, #ff9a3c);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border-color: transparent;
}

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

.card-modern-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.75rem;
    transition: all 0.4s;
}

.card-modern-icon.orange {
    background: linear-gradient(135deg, rgba(239,125,0,0.15), rgba(239,125,0,0.05));
    color: #EF7D00;
}

.card-modern-icon.blue {
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));
    color: #3b82f6;
}

.card-modern-icon.green {
    background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05));
    color: #10b981;
}

.card-modern-icon.purple {
    background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(139,92,246,0.05));
    color: #8b5cf6;
}

.card-modern-icon.red {
    background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(239,68,68,0.05));
    color: #ef4444;
}

.card-modern:hover .card-modern-icon {
    transform: scale(1.1);
}

.card-modern h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 12px;
}

.card-modern p {
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.7;
}

/* ===================
   PRODUCT CARDS
   =================== */
.product-card-modern {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.product-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    border-color: transparent;
}

.product-card-modern .product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-card-modern .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-modern:hover .product-image img {
    transform: scale(1.1);
}

.product-card-modern .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.product-card-modern:hover .product-overlay {
    opacity: 1;
}

.product-card-modern .product-body {
    padding: 24px;
}

.product-card-modern .product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}

.product-card-modern .product-desc {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-card-modern .product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #EF7D00;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.product-card-modern .product-btn:hover {
    gap: 12px;
    color: #d66a00;
}

/* ===================
   CONTACT CARDS
   =================== */
.contact-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.4s;
    height: 100%;
}

.contact-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border-color: #EF7D00;
}

.contact-card-modern .contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EF7D00, #ff9a3c);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 15px 30px rgba(239,125,0,0.3);
}

.contact-card-modern h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 10px;
}

.contact-card-modern p {
    color: #6b7280;
    margin-bottom: 20px;
}

.contact-card-modern a {
    color: #EF7D00;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-card-modern a:hover {
    color: #d66a00;
}

/* ===================
   BUTTONS
   =================== */
.btn-modern {
    background: linear-gradient(135deg, #EF7D00, #ff9a3c);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(239,125,0,0.3);
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(239,125,0,0.4);
    color: #fff;
}

.btn-modern-outline {
    background: transparent;
    color: #EF7D00;
    padding: 14px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #EF7D00;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-modern-outline:hover {
    background: #EF7D00;
    color: #fff;
}

.btn-modern-white {
    background: #fff;
    color: #1a365d;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-modern-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    color: #1a365d;
}

/* ===================
   TIMELINE
   =================== */
.timeline-modern {
    position: relative;
    padding: 20px 0;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #EF7D00, #ff9a3c);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding: 20px 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #EF7D00;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px rgba(239,125,0,0.2);
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.timeline-content h5 {
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #6b7280;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .timeline-modern::before {
        left: 20px;
    }
    .timeline-dot {
        left: 20px;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
    }
}

/* ===================
   STEPS / PROCESS
   =================== */
.step-modern {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EF7D00, #ff9a3c);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 15px 40px rgba(239,125,0,0.3);
    position: relative;
    z-index: 2;
}

.step-modern h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 12px;
}

.step-modern p {
    color: #6b7280;
    max-width: 250px;
    margin: 0 auto;
}

.step-connector {
    position: absolute;
    top: 40px;
    left: 60%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #EF7D00, #ff9a3c);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .step-connector {
        display: none;
    }
}

/* ===================
   INFO BOX
   =================== */
.info-box-modern {
    background: linear-gradient(135deg, #f8fafc, #fff);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid #e5e7eb;
}

.info-box-modern h4 {
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 16px;
}

.info-box-modern p {
    color: #6b7280;
    line-height: 1.8;
}

.info-box-modern ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box-modern ul li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-box-modern ul li:last-child {
    border-bottom: none;
}

.info-box-modern ul li i {
    color: #EF7D00;
    font-size: 1.1rem;
}

/* ===================
   CTA SECTION
   =================== */
.cta-modern {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
}

.cta-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239,125,0,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-modern .container {
    position: relative;
    z-index: 2;
}

.cta-modern h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-modern p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================
   FORM STYLES
   =================== */
.form-modern .form-control,
.form-modern .form-select {
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-modern .form-control:focus,
.form-modern .form-select:focus {
    border-color: #EF7D00;
    box-shadow: 0 0 0 4px rgba(239,125,0,0.1);
}

.form-modern label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-modern textarea.form-control {
    min-height: 150px;
}

/* ===================
   MAP CONTAINER
   =================== */
.map-container-modern {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    height: 400px;
}

.map-container-modern iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================
   GALLERY GRID
   =================== */
.gallery-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .gallery-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-modern {
        grid-template-columns: 1fr;
    }
}

/* ===================
   ANIMATIONS
   =================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===================
   RESPONSIVE
   =================== */
@media (max-width: 992px) {
    .section-modern {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .cta-modern h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-modern {
        padding: 50px 0;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .card-modern {
        padding: 25px 20px;
    }
    .info-box-modern {
        padding: 30px 20px;
    }
}

/* ===================
   OFİS KARTLARI - İLETİŞİM SAYFASI
   =================== */
.office-card-modern {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.office-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.office-header {
    padding: 28px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.office-header .office-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    backdrop-filter: blur(10px);
}

.office-header h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.office-header .office-badge {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.office-body {
    padding: 30px;
    flex: 1;
}

.office-info-item,
.office-hours {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.office-info-item:last-of-type {
    border-bottom: none;
}

.office-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.office-info-item label,
.office-hours label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

.office-info-item a,
.office-info-item p {
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.office-info-item a:hover {
    color: #EF7D00;
}

.office-hours p {
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

.office-footer {
    padding: 20px 30px 30px;
}

.btn-office {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-office:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: #fff;
}

.btn-office i {
    font-size: 1rem;
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, #10b981, #059669);
    padding: 35px 40px;
    border-radius: 20px;
    color: #fff;
}

.info-banner-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.info-banner h5 {
    margin: 0 0 5px;
    font-size: 1.2rem;
    font-weight: 700;
}

.info-banner p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Office Cards Responsive */
@media (max-width: 768px) {
    .office-header {
        padding: 20px;
    }
    
    .office-header .office-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .office-header h4 {
        font-size: 1.25rem;
    }
    
    .office-body {
        padding: 20px;
    }
    
    .office-info-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
    
    .office-footer {
        padding: 15px 20px 20px;
    }
    
    .info-banner {
        padding: 25px;
        text-align: center;
    }
    
    .info-banner .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .info-banner-icon {
        margin: 0 auto;
    }
}
