/* Station Finder Full Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.station_finder_fullpage {
    position: relative;
    width: 100%;
    height: 100vh;
}

.station_finder_fullpage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 350px;
    right: 0;
    bottom: 0;
    background: url('/lukoil_html/img/lukoil_istasyon_mapfull_bg.jpg') no-repeat center center;
    background-size: cover;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.station_finder_fullpage.map-active::before {
    opacity: 0;
    pointer-events: none;
}

/* Filter Sidebar */
.filter_sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

/* Mobile Menu Toggle */
.mobile_menu_toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1002;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s;
}

/* Mobilde sol alta taşı */
@media (max-width: 768px) {
    .mobile_menu_toggle {
        top: auto;
        bottom: 20px;
        left: 20px;
        z-index: 9999;
    }
}

.mobile_menu_toggle:hover {
    background: #f8f9fa;
}

.mobile_menu_toggle span {
    width: 25px;
    height: 3px;
    background: #E30613;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile_menu_toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile_menu_toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile_menu_toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.filter_header {
    background: #E30613;
    color: white;
    padding: 20px;
    text-align: center;
}

.filter_header h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.filter_header p {
    font-size: 13px;
    opacity: 0.9;
}

.filter_content {
    padding: 20px;
}

.filter_group {
    margin-bottom: 18px;
}

.filter_group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    font-size: 13px;
}

.filter_group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    background: white;
}

.feature_filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.feature_checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 3px;
    transition: background 0.3s;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.feature_checkbox:hover {
    background: #e9ecef;
    border-color: #E30613;
}

.feature_checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

.feature_checkbox label {
    margin: 0;
    cursor: pointer;
    font-size: 11px;
    font-weight: normal;
    line-height: 1.2;
}

.filter_buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}


.btn_search {
    background: #E30613;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn_search:hover {
    background: #c00510;
}

.btn_reset {
    background: #6c757d;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn_reset:hover {
    background: #5a6268;
}

.btn_back {
    background: #333;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn_back:hover {
    background: #555;
}

/* Map */
#map {
    position: absolute;
    top: 0;
    left: 350px;
    right: 0;
    bottom: 0;
    width: auto;
    height: 100%;
    display: none;
    z-index: 1;
}

#map.active {
    display: block;
}

/* Station List */
.station_count_badge {
    background: #E30613;
    color: white;
    padding: 10px 15px;
    border-radius: 3px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.station_list_container {
    max-height: calc(100vh - 600px);
    overflow-y: auto;
}

.station_list_item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.3s;
}

.station_list_item:hover {
    background: #f8f9fa;
}

.station_list_item:last-child {
    border-bottom: none;
}

.station_list_name {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
}

.station_list_address {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.station_list_features {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.station_list_badge {
    background: #E30613;
    color: white;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
}

/* Info Window */
.gm-style-iw {
    padding: 10px;
}

.info_window_content h3 {
    margin: 0 0 10px 0;
    color: #E30613;
    font-size: 16px;
}

.info_window_content p {
    margin: 5px 0;
    font-size: 13px;
}

/* Footer Content - Modern Design */
.footer_content {
    position: fixed;
    bottom: 0;
    left: 350px;
    right: 0;
    height: auto;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 8px 30px;
    z-index: 900;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.footer_section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer_center {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.footer_customer_service {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
}

.footer_customer_service:hover {
    background: rgba(227, 6, 19, 0.15);
    border-color: rgba(227, 6, 19, 0.5);
}

.cs_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #E30613;
    border-radius: 50%;
}

.cs_icon svg {
    width: 16px;
    height: 16px;
}

.cs_text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.cs_label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 9px;
    font-weight: 400;
    white-space: nowrap;
}

.cs_phone {
    color: white;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.cs_phone:hover {
    color: #E30613;
}

.footer_divider {
    width: 1px;
    height: 25px;
    background: rgba(255, 255, 255, 0.15);
}

.footer_website {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    text-decoration: none;
    transition: all 0.3s;
}

.footer_website:hover {
    color: white;
}

.footer_website svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer_right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer_social_links {
    display: flex;
    gap: 8px;
}

.footer_social_links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s;
}

.footer_social_links a svg {
    width: 14px;
    height: 14px;
}

.footer_social_links a:hover {
    background: #E30613;
    border-color: #E30613;
    transform: translateY(-2px);
}

.footer_social_links a svg path {
    fill: rgba(255, 255, 255, 0.7);
    transition: fill 0.3s;
}

.footer_social_links a:hover svg path {
    fill: white;
}

.footer_copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
    white-space: nowrap;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .filter_sidebar {
        width: 300px;
    }

    .station_finder_fullpage::before {
        left: 300px;
    }

    #map {
        left: 300px;
    }

    .footer_content {
        left: 300px;
        padding: 8px 25px;
        gap: 15px;
    }

    .cs_phone {
        font-size: 12px;
    }

    .footer_website {
        font-size: 10px;
    }
}

