@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

html {
        overflow-y: scroll;
    scroll-behavior: smooth;
}

:root {

    --color-kırıkbeyaz: #FFF7F0;
    --color-beyaz: #F2F7EE;
    --color-gri: #DBE8CE;
    --color-grimsiy: #C4D9AF;
    --color-berrakyeşil: #ADCB90;
    --color-açıkyeşil: #96BC71;
    --color-gazozyeşili: #80AD52;
    --color-lime: #698E43;
    --color-kaktüsy: #526F34;
    --color-ky: #405729;
    --color-ekstra-ky: #243117;
    --color-siyah: #0D1108;

    --font-size-s: 0.9rem;
    --font-size-m: 1rem;
    --font-size-l: 1.2rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    --font-size-xxxl: 2.3rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50%;
    --site-max-width: 1300px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    border: none;
    cursor: pointer;
    background: none;
}

img {
    width: 100%;
}

.section-content {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

header {
    position: fixed;
    padding-top: 10px;
    padding-bottom: 10px;
    background: var(--color-ky);
    font-weight: var(--font-weight-medium);
    width: 100%;
    z-index: 5;
    transition: padding 0.3s ease, background 0.3s ease;
}

header.shrink {
    padding-top: 5px;
    padding-bottom: 5px;
    background: rgba(64, 87, 41, 0.95);
}

header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .nav-logo img {
    transition: height 0.3s ease;
    height: 60px;
    width: auto;
    object-fit: contain;
}

header.shrink .nav-logo img {
    height: 45px;
}

.navbar .nav-menu .nav-link {
    color: var(--color-kırıkbeyaz);
    padding: 10px 15px;
    padding-right: 10px;
    border-radius: var(--border-radius-m);
    font-weight: var(--font-weight-semibold);
    font-size: 1.2rem;
    transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover {
    background: var(--color-ekstra-ky);
    color: var(--color-beyaz);

}

.navbar .nav-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.hero-section {
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('meki-disari.jpeg');
    background-size: cover;
    background-position: center;
}

.hero-section .section-content {
    display: flex;
    align-items: center;
    min-height: 100vh;
    color: var(--color-beyaz);
    justify-content: center;
}

.hero-section .hero-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
    border: 3px solid white;
    border-radius: var(--border-radius-m);
    padding: 50px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-section .hero-details .title {
    font-size: 2.8rem;
    padding: 2%;
    color: var(--color-kırıkbeyaz);
    font-family: 'Ubuntu', sans-serif;
}

.hero-section .hero-details .subtitle {
    font-size: 1.8rem;
    color: var(--color-berrakyeşil);
    max-width: 80%;
    margin-top: 8px;
    font-weight: var(--font-weight-normal);
    font-family: 'Ubuntu', sans-serif;
}

.hero-section .hero-details .buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.hero-section .hero-details .button {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    
    text-align: center;
    padding: 15px 25px;
    font-size: 1.2rem;
    color: var(--color-kırıkbeyaz);
    border-radius: var(--border-radius-m);
    background-color: #526F34;
    font-weight: var(--font-weight-semibold);
    transition: 0.3s ease;
    display: inline-block;
}

.hero-section .hero-details .button:hover {
    background-color: var(--color-ekstra-ky);
    transform: translateY(-3px);
}

@media screen and (max-width: 768px) {
    .hero-section .hero-details .button {
        flex: none;
        width: 100%;
        max-width: 300px;
    }
}


.contact-section {
    padding: 100px 0;
    background-color: var(--color-kırıkbeyaz);
    color: var(--color-ky);
    scroll-margin-top: 100px;
    min-height: auto;
    display: flex;
    align-items: center;
}

.contact-container-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
}

.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.reviews-left {
    flex: 1;
    background: var(--color-beyaz);
    padding: 30px;
    border-radius: var(--border-radius-m);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.reviews-left h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 15px;
    color: var(--color-siyah);
}

.reviews-left .reviews-container {
    flex: 1;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.map-right {
    flex: 1;
}

.map-container {
    flex: 1;
    border-radius: var(--border-radius-m);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    max-height: 500px;
}

.map-container iframe {
    flex: 1;
    min-height: 450px;
}

.reviews-container .tagembed-widget {
    width: 100%;
    height: 400px;
    overflow: auto;
}

body {
    background-color: var(--color-kırıkbeyaz);
}

.reviews-section {
    padding: 80px 0;
    background-color: var(--color-kırıkbeyaz);
    color: var(--color-ky);
}

#menu-bar {
    display: none;
}

.hamburger-menu {
    display: none;
}

/* Developer Info Sidebar Styles */
.dev-info-btn {
    color: var(--color-kırıkbeyaz);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: var(--border-radius-m);
    transition: 0.3s ease;
}

.dev-info-btn:hover {
    background: var(--color-ekstra-ky);
    color: var(--color-beyaz);
    transform: scale(1.05);
}

.dev-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100vh;
    background-color: var(--color-kırıkbeyaz);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.dev-sidebar.open {
    right: 0;
}

.dev-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background-color: var(--color-ky);
    color: var(--color-kırıkbeyaz);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.dev-sidebar-header h3 {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
}

.close-sidebar-btn {
    color: var(--color-kırıkbeyaz);
    font-size: 2rem;
    line-height: 1;
    transition: 0.3s ease;
}

.close-sidebar-btn:hover {
    color: var(--color-berrakyeşil);
    transform: scale(1.1);
}

.dev-sidebar-content {
    padding: 30px 24px;
    color: var(--color-siyah);
    font-size: 1.05rem;
    line-height: 1.6;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dev-sidebar-content strong {
    color: var(--color-ky);
}

.dev-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.dev-sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 768px) {
    .hero-section .hero-details .title {
        font-size: 2.1rem; /* Yazıyı mobilde küçülttük */
        padding: 5% 2%;    /* Üst/Alt boşluğu biraz artırdık */
        margin-top: 80px;  /* Navbar'ın altında kalmaması için ittik */
        text-align: center;
        line-height: 1.3;   /* Satır aralığını rahatlattık */
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        position: relative;
    }
    .hamburger-menu {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .hamburger-menu span {
        width: 25px;
        height: 3px;
        background-color: white;
        display: block;
    }
    .nav-menu {
        display: none !important; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #3e522d; 
        margin: 0;
        padding: 10px 0;
        list-style: none;
        z-index: 9999;
    }
    #menu-bar:checked ~ .nav-menu {
        display: flex !important;
    }
    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 12px;
        color: white;
        text-decoration: none;
    }

    .contact-container-main {
        flex-direction: column;
    }

    .contact-left {
        flex: 1;
    }

    .map-right {
        flex: 1;
    }

    .map-container {
        max-height: 300px;
    }

    .reviews-left .reviews-container .tagembed-widget {
        height: 300px;
    }
}