@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 100px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav__logo .logo-img {
    width: 150px;
    transition: transform 0.3s ease;
}

.nav__logo .logo-img:hover {
    transform: scale(1.05);
}

.nav__links {
    display: flex;
    gap: 20px;
}

.lline {
    width: 80%;
    height: 1px;
    margin-top: 30px;
    margin-bottom: 30px;
    background: linear-gradient(90deg, transparent, #25252583, transparent);
}

.nav__link {
    text-decoration: none;
    color: #ff6200;
    font-weight: 500;
    padding: 8px 16px;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

.nav__link:hover {
    border-bottom: 2px solid #ff6200;
}

.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    background: url('https://www.directizmir.com/img/thumbs/Sivas.jpg') no-repeat center/cover;
    overflow: hidden;
}

.backdrop {
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, white, rgba(0, 0, 0, 0.65));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
}

.hero .backdrop .btn {
    margin-top: 50px;
}

.hero .backdrop .btn a {
    padding: 10px 20px;
    text-decoration: none;
    margin: 5px;
}

.hero .backdrop .btn a:nth-child(1) {
    color: white;
    background: orange;
    border-radius: 0px 10px 0px 10px;
}

.hero .backdrop .btn a:nth-child(2) {
    color: white;
    border: 1px solid white;
    border-radius: 10px 0px 10px 0px;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
}

.wave svg {
    width: 100%;
    height: 100%;
}

.slider {
    width: 100%;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider .card {
    width: 13%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.slider .card img {
    width: 200px;
}

.slider .card .ctitle {
    font-weight: bold;
    font-size: 1.3em;
}

.slider .card .csubtitle {
    font-weight: 400;
    font-size: 0.9em;
}

.slider swiper-slide:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg, transparent, #252525, transparent);
    opacity: 0.3;
    position: absolute;
    right: 0;
    top: 0;
}

.logo-slider {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100%;
}

.container {
    display: flex;
    gap: 20px;
    width: 80%;
    height: 100%;
}

aside {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

aside .card {
    width: 100%;
    height: 50vh;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
}

aside .card:nth-child(1) {
    background: url('https://r.resimlink.com/X5YzU86.jpeg');
    background-position: center;
    background-size: cover;
}

main .card {
    width: 100%;
    height: 8vh;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
}

main {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

aside .card:nth-child(1)::after {
    content: 'Ramazan Bayramınız Mübarek Olsun';
    padding: 3px 20px;
    position: absolute;
    border-radius: 8px;
    z-index: 2;
    font-size: 0.8em;
    background: white;
    left: 22%;
    font-weight: bold;
    transform: translate(-50%, -50%);
    border: 1px solid #25252552;
}

aside .card:nth-child(3)::after {
    content: 'TOP 10';
    padding: 3px 20px;
    position: absolute;
    border-radius: 8px;
    z-index: 2;
    font-size: 0.8em;
    background: white;
    left: 22%;
    font-weight: bold;
    transform: translate(-50%, -50%);
    border: 1px solid #25252552;
}

.footer {
    margin-top: 20px;
    width: 100%;
    background-color: #ffffff;
    padding: 20px 0;
    font-family: Arial, sans-serif;
    text-align: center;
    border-top: 1px solid #ddd;
}

.footer-container {
    width: 80%;
    margin: 0 auto;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 10px;
}

.footer-line {
    border-bottom: 1px solid #ddd;
    margin: 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.footer-bottom .copyright {
    font-size: 0.9em;
    color: #333;
}

.footer-bottom .social-media a {
    text-decoration: none;
    color: #333;
    margin: 0 10px;
    font-size: 1em;
}

.footer-bottom .social-media a:hover {
    color: #f29922;
}

h2 {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

input, select, button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: orange;
    color: white;
    transition: all 0.25s ease-in-out;
    border: none;
    cursor: pointer;
    margin-top: 15px;
}

button:hover {
    background-color: orangered;
}

.contact {
    background-color: #f97316;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
    width: 300px;
}

.contact input, .contact textarea {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
}

.contact button {
    background-color: white;
    color: #f97316;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ff6200;
}

.popup-container {
    display: flex;
    gap: 20px;
}

.map-section {
    flex: 1;
    height: 300px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.contact-details {
    flex: 1;
    padding: 10px;
}

.contact-details h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.contact-details p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.contact-btn {
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav__logo .logo-img {
        width: 150px;
    }

    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .hero .backdrop .btn {
        margin-top: 30px;
    }

    .hero .backdrop .btn a {
        display: block;
        margin: 10px 0;
    }

    aside .card:nth-child(1)::after {
        left: 50% !important;
        padding: 3px 5px !important;
    }

    .popup-content {
        width: 90%;
    }

    .popup-container {
        flex-direction: column;
        gap: 15px;
    }

    .map-section, .contact-details {
        width: 100%;
        text-align: left;
    }

    .map-section {
        height: 200px;
    }

    .contact-details {
        padding: 0;
    }
}