/* referanslar.css - ASHIVA Referanslar Sayfası Özel Stilleri */

/* Base Styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* References Hero Section */
.references-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.4) sepia(10%) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 80, 32, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.references-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.references-hero .hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.references-hero .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

/* Introduction Section */
.intro-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #215020;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.intro-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-highlight {
    background: rgba(33, 80, 32, 0.1);
    border: 1px solid rgba(33, 80, 32, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.intro-highlight span {
    font-size: 1.3rem;
    font-style: italic;
    color: #215020;
    font-weight: 500;
    line-height: 1.6;
}

/* References Section */
.references-section {
    padding: 8rem 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #215020;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #666;
    font-style: italic;
}

/* References Grid */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.reference-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 250px;
}

.reference-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(33, 80, 32, 0.15);
}

.reference-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.reference-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 2rem;
    background: white;
    transition: all 0.4s ease;
}

.reference-item:hover .reference-image img {
    transform: scale(1.1);
}

.reference-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(33, 80, 32, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reference-item:hover .reference-overlay {
    transform: translateY(0);
}

.overlay-content {
    text-align: center;
}

.reference-name {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.reference-category {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin: 0;
}

/* Alternative Grid Layout for Better Visual Balance */
@media (min-width: 768px) {
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .references-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1400px) {
    .references-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Partnership Values Section */
.values-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.values-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.values-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #215020;
    margin-bottom: 4rem;
    letter-spacing: 1px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(33, 80, 32, 0.2);
    box-shadow: 0 25px 60px rgba(33, 80, 32, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(33, 80, 32, 0.3));
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #215020;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #215020 0%, #2d6b2d 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
}

.cta-btn.primary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-btn.primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .references-hero .hero-title {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }

    .intro-title,
    .section-title,
    .values-title,
    .cta-title {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .references-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .references-hero {
        height: 80vh;
    }

    .references-hero .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .intro-section,
    .references-section,
    .values-section,
    .contact-cta-section {
        padding: 4rem 0;
    }

    .references-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .reference-item {
        height: 200px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .value-card {
        padding: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .intro-highlight {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .references-hero .hero-title {
        font-size: 2rem;
    }

    .intro-title,
    .section-title,
    .values-title,
    .cta-title {
        font-size: 1.5rem;
    }

    .hero-badge {
        padding: 0.6rem 1.5rem;
    }

    .badge-text {
        font-size: 0.8rem;
    }

    .references-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .reference-item {
        height: 180px;
    }

    .intro-highlight span {
        font-size: 1.1rem;
    }

    .value-card {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .cta-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

/* Loading Animation for References */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reference-item {
    animation: fadeInUp 0.6s ease forwards;
}

.reference-item:nth-child(1) {
    animation-delay: 0.1s;
}

.reference-item:nth-child(2) {
    animation-delay: 0.2s;
}

.reference-item:nth-child(3) {
    animation-delay: 0.3s;
}

.reference-item:nth-child(4) {
    animation-delay: 0.4s;
}

.reference-item:nth-child(5) {
    animation-delay: 0.5s;
}

.reference-item:nth-child(6) {
    animation-delay: 0.6s;
}

.reference-item:nth-child(7) {
    animation-delay: 0.7s;
}

.reference-item:nth-child(8) {
    animation-delay: 0.8s;
}

.reference-item:nth-child(9) {
    animation-delay: 0.9s;
}

.reference-item:nth-child(10) {
    animation-delay: 1.0s;
}

.reference-item:nth-child(11) {
    animation-delay: 1.1s;
}

.reference-item:nth-child(12) {
    animation-delay: 1.2s;
}

.reference-item:nth-child(13) {
    animation-delay: 1.3s;
}

.reference-item:nth-child(14) {
    animation-delay: 1.4s;
}

.reference-item:nth-child(15) {
    animation-delay: 1.5s;
}

/* Hover Effects for Better Interactivity */
.reference-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(33, 80, 32, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.reference-item:hover::before {
    opacity: 1;
}

/* Special styling for company logos */
.reference-image img[src*="bluum"],
.reference-image img[src*="camsan"],
.reference-image img[src*="CANAKKALE"],
.reference-image img[src*="cimstone"],
.reference-image img[src*="creavit"],
.reference-image img[src*="FRANKE"],
.reference-image img[src*="GROHEE"],
.reference-image img[src*="hafele"],
.reference-image img[src*="HANSG"],
.reference-image img[src*="ISVEA"],
.reference-image img[src*="KUTAHYA"],
.reference-image img[src*="sch"] {
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.reference-item:hover .reference-image img[src*="bluum"],
.reference-item:hover .reference-image img[src*="camsan"],
.reference-item:hover .reference-image img[src*="CANAKKALE"],
.reference-item:hover .reference-image img[src*="cimstone"],
.reference-item:hover .reference-image img[src*="creavit"],
.reference-item:hover .reference-image img[src*="FRANKE"],
.reference-item:hover .reference-image img[src*="GROHEE"],
.reference-item:hover .reference-image img[src*="hafele"],
.reference-item:hover .reference-image img[src*="HANSG"],
.reference-item:hover .reference-image img[src*="ISVEA"],
.reference-item:hover .reference-image img[src*="KUTAHYA"],
.reference-item:hover .reference-image img[src*="sch"] {
    filter: grayscale(0%) contrast(1);
}