:root {
    --primary-color: #6a040f;
    /* Bordo */
    --secondary-color: #9d0208;
    --accent-color: #d00000;
    --light-bg: #f8f9fa;
    /* Açık arkaplan */
    --white-bg: #ffffff;
    --text-dark: #212529;
    /* Koyu metin */
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background gradient effect for light theme */
.background-animation {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle at 50% 50%, rgba(106, 4, 15, 0.03) 0%, transparent 50%);
    opacity: 1;
    z-index: -1;
    animation: pulse 15s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

nav {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 249, 250, 0.9)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%23f8f9fa" width="100" height="100"/><circle fill="%236a040f" cx="50" cy="50" r="1" opacity="0.1"/></svg>');
}

.hero-content {
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(106, 4, 15, 0.2);
    border: none;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(106, 4, 15, 0.3);
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-padding {
    padding: 100px 5%;
}

/* Portfolio Section */
.portfolio-section {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.section-subtitle {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 1.1rem;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Services Banner */
.services-section {
    margin-bottom: 50px;
}

.service-banner {
    background: var(--white-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.service-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 4, 15, 0.05), transparent);
    z-index: 0;
}

.service-banner>* {
    position: relative;
    z-index: 1;
}

.service-banner h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-banner p {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* References Section */
.bg-light {
    background-color: var(--white-bg);
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-item {
    flex: 1 1 150px;
    max-width: 200px;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 80px;
}

.logo-name {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: color 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.05);
}

.logo-item:hover .logo-name {
    color: var(--primary-color);
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white-bg);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.contact-info {
    flex: 1 1 300px;
    background: var(--primary-color);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form-wrapper {
    flex: 2 1 400px;
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--light-bg);
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 4, 15, 0.1);
    background-color: var(--white-bg);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 4, 15, 0.2);
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: none;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    display: block;
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background-color: var(--white-bg);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 1rem;
    }

    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .service-banner h2 {
        font-size: 1.8rem;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 30px;
    }
}