/* 
* Menustry Custom CSS
* Version: 1.0.0
*/

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-color: #1a1a2e;
    --light-color: #f7f7f7;
    --text-color: #333;
    --text-light: #777;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--light-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 0 auto;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-light {
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--white);
}

.navbar.scrolled .navbar-brand {
    color: var(--dark-color);
}
.navbar.scrolled .dropdown-item {
    color: var(--dark-color);
}
.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--dark-color);
}

.navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
    width: 70%;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    /* navbar mobil ikon beyaz olması için*/
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");

}

/* Custom Dropdown Styles */
.navbar .dropdown-menu {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: none;
}
.navbar .dropdown-menu .dropdown-item {
    color: var(--dark-color);
    padding: 12px 24px;
    transition: var(--transition);
    border-radius: 8px;
}
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-color) 0%, #2a2a5a 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    background-size: cover;
    /* Görseli alanı kaplayacak şekilde ölçeklendirir */
    background-repeat: no-repeat;
    /* Tekrar etmesini engeller */
    background-position: center;
    /* Ortalamak için */
    opacity: 0.1;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-btns {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-image {
    position: relative;
    height: 400px;
    animation: float 6s ease-in-out infinite;
}

.hero-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url('../images/hero-image.gif') no-repeat center center;
    background-size: contain;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--light-color);
    /* background-color: var(--white); */
}

.portfolio-item {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: var(--white);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.portfolio-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.portfolio-info {
    padding: 20px;
    text-align: center;
}

.portfolio-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.portfolio-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Video Modal */
.video-modal .modal-content {
    background-color: transparent;
    border: none;
}

.video-modal .modal-body {
    padding: 0;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-modal .modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal .close {
    position: absolute;
    right: -30px;
    top: 0;
    color: var(--white);
    font-size: 2rem;
    z-index: 999;
    opacity: 1;
}
/* QR Section */

.qrcode-section {
    /* background-color: var(--white); */
    background-color: var(--light-color);
    padding: 60px 0;
}

.qrcode-section .qr-image {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

@media (max-width: 991px) {
    .qrcode-section .qr-image {
        max-width: 220px;
    }
}

@media (max-width: 767px) {
    .qrcode-section {
        position: relative;
        min-height: 320px;
        /* Yüksekliği isteğe göre ayarlayabilirsiniz */
        padding: 40px 0;
        overflow: hidden;
    }
    .qrcode-section .qr-image {
        display: none;
    }
    .qrcode-section::before {
        content: "";
        position:  absolute ;
        top: 0; left: 0; right: 0; bottom: 0;
        background: url('../images/qrcode.svg') center center/contain no-repeat;
        opacity: 0.18;
        z-index: 1;
    }
    .qrcode-section .qrcode-content {
        position: relative;
        z-index: 2;
        background: rgba(255, 255, 255, 0.705);
        border-radius: 16px;
        padding: 24px 16px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.07);
        margin: 0 auto;
        max-width: 95vw;
    }
    .qrcode-section .row.align-items-center {
        flex-direction: column;
        align-items: stretch !important;
    }
    .qrcode-section .col-lg-6.text-center,
    .qrcode-section .col-lg-6 {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .qrcode-content {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .qrcode-section .qr-image {
        max-width: 120px;
    }
    .qrcode-section .row.align-items-center {
        flex-direction: row;
    }
}

/* Services Section */
.services-section {
    /* background-color: var(--light-color); */
    background-color: var(--white);
}

.service-item {
    padding: 40px 30px;
    text-align: center;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.service-icon {
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    background-color: rgba(255, 107, 107, 0.1);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    transition: var(--transition);
}

.service-item:hover .service-icon i {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2a2a5a 100%);
    color: var(--black);
    position: relative;
}

.contact-section h2 {

    color: var(--white);

}

.contact-section p {

    color: var(--white);

}

.contact-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
      background-size: cover;
    /* Görseli alanı kaplayacak şekilde ölçeklendirir */
    background-repeat: no-repeat;
    /* Tekrar etmesini engeller */
    background-position: center;
    /* Ortalamak için */
    opacity: 0.1;
    pointer-events: none;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-dark);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #e1e1e1;
    height: 58px;
    color: var(--text-color);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.contact-form textarea.form-control {
    height: auto;
}

.contact-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form .form-check-label {
    color: var(--text-color);
    font-size: 0.9rem;
}

.contact-form .btn {
    padding: 15px 40px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 30px;
    background: var(--primary-color);
}

.footer p {
    margin-bottom: 20px;
    color: #ccc;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.copyright {
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    z-index: 99;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--white);
        padding: 20px;
        border-radius: 5px;
        box-shadow: var(--shadow);
        margin-top: 15px;
    }

  .navbar-collapse .nav-link {
        color: var(--dark-color) !important;
    }

    .hero-section {
        height: 100vh;
        padding: 150px 0 100px;
    }

    .hero-btns {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        /* Butonlar arası boşluk */
        margin-top: 1.5rem;
        justify-content: center;
        /* Butonları yatayda ortala */
    }

    .hero-image {
        margin-top: 50px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
.btn {
    margin: 2px;
}
    /* Login dropdown mobilde navbarı taşırmasın */
    .navbar-nav.flex-row .dropdown-menu {
        position: absolute !important;
        right: 0;
        left: auto;
        min-width: 160px;
        top: 100%;
        z-index: 1050;
        box-shadow: var(--shadow);
    }
    .navbar-nav.flex-row {
        position: relative;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .footer {
        padding: 50px 0 0;
    }

    .footer-info,
    .footer-links,
    .footer-contact {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
}

/* Google reCaptcha */
.grecaptcha-badge {
    visibility: hidden;
}