/* ---------- Temel Ayarlar ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    background-color: #0c4076;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: nowrap; /* KESİNLİKLE wrap yok */
}

/* Logo */
.logo img {
    height: 40px;
}

/* Menü */
.main-nav {
    flex: 1;
    text-align: center;
}

.main-nav a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-nav a:hover {
    opacity: 0.8;
}

/* Dil seçici */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-switcher a {
    margin-left: 8px;
}

.lang-switcher img {
    height: 20px;
    width: auto;
    vertical-align: middle;
    border-radius: 3px;
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

/* Sağ kısım: Dil + Hamburger */
.right-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ---------- Hero Alanı ---------- */
.hero {
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: black;
    color: white;
}

.hero video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero h1 {
    font-size: 48px;
    z-index: 1;
    color: #ffffff;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 1;
}

.hero-buttons a {
    background-color: #c6363c;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.hero-buttons a:hover {
    background-color: #a92c32;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: #0c4076;
    color: white;
    padding: 40px 20px 20px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer-column {
    flex: 1 1 22%; /* 4 sütun için yaklaşık %22 genişlik */
    min-width: 220px;
}


.footer-column h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-column a {
    color: #ffcccc;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    opacity: 0.8;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 10px;
}

/* Rent Sayfası: Geniş ama Tek Sütun */
.rent-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.03);

    /* EN ÖNEMLİSİ: */
    display: block !important;
}


.rent-info,
.rent-form {
    width: 100% !important;
    display: block !important;
    margin-bottom: 40px;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0,0,0,0.05);
}


.rent-info h2 {
    color: #0c4076;
    margin-bottom: 20px;
    font-size: 32px;
}

.rent-info p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.rent-form label {
    font-weight: bold;
    display: block;
    margin-top: 20px;
}

.rent-form input,
.rent-form select,
.rent-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
    font-family: inherit;
}

.rent-form button {
    background-color: #c6363c;
    color: white;
    padding: 14px 24px;
    margin-top: 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.rent-form button:hover {
    background-color: #a92c32;
}

.form-message {
    margin: 20px 0;
    padding: 12px;
    border-radius: 4px;
    font-weight: bold;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}


/* ---------- Başlıklar ---------- */
h1, h2, h3 {
    color: #0c4076;
    margin-bottom: 20px;
}

/* ---------- Butonlar ---------- */
.btn {
    background-color: #c6363c;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #a92c32;
}

/* ---------- Formlar ---------- */
form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-top: 30px;
}

form label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
}

form input, form select, form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 5px;
}

form button {
    margin-top: 20px;
    background-color: #c6363c;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
}

form button:hover {
    background-color: #a92c32;
}

/* ---------- Mesaj Kutuları ---------- */
.success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin: 15px 0;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin: 15px 0;
}

/* ---------- Mobil (Responsive) ---------- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #0c4076;
    position: absolute;
    top: 60px; /* header yüksekliği kadar */
    left: 0;
    width: 100%;
    z-index: 998;
}
    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 10px;
        border-top: 1px solid rgba(255,255,255,0.2);
        text-align: center;
    }


    .lang-switcher {
        margin-top: 0;
        text-align: right;
    }

    .right-controls {
        margin-top: 0;
    }
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown > a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 6px;
}

.dropdown-content a {
    color: #0c4076;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: #f2f2f2;
}

.dropdown:hover .dropdown-content {
    display: block;
}
