
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif; 
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


.section-padding {
    padding: 80px 5%;
    max-width: 1200px; 
    margin: 0 auto;
}

.bg-light {
    background-color: #ececec;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #222;
    margin-bottom: 20px;
    text-align: center;
}

/* Buton Stilleri */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #0056b3;
    color: #fff;
}

.btn-primary:hover {
    background-color: #004085;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
}


#site-header {
    background-color: #ffffff; 
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out; 
    height: 100px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

#site-header.scrolled {
    height: 50px;
    background-color: rgba(255, 255, 255, 0.75); 
    backdrop-filter: blur(5px); 
}

#main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; 
    padding: 0 5%;
    position: relative;
}

.logo-container {
    height: 100%; 
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 80%; 
    transition: max-height 0.3s ease-in-out;
}

#site-header.scrolled .site-logo {
    max-height: 80%; 
}

.nav-links {
    display: flex;
    gap: 30px; 
    align-items: center;
}

.nav-links li a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #0056b3; 
}

.nav-links li a i {
    margin-right: 8px; 
}


.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    top: 100%; 
    left: 0;
    border-top: 3px solid #0056b3;
}

.nav-links .dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    white-space: nowrap; 
}

.nav-links .dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #0056b3;
}

.nav-links .dropdown:hover .dropdown-content {
    display: block; 
}


.hamburger-menu {
    display: none; 
    font-size: 30px;
    cursor: pointer;
    color: #333;
}


.nav-links li.active a {
    color: #0056b3; 
    font-weight: 700;
}


#hero-slider {
    position: relative;
    width: 100%;
    height: 600px; 
    overflow: hidden;
    margin-top: 100px; 
}

#site-header.scrolled + main #hero-slider {
    margin-top: 50px; 
}


.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    background-color: rgba(0,0,0,0.5); 
}

.slider-item.active {
    opacity: 1;
    position: relative; 
}

.slider-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.slider-content {
    padding: 20px;
    z-index: 1;
    max-width: 800px;
}

.slider-content h1 {
    color: #fff;
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider-content p {
    font-size: 1.2em;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 2em;
    border-radius: 5px;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background-color: rgba(0,0,0,0.8);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}


#home-carousel {
    text-align: center;
}

#home-carousel h2 {
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    padding-bottom: 20px; 
}

.carousel-item-small {
    flex: 0 0 calc(25% - 20px); 
    margin: 0 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.carousel-item-small:hover {
    transform: translateY(-5px);
}

.carousel-item-small img {
    width: 100%;
    height: 200px; 
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.carousel-item-small h3 {
    margin: 15px 10px;
    font-size: 1.1em;
    color: #0056b3;
}

.carousel-prev-btn, .carousel-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 5px;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.carousel-prev-btn:hover, .carousel-next-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

.carousel-prev-btn {
    left: 0;
}

.carousel-next-btn {
    right: 0;
}


#featured-projects {
    text-align: center;
}

#featured-projects h2 {
    margin-bottom: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    justify-content: center;
}

.project-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.project-images-carousel {
    position: relative;
    width: 100%;
    height: 250px; 
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.project-images-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute; 
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.project-images-carousel img.active {
    opacity: 1;
    position: relative; 
}

.project-card h3 {
    font-size: 1.5em;
    color: #0056b3;
    padding: 15px 20px 10px;
    text-align: left;
    margin-bottom: 0;
}

.project-details {
    padding: 0 20px 15px;
    list-style: none;
    flex-grow: 1; 
}

.project-details li {
    margin-bottom: 8px;
    font-size: 0.95em;
    color: #555;
}

.project-details li i {
    margin-right: 10px;
    color: #0056b3;
}

.project-card .btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px); 
}


#about-us-home {
    background-color: #fff;
}

.about-content-wrapper {
    display: flex;
    flex-wrap: wrap; 
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 2; 
    min-width: 300px; 
    text-align: left;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 25px;
    color: #0056b3;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
}

