/* Variables */
:root {
    --primary-color: #B22222;
    --secondary-color: #8B0000;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --transition: all 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        transform: translateY(50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    from { 
        transform: translateX(-50px);
        opacity: 0;
    }
    to { 
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from { 
        transform: translateX(50px);
        opacity: 0;
    }
    to { 
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animation Classes */
.animate-fade {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-up {
    opacity: 0;
    animation: slideUp 1s ease forwards;
}

.animate-left {
    opacity: 0;
    animation: slideLeft 1s ease forwards;
}

.animate-right {
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

/* Hero Section */
.about-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    margin-top: -40px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139,0,0,0.9), rgba(178,34,34,0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.2);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.title-line {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    position: relative;
}

.title-line::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--secondary-color);
    left: 50%;
    transform: translateX(-50%);
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Our Story Section */
.our-story {
    padding: 5rem 0;
    background: #f8f9fa;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.team-member {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.rating {
    color: #ffd700;
    margin-bottom: 1rem;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    text-align: center;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    margin: 0;
    color: #666;
}

.testimonial-author .company {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        gap: 2rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 3rem;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        width: 100%;
    }
}

/* Header Styles */

/* Ensure main content starts below fixed header */
main {
    padding-top: 40px;
}

/* Varsayılan logo boyutu */
header .logo img {
    max-height: 80px; /* Masaüstü için */
    width: auto;
}

/* Mobil cihazlar için (768px'den küçük ekranlar) */
@media (max-width: 768px) {
    header .logo img {
        max-height: 50px; /* Mobilde daha küçük bir boyut */
    }
}

/* Daha küçük ekranlar için (480px'den küçük ekranlar) */
@media (max-width: 480px) {
    header .logo img {
        max-height: 40px; /* Telefon için daha küçük */
    }
}

@media screen and (max-width: 768px) {
    /* Hero section düzenlemeleri */
    .about-hero {
        padding: 20px 0;
    }

    .hero-content {
        text-align: center;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* İstatistik kartları düzeni */
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        width: 100%;
        padding: 15px;
        margin: 0;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-text {
        font-size: 14px;
    }

    /* Hikayemiz bölümü */
    .our-story {
        padding: 30px 0;
    }

    .story-content {
        flex-direction: column;
        gap: 20px;
    }

    .story-text, .story-image {
        width: 100%;
    }

    .story-image img {
        width: 100%;
        height: auto;
    }

    /* Neden Biz bölümü */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .feature-card {
        padding: 15px;
    }

    /* Ekip bölümü */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .team-member {
        margin-bottom: 20px;
    }

    /* Müşteri yorumları */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .testimonial-card {
        padding: 15px;
    }

    /* Genel başlık stilleri */
    .section-title h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    /* Container padding */
    .container {
        padding: 0 15px;
    }
}
.partners-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.partner-card {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-card img {
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
}

.partner-card h3 {
    color: #333;
    margin-bottom: 5px;
}

.partner-card p {
    color: #666;
    font-size: 0.9em;
}
/* Daha küçük mobil cihazlar için ek düzenlemeler */
@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .stat-number {
        font-size: 32px;
    }

    .feature-card h3 {
        font-size: 18px;
    }

    .testimonial-text {
        font-size: 14px;
    }
} 