:root {
    --primary-color: #E31837;  /* Türk bayrağı kırmızısı */
    --secondary-color: #002868; /* Norveç bayrağı mavisi */
    --light-color: #f8f9fa;
    --dark-color: #333;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/bg.jpeg');
    background-size: cover;
    background-position: center;
    height: 30vh;
    color: white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    transition: color 0.3s;
}

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

.hero-content {
    text-align: center;
    padding-top: 10vh;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

/* Add background styling for specific sections */
#hakkimizda,
#misyon,
#hizmetler {
    position: relative;
}

#hakkimizda::before,
#misyon::before,
#hizmetler::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('assets/logo.png');
    background-size: 50%;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Adjust the mission-vision boxes for better contrast */
.mission-box, .vision-box {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Adjust service cards for better contrast */
.service-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Remove the bg-light class background since we're using the image */
.bg-light {
    background-color: transparent;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

/* Mission Vision Styles */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mission-box, .vision-box {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: white;
}

/* Services Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: white;
    transition: transform 0.3s;
}

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

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form button {
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #c41430;
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    margin-left: 20px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
}

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

.contact-button {
    margin-top: 20px;
}

.email-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.email-button:hover {
    background-color: #0056b3;
}

.email-button i {
    font-size: 1.2em;
}

/* Add these styles for centering all h1 and p tags */
h1, p {
    text-align: center;
}

/* Adjust specific p tags in cards to maintain their current styling */
.service-card p,
.mission-box p,
.vision-box p {
    text-align: center;
    padding: 0 10px;
}

/* Add some breathing room for paragraphs */
p {
    margin-bottom: 20px;
}

/* Ensure the last p in containers doesn't have bottom margin */
.container p:last-child {
    margin-bottom: 0;
}

/* Center mission and vision headings */
.mission-box h3,
.vision-box h3 {
    text-align: center;
    margin-bottom: 15px;
} 