@import url('color_palette.css');

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--color-dark-gray);
    overflow-x: hidden;
}

/* Global link hover color */
a:hover {
    color: var(--color-dark-red) !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Üst Bar */
.top-bar {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding: 10px 0;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Desktop top bar */
.top-bar-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-language {
    display: flex;
    align-items: center;
}

/* Mobile top bar - hidden by default */
.top-bar-mobile {
    display: none;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.top-bar-message {
    color: var(--color-white);
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-item {
    color: var(--color-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
    font-size: 0.9em;
}

.top-bar-item:hover {
    opacity: 0.8;
    color: var(--color-dark-red) !important;
}

.top-bar-item i {
    font-size: 14px;
    margin-right: 5px;
}

.language-select {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-medium-gray);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

/* Ana Menü */
.main-nav {
    background-color: var(--color-royal-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--color-dark-red) !important;
    opacity: 1;
}

.nav-link.active {
    color: var(--color-white);
    opacity: 0.9;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: all 0.3s;
}

/* Sections */
.section {
    display: block;
   /* min-height: 72vh; */
padding: 50px 0;
}

#anasayfa {
    padding: 6px 0px;
}

.section h2 {
    color: var(--color-royal-blue);
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
}

/* Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(58, 79, 168, 0.7);
    color: white;
    border: none;
    padding: 20px;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

.slider-btn:hover {
    background-color: var(--color-royal-blue);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--color-royal-blue);
}

/* Hakkımızda */
#hakkimizda {
    padding-top: 10px;
}

#hakkimizda h1,
#hakkimizda h2 {
    margin-bottom: 40px;
    text-align: left;
    color: var(--color-royal-blue);
}

.about-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-paragraph {
    overflow: hidden;
    margin-bottom: 10px;
}

.about-paragraph p {
    text-align: justify;
    color: var(--color-medium-dark-gray);
    margin: 0;
    margin-top: 0;
    line-height: 1.8;
}

.about-float-left {
    float: left;
    width: 300px;
    height: 200px;
    object-fit: contain;
    margin-right: 20px;
    margin-bottom: 15px;
    margin-top: 0;
}

.about-float-right {
    float: right;
    width: 300px;
    height: 200px;
    object-fit: contain;
    margin-left: 20px;
    margin-bottom: 15px;
    margin-top: 0;
    border-radius: 10px;
}

/* Kariyer */
#kariyer {
    padding-top: 30px;
}

#kariyer h2 {
    text-align: left;
}

.career-section {
    text-align: center;
}

.career-description {
    margin: 0 0 50px 0;
    text-align: left;
}

.career-description p {
    margin-bottom: 15px;
    color: var(--color-medium-dark-gray);
    font-size: 1.1em;
}

.career-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-box {
    background-color: var(--color-white);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(58, 79, 168, 0.2);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--color-royal-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1em;
    color: var(--color-medium-dark-gray);
    font-weight: 500;
}

/* Mağazalarımız */
#magazalarimiz h2 {
    text-align: left;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.branch-card {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(58, 79, 168, 0.2);
}

.branch-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--color-light-gray);
}

.branch-image-logo {
    object-fit: contain;
    padding: 20px;
    background-color: var(--color-white);
}

.branch-name {
    padding: 20px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-dark-gray);
    text-align: center;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
}

.popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-content {
    background-color: var(--color-white);
    margin: auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: var(--color-dark-gray);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background-color: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.popup-close:hover {
    background-color: var(--color-royal-blue);
    color: white;
}

.popup-map {
    width: 100%;
    height: 300px;
    border-radius: 10px 10px 0 0;
}

.popup-details {
    padding: 30px;
}

.popup-details h3 {
    color: var(--color-royal-blue);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.popup-phone {
    font-size: 1.2em;
    color: var(--color-medium-dark-gray);
    margin-bottom: 10px;
}

.popup-address {
    color: var(--color-medium-gray);
    line-height: 1.8;
}

/* İletişim */
#iletisim h2 {
    text-align: left;
    margin-bottom: 0;
}

.contact-section {
    margin-top: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
}

.contact-section-title {
    color: var(--color-dark-red);
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-dark-red);
}

