
:root {
    --dark-blue: #161a42;
    --light-blue: #bce3fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth; /* Menüye tıklayınca kayarak inmesini sağlar */
}

body {
    display: flex;
    background-color: var(--light-blue);
    color: var(--dark-blue);
}


.sidebar {
    width: 352px; 
    height: 100vh;
    background-color: var(--dark-blue);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.logo-area h1 {
    font-size: 24px;
    margin-bottom: 10px;
}


.logo-area p {
    font-size: 22px; 
    line-height: 1.4;
    color: #ccc;
    margin-bottom: 30px;
}

.main-nav ul {
    list-style: none;
}

.main-nav > ul > li > a {
    color: var(--white);
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    display: block;
    margin: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 5px;
}

.sub-menu {
    padding-left: 0;
    margin-bottom: 20px;
}


.sub-menu li {
    font-size: 15px; 
    line-height: 1.6;
    color: #ccc;
}


.contact-info {
    margin-top: auto;
    font-size: 19px; 
    line-height: 1.5;
}


.contact-info .phones {
    font-size: 25px; 
    font-weight: bold;
    margin-top: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}


.social-icons img {
    width: 56px; 
    height: 56px;
}


.whatsapp-cta {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 22px; 
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
}


.content {
    margin-left: 352px; 
    padding: 50px;
    width: calc(100% - 352px);
}


section {
    padding-top: 20px;
    padding-bottom: 50px;
    scroll-margin-top: 40px; 
}

section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-blue);
    border-bottom: 2px solid var(--dark-blue);
    padding-bottom: 5px;
}

section h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

section p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

section ul {
    margin-left: 20px;
    line-height: 1.8;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.galeri-item {
    position: relative;
    cursor: pointer;
}

.galeri-item .thumb {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    border-radius: 4px;
}


.buyuk-resim-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-color: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease 0.5s, visibility 0.3s ease 0.5s; 
    pointer-events: none; 
}

.buyuk-resim-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 3px solid white;
    border-radius: 4px;
}

.galeri-item:hover .buyuk-resim-overlay {
    opacity: 1;
    visibility: visible;
}


.links-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap; 
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-column a {
    color: var(--dark-blue);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.link-column a:hover {
    text-decoration: underline;
    color: #000;
}


.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


@media screen and (max-width: 900px) {
    body {
        display: block; 
    }
   
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px;
    }

  
    .content {
        margin-left: 0;
        width: 100%;
        padding: 20px;
    }

  
    .contact-info .phones {
        font-size: 20px;
    }
    .whatsapp-cta {
        font-size: 18px;
    }

  
    .buyuk-resim-overlay {
        width: 90vw;
        height: 60vh;
    }
    
   
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}