/* UYSAL ODUNCULUK - MODERN & RESPONSIVE CSS (2026) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* { box-sizing: border-box; }
body { margin: 0; padding: 0; font-family: 'Roboto', Arial, sans-serif; background-color: #f0f2f5; color: #333; }
ul { list-style: none; padding: 0; margin: 0; }
a { text-decoration: none; }
.spacer { clear: both; }

/* Ana Çerçeve */
#body { max-width: 1050px; margin: 30px auto; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-radius: 12px; overflow: hidden; display: flex; flex-wrap: wrap; }

/* Sol Menü (Sidebar) */
#left { width: 300px; background: #fdfdfd; padding: 40px 25px; border-right: 1px solid #eaeaea; }
#left img.logo { max-width: 100%; height: auto; display: block; margin: 0 auto 35px; }

h2.alanyaalanya { font-size: 18px; color: #fff; background: #D66B2B; padding: 15px 20px; border-radius: 8px 8px 0 0; margin: 0; text-align: center; font-weight: bold; letter-spacing: 0.5px; }
ul.alanyalinkler { background: #fff; border: 1px solid #eaeaea; border-top: none; padding: 15px; margin-bottom: 30px; border-radius: 0 0 8px 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
ul.alanyalinkler li a { display: block; padding: 12px 10px; color: #555; border-bottom: 1px solid #f5f5f5; transition: all 0.3s ease; font-size: 15px; }
ul.alanyalinkler li:last-child a { border-bottom: none; }
ul.alanyalinkler li a:hover { color: #D66B2B; padding-left: 18px; font-weight: bold; background: #fafafa; }

/* Sağ İçerik Alanı */
#right { flex: 1; padding: 40px 35px; min-width: 0; }

/* Üstteki 4'lü Kutu (Eski Resimli Butonların Yeni Modern Hali) */
ul.topLink { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; margin-bottom: 35px; }
ul.topLink li a { display: flex; flex-direction: column; justify-content: center; align-items: center; background: #2c3e50; color: #fff; padding: 25px 15px; border-radius: 10px; text-align: center; transition: all 0.3s ease; min-height: 110px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
ul.topLink li a:hover { background: #D66B2B; transform: translateY(-5px); box-shadow: 0 8px 20px rgba(214,107,43,0.3); }
ul.topLink li a span { display: block; font-size: 12px; color: #bdc3c7; margin-top: 8px; font-weight: normal; }
ul.topLink li a:hover span { color: #fff; }

/* Yatay Ana Menü */
ul.nav { display: flex; flex-wrap: wrap; background: #f8f9fa; border: 1px solid #eee; border-radius: 8px; overflow: hidden; margin-bottom: 35px; }
ul.nav li { flex-grow: 1; }
ul.nav li a { display: block; padding: 15px 10px; color: #444; text-align: center; font-size: 14px; font-weight: bold; transition: 0.3s; border-right: 1px solid #eee; }
ul.nav li:last-child a { border-right: none; }
ul.nav li a:hover { background: #D66B2B; color: #fff; }

/* Yazı ve Başlıklar */
h2.baslik { font-size: 26px; color: #2c3e50; border-bottom: 3px solid #D66B2B; padding-bottom: 12px; margin-bottom: 25px; display: inline-block; }
p.paragraf { font-size: 16px; line-height: 1.8; color: #555; margin-bottom: 20px; }
p.paragraf a { color: #D66B2B; font-weight: bold; transition: 0.3s; }
p.paragraf a:hover { color: #b55a24; text-decoration: underline; }

/* Footer (Alt Kısım) */
#footer { width: 100%; max-width: 1050px; margin: 0 auto 30px; background: #2c3e50; color: #fff; padding: 35px 40px; border-radius: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
#footer ul { display: flex; gap: 20px; flex-wrap: wrap; }
#footer ul li a { color: #bdc3c7; font-size: 14px; transition: 0.3s; }
#footer ul li a:hover { color: #fff; }
#footer p { margin: 10px 0 0 0; font-size: 14px; color: #95a5a6; }
#footer p a { color: #D66B2B; font-weight: bold; }

/* İletişim Telefon Butonu */
.contact-phones { background: #fff; border: 1px solid #eaeaea; padding: 25px 15px; text-align: center; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.btn-tel { display: inline-block; background: #D66B2B; color: #fff !important; padding: 12px 20px; border-radius: 6px; font-weight: bold; font-size: 18px; margin-top: 10px; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(214,107,43,0.3); }
.btn-tel:hover { background: #b55a24; transform: translateY(-2px); }

/* Harita ve Slider Konteynerleri */
iframe, .swiper { border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

/* ========================================================================
   %100 MOBİL UYUM (TELEFON VE TABLETLER İÇİN)
   ======================================================================== */
@media (max-width: 850px) {
    #body { margin: 0; border-radius: 0; box-shadow: none; flex-direction: column; }
    #left { width: 100%; border-right: none; border-bottom: 1px solid #eee; padding: 30px 20px; text-align: center; }
    #left img.logo { margin: 0 auto 25px auto; }
    h2.alanyaalanya, ul.alanyalinkler { max-width: 400px; margin-left: auto; margin-right: auto; }
    ul.alanyalinkler li a { text-align: center; padding-left: 0 !important; }
    
    #right { padding: 30px 20px; }
    ul.topLink { grid-template-columns: 1fr 1fr; }
    ul.nav { flex-direction: column; border-radius: 8px; }
    ul.nav li a { border-right: none; border-bottom: 1px solid #eee; }
    ul.nav li:last-child a { border-bottom: none; }
    
    #footer { border-radius: 0; flex-direction: column; text-align: center; justify-content: center; padding: 30px 20px; margin-bottom: 0; }
    #footer ul { justify-content: center; margin-bottom: 20px; }
    #footer p { text-align: center; width: 100%; }
}

@media (max-width: 480px) {
    ul.topLink { grid-template-columns: 1fr; }
}