.contact-form-container {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--color-dark-gray);
    font-weight: 500;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--color-light-gray);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-royal-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: var(--color-royal-blue);
    color: var(--color-white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: #2d3d85;
}

.contact-info-container {
    width: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    color: var(--color-dark-gray);
    font-weight: 700;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-label i {
    font-size: 0.9em;
}

.contact-value {
    color: var(--color-medium-gray);
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

.contact-value a {
    color: var(--color-medium-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: var(--color-dark-red) !important;
    text-decoration: underline;
}

/* Footer */
.footer {
    width: 100%;
}

.footer-top {
    background-color: var(--color-dark-gray);
    color: var(--color-light-gray);
    padding: 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-company-name {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-white);
}

.footer-about {
    color: var(--color-light-gray);
    font-size: 0.8em;
    line-height: 1.6;
    margin: 0;
}

.footer-read-more {
    color: var(--color-royal-blue);
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
}

.footer-read-more:hover {
    color: var(--color-dark-red) !important;
    text-decoration: underline;
}

.footer-title {
    color: var(--color-white);
    font-size: 1.0em;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-light-gray);
}

.footer-menu {
    display: flex;
    gap: 30px;
}

.footer-menu-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu-column a {
    color: var(--color-light-gray);
    text-decoration: none;
    font-size: 0.8em;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-menu-column a i {
    font-size: 0.6em;
    transition: color 0.3s;
}

.footer-menu-column a:hover {
    color: var(--color-dark-red);
}

.footer-menu-column a:hover i {
    color: var(--color-dark-red);
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-light-gray);
    font-size: 0.8em;
    line-height: 1.5;
}

.footer-icon {
    font-size: 1.1em;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.footer-contact-item a {
    color: var(--color-light-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: var(--color-dark-red) !important;
}

.footer-bottom {
    background-color: var(--color-dark-gray);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

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

.footer-copyright {
    color: var(--color-light-gray);
    font-size: 0.75em;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 1.4em;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-light-gray);
    border-radius: 50%;
}

.social-icon:hover {
    transform: scale(1.2);
    color: var(--color-dark-red);
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon i {
    transition: color 0.3s;
}

/* Gallery Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.gallery-close:hover {
    color: var(--color-royal-blue);
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(58, 79, 168, 0.7);
    color: white;
    border: none;
    padding: 20px;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

.gallery-prev:hover,
.gallery-next:hover {
    background-color: var(--color-royal-blue);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
    font-size: 32px;
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 0;
    bottom: 80px;
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 250px;
    white-space: normal;
    text-align: left;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 0 8px;
    border-color: var(--color-dark-gray) transparent transparent transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
    animation: tooltipSlideIn 0.3s ease;
}

@keyframes tooltipSlideIn {
    from {
        opacity: 0;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-royal-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide desktop top bar on mobile */
    .top-bar-desktop {
        display: none;
    }

    /* Show mobile top bar */
    .top-bar-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .top-bar-mobile-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .top-bar-mobile-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .top-bar-mobile-bottom .top-bar-item:first-child {
        justify-content: flex-start;
    }

    .top-bar-mobile-bottom .top-bar-item:last-child {
        justify-content: flex-end;
    }

    .top-bar-message {
        font-size: 0.85em;
    }

    .about-float-left,
    .about-float-right {
        float: none;
        display: block;
        max-width: 100%;
        width: 100%;
        margin: 0 0 20px 0;
        height: auto;
    }
    
    .about-paragraph {
        clear: both;
    }

    .career-stats {
        grid-template-columns: 1fr;
    }

    .slider-container {
        height: 320px;
    }

    .section {
        min-height: auto;
    }

    #anasayfa {
        padding: 6px 0px;
    }

    #hakkimizda {
        padding-top: 10px;
    }

    .section h2 {
        font-size: 1.5em;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-container {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-menu {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .whatsapp-tooltip {
        right: 0;
        bottom: 70px;
        min-width: 300px;
        max-width: 320px;
        font-size: 12px;
        padding: 12px 15px;
    }
}

