/*
Theme Name: Mars İK
Theme URI: https://marsikdanismanlik.com
Author: Mars İK
Author URI: https://marsikdanismanlik.com
Description: Mars İnsan Kaynakları ve Danışmanlık için özel WordPress teması
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mars-ik
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Genel Stiller */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #4F4F4F; /* Koyu Gri - Ana metin rengi */
    background-color: #FAF0E6; /* Pastel: Linin - Genel sayfa arka planı */
}

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

ul {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: #00509e; /* Mevcut Mavi - Linkler için ana renk */
    transition: color 0.3s ease;
}

a:hover {
    color: #D4A017; /* Mevcut Altın - Link hover */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #002D5B; /* Mevcut Koyu Mavi - Ana başlıklar */
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Görsellerin altında oluşabilecek boşlukları engellemek için */
}

/* Header Stilleri */
header {
    background: #FFFFFF; /* Beyaz header arka planı */
    color: #333;
    padding: 1rem 0;
    border-bottom: 1px solid #E0E0E0; /* Açık Gri border */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header #logo {
    height: 90px; /* Logo yüksekliği artırıldı (75px -> 90px) */
}

header nav ul {
    display: flex;
}

header nav ul li {
    margin-left: 25px; /* Artırılmış boşluk */
}

header nav ul li a {
    color: #002D5B; /* Koyu Mavi */
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #D4A017; /* Altın */
    background-color: #F0F8FF; /* Pastel: Alice Blue - Hover arka planı */
}

.header-contact p {
    margin: 0;
    font-size: 0.95rem;
    color: #002D5B;
}

/* Hero Bölümü Stilleri */
#hero {
    /* Arka plan görseli HTML üzerinden eklenecek, burada genel stil */
    background-color: #ADD8E6; /* Pastel: Açık Mavi - Yedek arka plan */
    background-size: cover;
    background-position: center center;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

#hero::before { /* Pastel overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(173, 216, 230, 0.3); /* Açık Mavi %30 opaklık */
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 3rem; /* Biraz büyütüldü */
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

#hero p {
    font-size: 1.3rem; /* Biraz büyütüldü */
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #D4A017; /* Altın - Ana CTA */
    color: #FFFFFF;
    padding: 15px 30px; /* Biraz büyütüldü */
    border-radius: 5px;
    font-weight: bold;
    margin: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.cta-button:hover {
    background: #b8860b; /* Koyu Altın hover */
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.cta-button.secondary:hover {
    background: #FFFFFF;
    color: #002D5B; /* Koyu Mavi */
}

/* Sayfa Başlığı Hero Stili (Diğer sayfalarda kullanılacak) */
#page-title-hero {
    background-color: #B0E0E6; /* Pastel: Toz Mavi */
    color: #002D5B; /* Koyu Mavi metin */
    padding: 50px 0;
    text-align: center;
}

#page-title-hero h1 {
    color: #ffffff; /* Koyu Mavi */
    font-size: 2.8rem;
}

/* İçerik Alanları Stilleri */
.content-section {
    padding: 50px 0;
    background-color: #FFFFFF; /* İçerik alanları için beyaz arka plan */
}

.content-section:nth-child(odd) { /* Farklı bölümler için hafif renk değişimi */
    background-color: #FFF5EE; /* Pastel: Deniz Kabuğu */
}

.content-section h2 {
    font-size: 2.2rem;
    border-bottom: 3px solid #FFDAB9; /* Pastel: Şeftali - Alt çizgi */
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.content-section h3 {
    font-size: 1.6rem;
    color: #00509e; /* Mavi başlık rengi */
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-card, .service-card {
    margin-bottom: 30px; 
    padding: 25px; 
    border: 1px solid #E6E6FA; /* Pastel: Lavanta border */
    border-radius: 8px; 
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.project-card h2, .service-card h2 {
    font-size: 1.8rem !important;
    border-bottom: none !important;
    margin-bottom: 10px !important;
    color: #002D5B;
}

.project-card img, .service-card img {
    margin-bottom: 15px;
    border-radius: 5px;
}

/* İletişim Formu Stilleri */
#contact-form-section {
    background-color: #F0F8FF; /* Pastel: Alice Blue */
    padding: 50px 0;
}

#contact-form label {
    display: block; 
    margin-bottom: 8px;
    font-weight: bold;
    color: #002D5B;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: calc(100% - 24px); 
    padding: 12px; 
    border: 1px solid #D8BFD8; /* Pastel: Devedikeni border */
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #FFFACD; /* Pastel: Limon Şifon - Input arka planı */
}

#contact-form textarea {
    min-height: 120px;
}

#contact-form button[type="submit"] {
    background-color: #00509e; /* Mavi */
    border-color: #00509e;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

#contact-form button[type="submit"]:hover {
    background-color: #002D5B; /* Koyu Mavi */
}

/* Footer Stilleri */
footer {
    background: #333; /* Koyu Gri Footer */
    color: #f4f4f4;
    padding: 50px 0 30px 0;
    text-align: center;
}

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

footer #footer-logo {
    height: 90px; /* Footer logo büyütüldü */
    margin-bottom: 20px;
}

footer h4 {
    color: #D4A017; /* Altın */
    margin-bottom: 15px;
    font-size: 1.3rem;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #f4f4f4;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #D4A017; /* Altın */
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-contact a {
    color: #f4f4f4;
}

.copyright {
    grid-column: 1 / -1; /* Tüm sütunları kapla */
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #555;
    font-size: 0.9rem;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    header #logo {
        height: 65px;
    }
    footer #footer-logo {
        height: 60px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header nav {
        margin-top: 20px;
        width: 100%;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    header nav ul li a {
        display: block;
        padding: 10px;
    }

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

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.1rem;
    }

    #page-title-hero h1 {
        font-size: 2.2rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    footer #footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    footer .footer-links ul,
    footer .footer-contact {
        text-align: center;
    }
}

/* Instagram icon in footer */
footer .footer-contact .fab.fa-instagram {
    font-size: 1.5em; /* Adjust size as needed */
}

/* WordPress Specific Styles */
.wp-block-image img {
    height: auto;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

/* WordPress Menu Styles */
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #002D5B;
        cursor: pointer;
        padding: 10px;
    }
    
    header nav ul {
        display: none;
    }
    
    header nav ul.show {
        display: flex;
    }
}

/* Contact Form 7 Styles */
.wpcf7-form label {
    display: block; 
    margin-bottom: 8px;
    font-weight: bold;
    color: #002D5B;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: calc(100% - 24px); 
    padding: 12px; 
    border: 1px solid #D8BFD8;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #FFFACD;
}

.wpcf7-form textarea {
    min-height: 120px;
}

.wpcf7-form input[type="submit"] {
    background-color: #00509e;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #002D5B;
}

.wpcf7-response-output {
    padding: 10px;
    margin-top: 20px;
    border-radius: 5px;
}
