/* Global styles */
:root {
    --primary-color: #007BFF;
    --secondary-color: #0056b3;
    --accent-color: #17a2b8;
    --background-color: #f8f9fa;
    --text-color: #343a40;
    --light-text-color: #ffffff;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    flex-wrap: wrap;
}

header .logo a {
    color: var(--light-text-color);
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: var(--light-text-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

nav ul li a:hover {
    opacity: 0.8;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.call-button,
.whatsapp-button {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.call-button:hover,
.whatsapp-button:hover {
    background-color: var(--secondary-color);
}

/* Hero section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 8px;
    max-width: 90%;
    color: var(--light-text-color);
}

.hero-overlay h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero-overlay p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

/* Services and why sections */
.services, .why-us, .cta-banner {
    padding: 60px 20px;
    text-align: center;
}

.services h2, .why-us h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.service-cards, .why-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-card, .why-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 250px;
    max-width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-card h3, .why-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* CTA Banner */
.cta-banner {
    background-color: var(--primary-color);
    color: white;
}

.cta-banner h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.cta-banner p {
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

footer h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

footer p, footer a {
    color: #e9ecef;
    font-size: 0.9em;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    flex-basis: 100%;
    margin-top: 20px;
    border-top: 1px solid #495057;
    padding-top: 10px;
    font-size: 0.8em;
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #25D366;
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    background-color: #1da851;
}

/* Page header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

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

.about-content ul,
.services-page ul {
    margin: 15px 0;
    padding-left: 20px;
    list-style: disc;
}

.faq-content h3,
.privacy-content h3,
.kvkk-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.contact-form button {
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.contact-form button:hover {
    background-color: var(--secondary-color);
}

.message-box {
    padding: 10px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        background-color: var(--primary-color);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        display: none;
        padding: 10px;
    }
    nav ul.active {
        display: flex;
    }
    .contact-buttons {
        margin-top: 10px;
    }
}