.about-image {
    flex: 1; 
    min-width: 250px; 
    text-align: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whatsapp-button,
.scroll-to-top-button {
    background-color: #25d366; 
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.scroll-to-top-button {
    background-color: #333;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.scroll-to-top-button:hover {
    background-color: #555;
    transform: translateY(-3px);
}



#site-footer {
    background-color: #222;
    color: #f4f4f4;
    padding: 60px 5% 20px;
    font-size: 0.9em;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1em;
    text-align: left;
}

.footer-col .logo-footer img {
    max-width: 150px; 
    margin-bottom: 20px;
}

.footer-col p, .footer-col address {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: #f4f4f4;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #0056b3;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0056b3;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: #aaa;
}

.footer-bottom a {
    color: #0056b3;
    font-weight: bold;
}

.footer-bottom a:hover {
    text-decoration: underline;
}


@media (max-width: 992px) {
    .nav-links {
        display: none; 
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 100px; 
        left: 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 20px 0;
        border-top: 1px solid #eee;
        transition: top 0.3s ease; 
    }

    #site-header.scrolled .nav-links {
        top: 50px; 
    }

    .nav-links.active {
        display: flex; 
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0px 0;
    }

    .nav-links li a {
        padding: 15px 0;
        width: 100%;
        display: block;
    }

    .nav-links .dropdown-content {
        position: static; 
        box-shadow: none;
        border: none;
        background-color: #f9f9f9;
        margin-top: 10px;
    }

    .nav-links .dropdown-content a {
        padding-left: 40px; 
    }

    .hamburger-menu {
        display: block; 
    }


    #hero-slider {
        height: 450px;
    }
    .slider-content h1 {
        font-size: 2.5em;
    }
    .slider-content p {
        font-size: 1em;
    }


    .carousel-item-small {
        flex: 0 0 calc(33.33% - 20px); 
    }


    .about-content-wrapper {
        flex-direction: column;
    }
    .about-text, .about-image {
        min-width: unset; 
        width: 100%;
    }
    .about-text h2 {
        text-align: center; 
    }

    /* Proje Kartları */
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    #site-header {
        height: 80px; 
    }
    #site-header.scrolled {
        height: 50px; 
    }
    #site-header.scrolled + main #hero-slider {
        margin-top: 50px;
    }
    #hero-slider {
        margin-top: 80px; 
        height: 400px;
    }
    .slider-content h1 {
        font-size: 2em;
    }
    .slider-content p {
        font-size: 0.9em;
    }

    .nav-links {
        top: 80px; 
    }


    .carousel-item-small {
        flex: 0 0 calc(50% - 20px);
    }

    .carousel-prev-btn, .carousel-next-btn {
        padding: 8px 12px;
        font-size: 1.2em;
    }

    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-button,
    .scroll-to-top-button {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr; 
        text-align: center;
    }

    .footer-col h4 {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 60px 4%;
    }

    #hero-slider {
        height: 300px;
    }
    .slider-content h1 {
        font-size: 1.5em;
    }
    .slider-content p {
        font-size: 0.8em;
    }

    .carousel-item-small {
        flex: 0 0 calc(100% - 20px); 
    }
}

.breadcrumb {
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    font-size: 0.9em;
    color: #666;
    margin-top: 100px; 
}

#site-header.scrolled + main .breadcrumb {
    margin-top: 50px; 
}

.breadcrumb a {
    color: #0056b3;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 5px;
    color: #999;
}


.page-banner {
    width: 100%;
    height: 300px; 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    margin-bottom: 50px;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.page-banner h1 {
    font-size: 3em;
    color: #fff;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0;
}


.content-section {
    background-color: #fff;
    padding: 60px 5%;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; 
    gap: 40px;
    margin-bottom: 40px;
}

.content-row:last-child {
    margin-bottom: 0;
}

.content-text {
    flex: 2;
    min-width: 300px;
    text-align: left;
}

.content-text h2 {
    text-align: left;
    color: #0056b3;
    margin-bottom: 20px;
}

.content-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
}

.content-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.content-image img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Galeri Sayfası */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 5%;
}

.gallery-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
}


.lightbox {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-next {
    right: 0;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.projects-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 5%;
}

.project-page-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #fff;
}

.project-page-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.project-page-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.project-page-item:hover .overlay {
    opacity: 1;
}

.project-page-item:hover img {
    opacity: 0.7; 
}

.project-page-item h3 {
    margin: 0;
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 10px;
}

.project-page-item p {
    font-size: 0.9em;
    margin-bottom: 0;
    color: #eee;
}


@media (max-width: 768px) {
    .project-page-item .overlay {
        opacity: 1; 
        position: static; 
        background-color: transparent; 
        color: #333; 
        padding: 15px;
        box-sizing: border-box;
    }
    .project-page-item:hover img {
        opacity: 1; 
    }
    .project-page-item h3 {
        color: #0056b3; 
        font-size: 1.3em;
    }
    .project-page-item p {
        display: none; 
    }
}



@media (max-width: 992px) {
    .content-row {
        flex-direction: column;
        gap: 30px;
    }
    .content-text, .content-image {
        min-width: unset;
        width: 100%;
    }
    .content-text h2 {
        text-align: center;
    }
    .content-image img {
        margin: 0 auto; 
    }

    .gallery-grid, .projects-page-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-banner {
        height: 250px;
    }
    .page-banner h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 40px 4%;
        margin: 20px auto;
    }
    .content-row {
        gap: 20px;
    }
    .content-text h2 {
        font-size: 1.8em;
    }
    .content-text p {
        font-size: 0.9em;
    }

    .breadcrumb {
        margin-top: 80px;
    }
    #site-header.scrolled + main .breadcrumb {
        margin-top: 50px;
    }

    .page-banner {
        height: 200px;
    }
    .page-banner h1 {
        font-size: 2em;
    }

    .gallery-grid, .projects-page-grid {
        grid-template-columns: 1fr; 
        gap: 15px;
    }
}