/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

*:focus,
*.active{
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

button {
    border: none;
    background: none;
    outline: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/* Sayfa ayarları */
html {
    scroll-behavior: smooth;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
  }

body {
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
    line-height: 1.5;
    color: #222;
    background-color: #F5F5F5;
}

/* Medya öğeleri taşmasın */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

.navbar{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 100%;
    position: sticky;
    top: 0;
    background-color: #000000;
    z-index: 999;
}

.navbar-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
    max-width: 1600px;
}

.navbar .navbar-container .logo{
    width: 130px;
    height: 60px;
    z-index: 1000;
}

.navbar-container .navbar-menu{
    display: flex;
    text-align: center;
    gap: 1.5rem;
    list-style: none !important;
}

.navbar-container .navbar-menu li a{
    text-decoration: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 26px 10px;
}

.navbar-container .navbar-menu li a:hover{
    color: #e9ecef;
    border-bottom: 3px solid red;
}

.navbar-toggle{
    background: none;
    display: none;
    padding: 10px;
}

.bar{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: #fff;
    transition: all 0.3s ease-in-out;
}



#hero h1,p{
    color: white;
}

#hero .hero-content h1{
    font-size: 2rem;
    padding: 0px 10px;
}

#hero .hero-content p{
    font-size: 1rem;
    max-width: 700px;
    padding: 40px 40px;
}

#hero-content{
    text-align: center;
}

#hero .hero-content .btn{
    display: inline-block;
    margin-top: 40px;
    padding: 8px 20px;
    background: #FF0000;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    margin-bottom: 30vh;
}

#hero .hero-content .btn:hover{
    background-color: #B22222;
}

#hero{
    background-image: url("../images/heroimg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: auto; 
    display: flex;
    justify-content: center; /* yatay */
    padding-top: 20vh;
    text-align: center;
}

#cards{
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding-bottom: 4vh;
}

#cards .card{
    background: #e9ecef;
    border-radius: 12px;
    width: 280px;
    height: 240px;
    margin-top: 5vh;
    overflow: hidden;
}

#cards .card a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    color: white;
    margin-top: 25px;
    border-radius: 50px;
    background-color: red;
    font-size: 25px;
}

#cards .card h3{
    text-align: center;
    padding-top: 20px;
    font-size: 23px;
}

#cards .card p{
    padding: 25px 30px;
    text-align: center;
    font-size: 13px;
    color: #222;
}

#aboutus{
    width: 100%;
    height: auto;
    background-color: #e9ecef;
    padding: 80px 10%
}

#aboutus h3{
    font-size: 2rem;
    margin-bottom: 20px;
}

#aboutus .p1{
    font-size: 18px;
    padding-top: 7vh;
    padding-bottom: 7vh;
    font-weight: 700;
    color: #130104;
}

#aboutus p{
    font-size: 16px;
    color: #130104;
    padding-bottom: 5vh;
}

#contact {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 100px 10%;
    background: #f8f8f8;
}

.contact-left,
.contact-right {
    flex: 1;
}

.contact-left h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-left p {
    line-height: 1.8;
    color: #555;
}

.contact-info {
    margin-top: 25px;
}

.contact-info p {
    margin-bottom: 12px;
}

.contact-info a{
    color: #555;
    text-decoration: none;
    transition: .1s;
}

.contact-info a:hover{
    color: #e63946; /* marka rengin */
}

.contact-right iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.social{
    width: 100%;
    height: auto;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 6vh;
}

.social .wrapper{
    display: inline-flex;
    list-style: none;
    padding: 0;
}

.social .wrapper .icon{
    position: relative;
    background: #fff;
    border-radius: 50%;
    padding: 15px;
    margin: 10px;
    width: 50px;
    height: 50px;
    font-size: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social .wrapper .icon i{
    width: 100%;
    height: auto;
}

.social .wrapper .call a,
.social .wrapper .whatsapp a,
.social .wrapper .instagram a,
.social .wrapper .facebook a,
.social .wrapper .gmail a
{
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: auto;
}

.social .wrapper .icon:hover span{
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.social .wrapper .call:hover{
    background: #EA4335;
    color: #fff;
}

.social .wrapper .whatsapp:hover{
    background: #25D366;
    color: #fff;
}

.social .wrapper .facebook:hover{
    background: #1877F2;
    color: #fff;
}

.social .wrapper .facebook:hover{
    background: #1877F2;
    color: #fff;
}

.social .wrapper .instagram:hover{
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
    color: #fff;
}

.social .wrapper .gmail:hover{
    background: #EA4335;
    color: #fff;
}


#gallerys {
    width: 100%;
    height: auto;
    padding: 80px 10%;
}

#gallerys h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#gallerys p {
    line-height: 1.8;
    color: #555;
}

.footer{
    width: 100%;
    height: 17vh;
    background-color: #130104;
    display: block;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer h3{
    font-size: 1.5rem;
    padding-top: 3vh;
    color: #fff;
}

.footer p{
    font-size: 0.6rem;
    padding-top: 1vh;
}

/* Galeri */
.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

/* Kutular */
.gallery a{
    display:block;
    width:100%;
    aspect-ratio:1/1;   /* Kare kutu */
    overflow:hidden;
    border-radius:15px;
    background:#ddd;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:.3s;
}

.gallery a:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

/* Resimler */
.gallery img{
    width:100%;
    height:100%;
    object-fit:cover; /* Resmi kutuya doldurur, gerekirse zoom yapar */
    transition:.4s;
}

.gallery a:hover img{
    transform:scale(1.08);
}

@media (max-width: 1190px){
    #cards .card {
        width: 384px;
    }

}


@media (max-width: 880px){
    .navbar{
        backdrop-filter: none;
    }

    .navbar-container .navbar-menu{
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.7rem !important;
        position: absolute;
        background-color: #130104;
        height: 100vh;
        width: 250px;
        top: 0;
        right: 0;
        padding: 5rem 1.5rem;
    }

    .navbar-container .navbar-menu.active{
        display: flex;
    }

    .navbar-toggle{
        display: block;
        z-index: 999;
    }

    .navbar-toggle.active .bar:nth-child(2){
        opacity: 0;
    }

    .navbar-toggle.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    .navbar-toggle.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media(max-width: 480px) {
    .navbar-container{
        padding: 0 1rem;
    }

    .navbar-container .navbar-menu {
        width: 100%;
    }

    .navbar-container .navbar-menu li a{
        font-size: 0.9rem;
        padding: 3px 15px;
    }

    .navbar-container .navbar-menu li{
        margin-top: 10vh;
        margin-left: 32%;
    }
}

@media (max-width: 420px){
    #cards .card {
        width: 310px;
    }

}


@media (max-width: 768px) {
    #contact {
        flex-direction: column;
        padding: 60px 5%;
    }

    .contact-right iframe {
        height: 300px;
    }
}