﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

:root {
    --main-color: #800000;
    --main-color-dark: #520000;
    --black-color: #121212;
    --white-color: #fff;
    --border: 0.1rem solid rgba(255, 255, 255, 0.4);
}

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: 0;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: none;
    transition: 0.2s ease;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;

}

html::-webkit-scrollbar {
    width: 0.8rem;
    background-color: white;
}

html::-webkit-scrollbar-thumb {
    background-color: var(--black-color);
}

body {
    background-color: var(--main-color);
}

section {
    padding: 3.5rem 7%;
}

.comments {
    min-height: 100vh;
    background: url(../images/comments-bgs.png) no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -14.5rem;
}


.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 2rem 3.75rem;
    border-radius: 30rem;
    font-size: 1.7rem;
    color: white;
    background-color: var(--black-color);
    cursor: pointer;
}

.btn:hover {
    opacity: 0.85;
}

.btn-wp {
    position: relative;
    padding: 1.5rem 3.5rem;
    font-size: 1.6rem;
    border: none;
    border-radius: 3rem;
    background-color: #25d366;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

.btn-wp i {
    margin-right: 1rem;
    font-size: 2.4rem;
    /* ikonu buton boyutuna göre büyüttük */
    vertical-align: middle;
    line-height: 1;
    /* hizalamayı düzeltir */
    display: inline-block;

    margin-top: 0rem;
    margin-left: 0.5rem;
    margin-right: 0.1rem;
    display: inline-block;
    padding: 0.5rem 0.2rem;
    border-radius: 30rem;
    font-size: 2.8rem;
    color: white;
    background-color: transparent;
    cursor: pointer;
}

.btn-wp:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: inherit;
    z-index: -1;
    animation: pulse-border 1.5s ease-out infinite;
    opacity: 0.6;
}

.btn-wp:focus {
    border: none;
    outline: none;
}

.heading {
    color: white;
    text-transform: uppercase;
    font-size: 4rem;
    margin-bottom: 3.5rem;
    border-bottom: 0.1rem solid white;
}

.heading span {
    text-transform: uppercase;
    color: var(--black-color);
}

.heading_alt {
    color: white;
    font-size: 2rem;
    display: inline-block;
    margin-bottom: 3.5rem;
    border-bottom: 0.1rem solid white;
}

/* header start*/

.header .logo img {
    height: 10rem;
}

.header {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    margin: 2rem 7%;
    border-radius: 30rem;
    box-shadow: 10px 10px 18px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 10px 10px 18px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 18px 0px rgba(0, 0, 0, 0.75);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header #menu-btn {
    display: none;
}

.header .navbar a {
    margin: 0 0.9rem;
    font-size: 1.5rem;
    color: var(--black-color);
    border-bottom: 0.2rem solid transparent;
}

.header .navbar .active,
.header .navbar a:hover {
    border-color: var(--main-color);
    padding-bottom: 0.5rem;
}

.header .buttons button {
    color: var(--main-color);
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 3rem;
    background-color: transparent;
}


/* header end*/

/* home start*/
#openModalBtn {
    margin-left: 2rem;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Modal arka plan */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal kutusu */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
}


/* X (kapat) simgesi */
.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* Form elemanları */
.modal-content input,
.modal-content textarea {
    width: 95%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.modal-content button {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.modal-content h3{
    color: var(--main-color) !important;
}

.home {
    min-height: 100vh;
    background: url(../images/home.png) no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -14.5rem;
    display: flex;
    align-items: center;
}

.home .content {
    max-width: 60rem;
}

.home .content h3 {
    font-size: 6rem;
    color: white;
}

.home .content p {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.8;
    padding: 1rem;
    color: #ccc;
}

/* home end*/

/* edu start*/

/* styles/edu.css */
.edu {
    min-height: 80vh;
}

.edu .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-items: center;
    margin-bottom: 4rem;
}

.edu .item {
    width: 20rem;
    /* kutu daha küçük */
    height: 20rem;
    background-color: #fff7f7;
    border: 1px solid #e0caca;
    border-radius: 2rem;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;


}

.edu .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.edu .item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.edu .item h3 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
    color: #800000;
}

.edu .item p {
    font-size: 1.5rem;
    color: #444;
}

.edu .btn-wp {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 25rem;
}


/* edu end*/



/* aboutus start*/
.aboutus {
    min-height: 60vh;
}

.aboutus .roww {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
}

.aboutus .roww .content {
    flex: 1 1 45rem;
    /* veya uygun bir oran */
}

