/* Content Page Styles */

/* Content Details */
.content-details {
    background: #f8fafc;
}

.content-block {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 12px 50px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.content-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 70px rgba(0,0,0,0.25);
}

.content-section-title {
    color: var(--palmiye-primary);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.content-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--palmiye-primary, #4E9525);
    border-radius: 2px;
}

/* Content Images */
.content-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.content-image {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.content-image:hover {
    transform: scale(1.02);
}

/* Gallery - Optimized for Grid Layout */
.content-gallery {
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    height: 200px !important;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* REFERANSLAR SAYFASI - Logolar için özel stil */
.references-gallery .gallery-item {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

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

.gallery-item::after {
    content: '\F4A4'; /* Bootstrap Icons zoom-in */
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 2.5rem;
    z-index: 3;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
}

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

/* REFERANSLAR SAYFASI - Logo görselleri için özel stil */
.references-gallery .gallery-image {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    max-width: 100%;
    max-height: 100%;
}

.references-gallery .gallery-item:hover .gallery-image {
    transform: scale(1.05) !important; /* Daha az zoom */
}

.references-gallery .gallery-item::before,
.references-gallery .gallery-item::after {
    display: none; /* Hover overlay'i gizle */
}

/* Lightbox Custom Styles */
.glightbox-container {
    z-index: 99999 !important;
    background: rgba(0, 0, 0, 0.95) !important;
}

.glightbox-clean .gslide-media {
    box-shadow: none !important;
}

.gslide-image img {
    max-height: 90vh !important;
    max-width: 90vw !important;
    object-fit: contain !important;
    background: transparent !important;
}

/* Hide title and description - AGRESIF */
.gslide-title,
.gslide-description,
.gslide-desc,
.gdesc-inner,
.description,
.gslide-description *,
.gdesc,
.glightbox .gdesc-inner,
.glightbox-container .gslide-description {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Lightbox overlay */
.goverlay {
    background: rgba(0, 0, 0, 0.95) !important;
}

/* Loading indicator */
.gloader {
    border: 3px solid rgba(255, 255, 255, 0.2) !important;
    border-top-color: white !important;
}

/* Close button - ÇOOK GÖRÜNÜR */
.gclose,
.gbtn.gclose,
button.gclose,
.glightbox-container .gclose {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 999999 !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.gclose:hover,
.gbtn.gclose:hover {
    background: rgba(255, 0, 0, 0.8) !important;
    transform: rotate(90deg) !important;
}

.gclose svg,
.gbtn.gclose svg,
button.gclose svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #333 !important;
    stroke-width: 3 !important;
    display: block !important;
}

.gclose:hover svg,
.gbtn.gclose:hover svg {
    stroke: white !important;
}

/* Navigation arrows - ÇOOK GÖRÜNÜR */
.gnext,
.gprev,
.gbtn.gnext,
.gbtn.gprev,
button.gnext,
button.gprev,
.glightbox-container .gnext,
.glightbox-container .gprev {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 60px !important;
    height: 60px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 999999 !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.gnext,
.gbtn.gnext {
    right: 20px !important;
}

.gprev,
.gbtn.gprev {
    left: 20px !important;
}

.gnext:hover,
.gprev:hover,
.gbtn.gnext:hover,
.gbtn.gprev:hover {
    background: rgba(78, 149, 37, 0.9) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.gnext svg,
.gprev svg,
.gbtn.gnext svg,
.gbtn.gprev svg,
button.gnext svg,
button.gprev svg {
    width: 32px !important;
    height: 32px !important;
    stroke: #333 !important;
    stroke-width: 3 !important;
    display: block !important;
}

.gnext:hover svg,
.gprev:hover svg,
.gbtn.gnext:hover svg,
.gbtn.gprev:hover svg {
    stroke: white !important;
}


    
    /* REFERANSLAR - Mobilde daha küçük */
    .references-gallery .gallery-item {
        height: 150px !important;
        padding: 1rem !important;
    }
}
    
    /* Lightbox butonları */
    .gclose,
    .gbtn.gclose {
        top: 10px !important;
        right: 10px !important;
        width: 44px !important;
        height: 44px !important;
    }
    
    .gnext,
    .gprev,
    .gbtn.gnext,
    .gbtn.gprev {
        width: 50px !important;
        height: 50px !important;
    }
    
    .gnext,
    .gbtn.gnext {
        right: 10px !important;
    }
    
    .gprev,
    .gbtn.gprev {
        left: 10px !important;
    }
}

/* Loading State */
.gallery-item.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Rich Content */
.rich-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #4a5568;
}

.rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4, .rich-content h5, .rich-content h6 {
    color: var(--palmiye-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.rich-content p {
    margin-bottom: 1.5rem;
}

.rich-content ul, .rich-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.rich-content li {
    margin-bottom: 0.5rem;
}

/* Text Content */
.text-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #4a5568;
}

/* Field Cards */
.field-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.field-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: var(--palmiye-primary);
}

.field-icon {
    width: 50px;
    height: 50px;
    background: var(--palmiye-primary, #4E9525);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.field-icon i {
    color: white;
    font-size: 1.2rem;
}

.field-content {
    flex: 1;
}

.field-label {
    color: var(--palmiye-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.field-value {
    color: #4a5568;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA Section */
.content-cta {
    margin: 3rem 0;
}

.cta-card {
    background: var(--palmiye-primary, #4E9525);
    position: relative;
    overflow: hidden;
    color: var(--primary-text, #ffffff) !important;
}

.cta-card * {
    color: var(--primary-text, #ffffff) !important;
}

/* Animated Background Elements */
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.cta-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255,255,255,0.06) 0%, transparent 50%);
    animation: float 12s ease-in-out infinite reverse;
    z-index: 1;
}

/* Floating Particles */
.cta-card .floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cta-card .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.cta-card .particle:nth-child(1) {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.cta-card .particle:nth-child(2) {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.cta-card .particle:nth-child(3) {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 70%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.cta-card .particle:nth-child(4) {
    width: 5px;
    height: 5px;
    top: 80%;
    left: 20%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.cta-card .particle:nth-child(5) {
    width: 4px;
    height: 4px;
    top: 10%;
    left: 60%;
    animation-delay: 8s;
    animation-duration: 24s;
}

.cta-card .particle:nth-child(6) {
    width: 3px;
    height: 3px;
    top: 70%;
    left: 30%;
    animation-delay: 10s;
    animation-duration: 19s;
}

/* Animations */
@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg) scale(1.2);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px) translateX(-15px) rotate(180deg) scale(0.8);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-30px) translateX(5px) rotate(270deg) scale(1.1);
        opacity: 0.4;
    }
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons .btn {
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Features Section */
.feature-card {
    padding: 2rem 1.5rem;
    background: #f8fafc;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    border-color: var(--palmiye-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--palmiye-primary, #4E9525);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

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

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-title {
    color: var(--palmiye-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-text {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Specifications Section */
.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    display: flex;
    align-items: center;
    color: var(--palmiye-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.spec-label i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.spec-value {
    color: #4a5568;
    font-weight: 500;
    text-align: right;
}

/* Process Section */
.process-steps {
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--palmiye-primary, #4E9525);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(78, 149, 37, 0.3);
}

.step-title {
    color: var(--palmiye-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* FAQ Section */
.faq-item {
    background: white;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.faq-question {
    background: #f8fafc;
    padding: 1.5rem;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
    color: var(--palmiye-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #e2e8f0;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Navigation */
.content-nav {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 2rem;
}

.nav-title {
    color: var(--palmiye-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateX(5px);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.widget-title {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* CTA Widget */
.cta-widget {
    background: var(--palmiye-primary, #4E9525);
    color: white;
    text-align: center;
}

.cta-widget .widget-title {
    color: white;
}

.cta-widget .btn {
    margin: 0.5rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .content-block {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .content-nav {
        position: static;
        margin-bottom: 2rem;
    }
    
    /* Gallery responsive - mobilde 2 sütun */
    .content-gallery .row {
        gap: 0.75rem;
    }
    
    .gallery-item::after {
        font-size: 2rem;
    }
}

/* Tablet ve Desktop - Bootstrap otomatik (col-md-3 = 4 sütun) */
