/* GLOBAL */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f9fafb;
    color: #111;
    line-height: 1.5;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 600;
    font-size: 22px;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: .3s;
}

nav a:hover {
    color: #f97316;
}

/* HERO */
.hero {
    height: 90vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('./images/homepage1.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
}

.hero-buttons {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.call-btn,
.whatsapp-btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    transition: .3s;
}

.call-btn {
    background: #22c55e;
    color: white;
}

.call-btn:hover {
    background: #16a34a;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #1ebe57;
}

/* HİZMETLER */
section {
    padding: 70px 20px;
    text-align: center;
}

h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.card {
    background: white;
    padding: 30px;
    width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: .3s;
    font-weight: 500;
}

.card:hover {
    transform: translateY(-8px);
}

/* BÖLGELER (SEO) */
.locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 20px auto;
}

.locations div {
    background: white;
    padding: 15px;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: .3s;
}

.locations div:hover {
    background: #f97316;
    color: white;
    transform: translateY(-5px);
}

/* YORUMLAR */
.comment {
    background: white;
    padding: 15px;
    margin: 10px auto;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* FORM */
form {
    max-width: 400px;
    margin: auto;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #f97316;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

button:hover {
    background: #dc5e00;
}

/* FOOTER */
footer {
    background: #111827;
    color: white;
    padding: 20px;
    text-align: center;
}

/* SABİT WHATSAPP */
.whatsapp-fixed {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    padding: 18px;
    border-radius: 50%;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: .3s;
}

.whatsapp-fixed:hover {
    transform: translateY(-5px);
}

.card {
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: white;
    font-size: 42px;
    cursor: pointer;
    font-weight: bold;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {
    color: #f97316;
}