.aboutus .roww .content h3 {
    font-size: 3rem;
    color: var(--white-color);
}

.aboutus .roww .content h2 {
    font-size: 3rem;
    color: var(--white-color);
}

.aboutus .roww .content p {
    font-size: 1.6rem;
    color: #ccc;
    padding: 1rem 0;
    line-height: 1.8;
}

.aboutus .roww .image {
    flex: 1 1 45rem;
}

.aboutus .roww img {
    width: 100%;
}

/**/
.aboutus .row {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
}

.aboutus .row .content {
    flex: 1 1 45rem;
    /* veya uygun bir oran */
}

.aboutus .row .content h3 {
    font-size: 3rem;
    color: var(--white-color);
}

.aboutus .row .content p {
    font-size: 1.6rem;
    color: #ccc;
    padding: 1rem 0;
    line-height: 1.8;
}

.aboutus .row .image {
    flex: 1 1 45rem;
}

.aboutus .row img {
    width: 100%;
}

/* aboutus end*/

/* review start*/
.review .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.review .box-container .box {
    border: var(--border);
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--white-color);
    border-radius: 3rem;
}

.review .box-container .box p {
    font-size: 1.5rem;
    line-height: 1.8;
    padding: 2rem 0;
}

.review .box-container .box .user {
    height: 30rem;
    width: 30rem;
    border-radius: 10%;
    object-fit: cover;
}

.review .box-container .box .quote {
    height: 7rem;
    width: 7rem;
    border-radius: 10%;
    object-fit: cover;

}

.review .box-container .box h3 {
    padding: 1rem 0;
    font-size: 2rem;
    color: var(--main-color);
}

.review .box-container .box .stars i {
    font-size: 1.5rem;
    color: gold;
}

/* review end*/