/* Responsive - Small Tablet */
@media (max-width: 900px) {
    .filter_sidebar {
        width: 280px;
    }

    .station_finder_fullpage::before {
        left: 280px;
    }

    #map {
        left: 280px;
    }

    .footer_content {
        left: 280px;
        padding: 7px 20px;
        gap: 12px;
    }

    .footer_center {
        gap: 12px;
    }

    .cs_text {
        flex-direction: column;
        gap: 0;
    }

    .cs_label {
        font-size: 8px;
    }

    .cs_phone {
        font-size: 11px;
    }

    .footer_website {
        font-size: 10px;
    }

    .footer_copyright {
        font-size: 8px;
    }
}

@media (max-width: 768px) {
    .station_finder_fullpage::before {
        left: 0;
    }

    #map {
        left: 0;
        width: 100%;
    }

    /* Mobile Menu */
    .mobile_menu_toggle {
        display: flex;
    }

    .filter_sidebar {
        position: fixed;
        width: 85%;
        max-width: 320px;
        transform: translateX(-100%);
        box-shadow: 2px 0 20px rgba(0,0,0,0.3);
        z-index: 1100;
    }

    .filter_sidebar.active {
        transform: translateX(0);
    }

    .mobile_overlay {
        z-index: 1050;
    }

    .mobile_overlay.active {
        display: block;
    }

    .mobile_menu_toggle {
        top: auto;
        bottom: 20px;
        left: 20px;
        z-index: 9999;
    }

    /* Filter Header */
    .filter_header {
        padding: 60px 20px 20px 20px;
    }

    .filter_header h1 {
        font-size: 20px;
    }

    .filter_header p {
        font-size: 12px;
    }

    /* Filter Content */
    .filter_content {
        padding: 15px;
        padding-bottom: 20px;
    }

    .filter_group {
        margin-bottom: 15px;
    }

    .filter_group label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .filter_group select {
        padding: 12px;
        font-size: 14px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        padding-right: 35px;
    }

    /* Feature Checkboxes */
    .feature_filters {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .feature_checkbox {
        padding: 8px 6px;
        font-size: 12px;
    }

    .feature_checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    .feature_checkbox label {
        font-size: 11px;
        line-height: 1.2;
    }

    /* Buttons - Touch Friendly */
    .filter_buttons {
        gap: 12px;
    }

    .btn_search,
    .btn_reset,
    .btn_back {
        padding: 14px 20px;
        font-size: 15px;
        font-weight: bold;
    }

    /* Station List */
    #stationListArea {
        margin-bottom: 100px;
    }

    .station_count_badge {
        padding: 12px 15px;
        font-size: 15px;
    }

    .station_list_container {
        max-height: calc(100vh - 400px);
    }

    .station_list_item {
        padding: 15px;
    }

    .station_list_name {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .station_list_address {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .station_list_badge {
        padding: 4px 8px;
        font-size: 11px;
    }

    /* Footer - Hide on Mobile */
    .footer_content {
        display: none;
    }

}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .filter_header {
        padding: 50px 15px 15px 15px;
    }

    .filter_header h1 {
        font-size: 18px;
    }

    .filter_header p {
        font-size: 11px;
    }

    .filter_content {
        padding: 12px;
        padding-bottom: 20px;
    }

    .filter_buttons {
        gap: 8px;
    }

    .btn_search,
    .btn_reset,
    .btn_back {
        padding: 10px 15px;
        font-size: 13px;
    }

}

/* Very Small Screens */
@media (max-width: 375px) {
    .mobile_menu_toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        left: 15px;
    }

    .filter_sidebar {
        width: 90%;
        max-width: 280px;
    }

    .filter_header h1 {
        font-size: 18px;
    }

    .filter_content {
        padding: 12px;
        padding-bottom: 20px;
    }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Touch Devices - Apple HIG ve Android Guidelines (min 44x44px) */
@media (hover: none) and (pointer: coarse) {
    /* Tüm tıklanabilir elementler için daha büyük touch area */
    .feature_checkbox {
        padding: 12px;
        min-height: 44px;
    }

    .btn_search,
    .btn_reset,
    .btn_back {
        min-height: 48px;
        padding: 14px 20px;
    }

    .filter_group select {
        min-height: 48px;
    }

    .footer_customer_service {
        min-height: 44px;
    }

    .footer_social_links a {
        min-width: 44px;
        min-height: 44px;
    }

    .station_list_item {
        min-height: 60px;
        padding: 15px;
    }

    /* Prevent text selection on double tap */
    * {
        -webkit-tap-highlight-color: rgba(227, 6, 19, 0.1);
        -webkit-touch-callout: none;
    }

    input, textarea, select {
        -webkit-touch-callout: default;
    }
}

/* Prevent zoom on input focus (iOS) */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="number"],
    select {
        font-size: 16px !important;
    }
}