/* contact start*/
.contact .row {
    display: flex;
    background-color: var(--black-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.contact .row .map {
    flex: 1 1 45rem;
    width: 100%;
    object-fit: cover;
}

.contact .row .content {
    flex: 1 1 45rem;
    padding: 5rem 2rem;
    text-align: center;
    line-height: 3.5rem;
}

.contact .row .content .btn-wp {
    position: relative;
    padding: 1.5rem 3.5rem;
    font-size: 1.6rem;
    border: none;
    border-radius: 3rem;
    background-color: #25d366;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}


.contact .row .content .btn-wp i {
    margin-right: 1rem;
    font-size: 2.4rem;
    /* ikonu buton boyutuna göre büyüttük */
    vertical-align: middle;
    line-height: 1;
    /* hizalamayı düzeltir */
    display: inline-block;

    margin-top: 0rem;
    margin-left: 0.5rem;
    margin-right: 0.1rem;
    display: inline-block;
    padding: 0.5rem 0.2rem;
    border-radius: 30rem;
    font-size: 2.8rem;
    color: white;
    background-color: transparent;
    cursor: pointer;
}

.contact .row .content .btn-wp:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: inherit;
    z-index: -1;
    animation: pulse-border 1.5s ease-out infinite;
    opacity: 0.6;
}

.contact .row .content .btn-wp:focus {
    border: none;
    outline: none;
}

.contact .row .content .btn-wp-wrapper {
    margin-top: 5rem;
    /* istediğin boşluk */
}

.contact .row .content h3 {
    text-transform: uppercase;
    font-size: 3.5rem;
    color: var(--white-color);
}

.contact .row .content p {
    font-size: 1.5rem;
    color: var(--white-color);
}

.contact .row .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.contact .row .contact-info .info-item {
    font-size: 1.6rem;
    color: var(--white-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact .row .contact-info .info-item i {
    font-size: 2rem;
    color: var(--white-color);
}

/* contact end*/

/* maintenance */
.block .upper-block .content {
    margin: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block .upper-block .content h3 {
    font-size: 5rem;
}

/* maintenance */

@media (width < 1200px) {
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }

    .comments .container {
        gap: 3rem;
    }
}

.footer {
    background-color: #111;
    color: #ccc;
    text-align: center;
    padding: 3rem 2rem;
    font-family: 'Poppins', sans-serif;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 10px;
    max-width: 50rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-nav a {
    text-decoration: none;
    color: #ccc;
    font-weight: 600;
    font-size: 1.3rem;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-socials {
    margin-bottom: 2rem;
}

.footer-socials a {
    display: inline-block;
    margin: 0 0.5rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: transparent;
    border: 1px solid #90ee90;
    border-radius: 50%;
    color: #90ee90;
    font-size: 1.5rem;
    transition: 0.3s;
}

.footer-socials a:hover {
    background-color: #90ee90;
    color: #111;
}

.footer-copy {
    font-size: 1.2rem;
    color: #888;
}

.footer-copy a {
    color: #90ee90;
    text-decoration: none;
}

/*responsive start*/
@media (min-width: 1080px) and (max-width: 1200px) {
    .review .box-container .box .user {
        height: 25rem;
        width: 25rem;
    }

    /*1080 ile 1200 arası daha da küçült*/
}

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 1.5rem 2rem;
    }

    .header .logo img {
        height: 7rem;
    }

    section {
        padding: 2rem;
    }

    .review .box-container .box .user {
        height: 15.5rem;
        width: 15.5rem;
        font-size: 55%;
    }

    /*1080 ile 1200 arası daha da küçült*/

    /*
    .acts .box-container .box .image img{
        height: 10.5rem;
        width: 10.5rem;
        object-fit: cover;

    }
*/

}


@media (max-width: 768px) {

    .review .box-container .box .user {
        height: 13.5rem;
        width: 13.5rem;
    }

    /*1080 ile 1200 arası daha da küçült*/
    /*
    .acts .box-container .box .image img{
        height: 9.5rem;
        width: 9.5rem;

    }*/

    .header #menu-btn {
        display: inline-block;
    }

    .header .navbar {
        position: absolute;
        top: 105%;
        right: 5%;
        background-color: #fff;
        height: auto;
        width: 30rem;
        box-shadow: 0px 20px 14px 0px rgb(0 0 0 / 75%);
        border-radius: 10%;

    }

    .header .navbar {
        display: none;
    }

    .header .navbar.active {
        display: inline-block;
    }

    .header .navbar a {
        color: var(--black-color);
        display: block;
        margin: 1.5rem;
        padding: 0.5rem;
        font-size: 2rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-socials {
        margin-bottom: 1.5rem;
    }

    .footer-socials a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 1.3rem;
    }

    .footer-copy {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%;
    }


}

@media (width < 900px) {
    .comments .container {
        grid-template-columns: repeat(1, 1fr);
    }

    .comments .container .container-right {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width < 7500px) {
    .comments .container .container-right {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*responsive end*/

/* === Modern .acts responsive tasarımı === */

.acts {
    padding: 4rem 2rem;
}

.acts .box-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

/* Genel kutu yapısı */
.acts .box-container .box {
    width: 100%;
    max-width: 700px;
    background-color: #a40000;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.5rem;
    gap: 1.5rem;
}

/* Görsel kısmı */
.acts .box-container .box .image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 1rem;
}

/* İçerik */
.acts .box-container .box .content {
    flex: 1;
}

.acts .box-container .box .content span {
    font-size: 1.6rem;
    color: var(--white-color);
    display: block;
}

/* Buton */
.acts .box-container .box .btn {
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
    border-radius: 2rem;
    font-size: 1.4rem;
    cursor: pointer;
    white-space: nowrap;
}

.acts .box-container .box .btn:hover {
    background-color: #333;
}

/* Diğer Etkinlikler butonu */
.acts .more {
    display: flex;
    justify-content: center;
}

.acts .more .btn {
    margin-top: 2rem;
}

/* Responsive: 768px altı - mobil görünümler */
@media (max-width: 768px) {
    .acts .box-container .box {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .acts .box-container .box .image img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }

    .acts .box-container .box .btn {
        margin-top: 1rem;
    }
}

/* Responsive: 420px altı - küçük telefonlar */
@media (max-width: 420px) {
    .acts .box-container .box .content span {
        font-size: 1.4rem;
    }

    .acts .box-container .box .btn {
        font-size: 1.2rem;
        padding: 0.8rem 1.6rem;
    }
}

.header .logo img {
    height: 5rem;
}

.footer .footer-logo img {
    max-width: 25rem;
}

/*hamburger menu*/
.sidebar {
    position: fixed;
    top: 75px;
    right: 0;
    height: auto;
    width: 255px;
    z-index: 9999 !important;
    color: white;
    padding: 2rem 1.75rem;
    border-radius: 2.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(0, 0, 0);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: black;

}

.hideOnMobile {
    display: none;
}

@media(max-width: 800px) {
    .hideOnMobile {
        display: none;
    }

    #menu-btn i {
        display: flex;
    }
}

/*hamburger menu*/
