/*
Theme Name: Ripon Search Theme
Description: Aramalarınızı kolaylaştıran bir platform.
Version: 2.2.3
Author: Tekeci
Author URI: https://ripondigital.com
*/


:root {
	--text-primary: #0F0B3D;
	--brand-color: #156EF5;
	--border-color: #E1E4EA;
	--text-secondary: #5E7182;
	--icon-color: #5E7182;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body, html {
	margin: 0;
	padding: 0;
	font-family: "Inter", sans-serif;
	position:relative;
}

section {
	margin: 0px;
	padding: 0px;
	display: flow-root;
}

.site p,
.site ul,
.site ol,
.site dl {
	font-weight: 400;
	line-height: 1.1;
	margin-block-start: 0;
	margin-block-end: 1em;
}

.site p:last-child,
.site ul:last-child,
.site ol:last-child,
.site dl:last-child {
	margin-block-end: 0;
	text-wrap: pretty;
}

.site h1,
.site h2,
.site h3,
.site h4,
.site h5,
.site h6 {
	margin-block-start: 0;
	margin-block-end: 0;
	font-weight: 600;
	text-wrap: balance;
}

.info-box {
	    width: max-content;
   position: absolute;
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1000;
	background: #fff;
	border: 1px solid #E1E4EA;
	border-radius : 8px;
	padding: 8px 8px;
	font-size: 15px; 
	display:flex;
	justify-content: center;
	gap: 16px;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
	visibility: hidden;
	opacity: 0;
	transition-property: visibility, opacity, top;
	transition-duration: 500ms;
	transition-behavior: allow-discrete;
	transition-timing-function: ease-in; 
}

.info-box.show {
    visibility: visible;
    opacity:1;
	top:32px;
	transition-timing-function: ease-out; 
}

.info-box .left-column {
    display:flex;
    justify-content: :center;
    gap:10px;
}

.info-box .right-column .close-button svg {
    color: #868C98;
    transition: color 0.3s;
}

.info-box .right-column .close-button:hover svg {
    color: #0F0B3C;
}

.page {
	display:grid;
	grid-template-columns: 30% 70%;
	height:100vh;
}

.page .left-column {display: inline-flex;}

.page .left-column img {
	width: 100%;
	height: 100vh;
	object-fit: cover;
	display: inline-flex;
}

.page .right-column {
	background:#fff;
	display:flex;
	flex-direction: column;
	align-items:center;
	justify-content: space-between;
}

.page .right-column .footer-section {
	display:flex;
	align-items:center;
	justify-content:center;
	padding:1rem 0;
	width:100%;
	border-top:1px solid var(--border-color);
	height: 60px;
	background: #fff;
}

.page .right-column .list-wrapper {
	display:flex;
	gap:36px;
	align-items:center;
	list-style-type: none;
	padding:0;
}

.page .right-column .list-wrapper a {
	color: #5E7182;
	text-decoration: none;
	transition: color 0.3s ease-in-out;
}

.page .right-column .list-wrapper a:hover {
	color: #101319;
}

.page .right-column .content {
	padding: 2rem 12%;
	width:100%;
	max-height: calc(100vh - 60px);
	overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
	overflow: visible;
}

.page .right-column .content .welcome {
	margin-bottom:56px;
}

.page .right-column .content .welcome .logo-wrapper {
	display:flex;
	align-items: center;
}

.page .right-column .content .welcome .logo-wrapper .logo {
	height:36px;
	width:auto;
}

.page .right-column .content .welcome .logo-wrapper p {
	margin-left:1rem;
	padding-left:1rem;
	border-left:2px solid #95A2B3;
	font-weight:600;
	color:#95A2B3;
}

.page .right-column .content .welcome .headline {
	font-size: 58px;
	font-weight: bold;
	margin-bottom: 20px;
	color: var(--text-primary);
	letter-spacing: -0.025em;
}

.page .right-column .content .welcome .description {
	font-size: 18px;
	color: var(--text-secondary);
	line-height: 28px;
}







.right-column .content .search-container {
	width: 100%;
	box-shadow: rgba(25, 86, 88, 0.06) 0px 17px 37px 0px, rgba(25, 86, 88, 0.05) 0px 67px 67px 0px;
	border-radius: 0.5rem;
	border: 1px solid #E1E4EA;
	margin-bottom: 62px;
}
.right-column .content .search-container .search-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}
.right-column .content .search-container .search-input-wrapper .search-input {
	width: 100%;
	padding: 1.5rem 6rem 1.5rem 3.6rem;
	border: none;
	font-size: 18px;
	background: transparent;
}
.right-column .content .search-container .search-input-wrapper .search-input:focus {
    border:unset;
    outline:unset;
}
.right-column .content .search-container .search-input-wrapper .search-input:focus {
	outline: none;
	box-shadow: unset;
}
.right-column .content .search-container .search-input-wrapper .search-button {
	position: absolute;
	right: 1rem;
	background-color: #156EF5;
	color: white;
	border: none;
	border-radius: 0.375rem;
	padding: 0.8rem 1.6rem;
	font-size: 15px;
	font-weight: 400;
	cursor: pointer;
	transition: background-color 0.3s ease-in-out;
}
.right-column .content .search-container .search-input-wrapper .search-button:hover {
	background-color: #1363DC;
}
.right-column .content .search-container .search-input-wrapper .search-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #9CA3AF;
	width:28px;
	height:auto;
}






.right-column .content .search-container .filter-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 22px;
	align-items: center;
	justify-content: space-between;
	padding: 1.2rem;
	border-top: 1px solid #E1E4EA;
}

.right-column .content .search-container .filter-wrapper .left-column {
	flex-grow: 1;
	flex-shrink: 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
}

.right-column .content .search-container .filter-wrapper .right-column {
	flex-grow: 0;
	flex-shrink: 0;
}

.right-column .content .search-container .filter-wrapper .dropdown-container {
	position: relative;
}

.right-column .content .search-container .filter-wrapper .dropdown-button {
	width: 100%;
	padding: 12px 16px;
	background: white;
	border: 1px solid #E1E4EA;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	font-size: 16px;
	color: #5E7182;
	transition: .3s ease-in-out;
}

.right-column .content .search-container .filter-wrapper .dropdown-button .button-left {
	display:flex;
	align-items:center;
	gap:12px;
}

.right-column .content .search-container .filter-wrapper .dropdown-button .button-left span {
    display: inline-block;
    max-width: 125px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.right-column .content .search-container .filter-wrapper .dropdown-button .button-left svg {
	color:#5E7182;
}

.right-column .content .search-container .filter-wrapper .dropdown-button:hover {
	background: #F3F8FE;
}

.right-column .content .search-container .filter-wrapper .dropdown-button i {
	border: solid #666;
	margin-top:-2px;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(45deg);
	transition: transform 0.2s;
}

.right-column .content .search-container .filter-wrapper .dropdown-button.active {
	background:#F3F8FE;
	color:#0F0B3D;
	border-color: #156EF5;
}

.right-column .content .search-container .filter-wrapper .dropdown-button.active i {
	transform: rotate(-135deg);
	margin-top:4px;
}

.right-column .content .search-container .filter-wrapper .dropdown-button.active svg {
	color: #156EF5;
}

.right-column .content .search-container .filter-wrapper .popup {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	min-width: 300px;
	margin-top: 12px;
	background: white;
	border-radius: 8px;
	box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
	display: none;
	z-index: 1000;
	border: 1px solid #E1E4EA;
	max-height: 250px; /* Maksimum yükseklik */
	overflow: hidden;
}

.right-column .content .search-container .filter-wrapper .popup.show {
	display: block;
}

.right-column .content .search-container .filter-wrapper .popup-header {
	position: sticky;
	top: 0;
	z-index: 1;
	padding: 16px;
	border-bottom: 1px solid #E1E4EA;
	background:#fff;
}

.right-column .content .search-container .filter-wrapper .popup-header .popup-title-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.right-column .content .search-container .filter-wrapper .popup-header .search-box {
	position: relative;
	width: 100%;
}

.right-column .content .search-container .filter-wrapper .popup-header .search-box input {
	width: 100%;
	padding: 8px 32px 8px 12px;
	border: 1px solid #E1E4EA;
	border-radius: 6px;
	font-size: 14px;
	outline: none;
	transition: border-color 0.2s;
}

.right-column .content .search-container .filter-wrapper .popup-header .search-box input:focus {
	border-color: #2563EB;
}

.right-column .content .search-container .filter-wrapper .popup-header .search-box .search-icon {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.right-column .content .search-container .filter-wrapper .popup-title {
	font-size: 16px;
	font-weight: 500;
	color: #333;
}

.right-column .content .search-container .filter-wrapper .clear-button {
	border: none;
	padding:0;
	background: none;
	color: #666;
	cursor: pointer;
	font-size: 14px;
}

.right-column .content .search-container .filter-wrapper .clear-button:hover {
	color: #333;
}

.right-column .content .search-container .filter-wrapper .popup .option-list {
	max-height: calc(250px - 56px); /* Popup max-height - header height */
	overflow-y: auto;
	overflow-x: hidden;
	padding: 8px 0;
	margin: 0;
	box-sizing: border-box;
}

/* Scroll çubuğu stilleri */
.right-column .content .search-container .filter-wrapper .popup .option-list::-webkit-scrollbar {
	width: 8px;
}

.right-column .content .search-container .filter-wrapper .popup .option-list::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

.right-column .content .search-container .filter-wrapper .popup .option-list::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 4px;
}

.right-column .content .search-container .filter-wrapper .popup .option-list::-webkit-scrollbar-thumb:hover {
	background: #a8a8a8;
}

.right-column .content .search-container .filter-wrapper .option-item {
	padding: 8px 16px;
	display: none;
	align-items: center;
	gap: 24px;
	cursor: pointer;
}

.right-column .content .search-container .filter-wrapper .option-item.visible {
	display:flex;
}

.right-column .content .search-container .filter-wrapper .option-item:hover {
	background: #f8f9fa;
}

.checkbox-wrapper {
	display: flex;
	align-items: center;
	position: relative;
}

.checkbox-wrapper input[type="radio"] {
	opacity: 0;
	position: absolute;
	cursor: pointer;
	width: 20px;
	height: 20px;
	margin: 0;
}

.checkbox-wrapper .custom-checkbox {
	width: 16px;
	height: 16px;
	border: 1px solid #5E7182;
	border-radius: 4px;
	display: inline-block;
	position: relative;
	cursor: pointer;
	margin-right: 12px;
	transition: all 0.3s ease;
}

.checkbox-wrapper input[type="radio"]:checked + .custom-checkbox {
	background: linear-gradient(to bottom, #DEEBFE, #FDFDFF);
	border-color: #156EF5;
}

.checkbox-wrapper .custom-checkbox svg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	transition: all 0.3s ease;
	color: #156EF5;
	width:10px;
	height:10px;
}

.checkbox-wrapper input[type="radio"]:checked + .custom-checkbox svg {
	transform: translate(-50%, -50%) scale(1);
}

.right-column .content .search-container .filter-wrapper .option-icon {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.right-column .content .search-container .filter-wrapper .option-label {
	font-size: 15px;
	color: #0F0B3D;
	margin-left: 8px;
}

.right-column .content .search-container .filter-wrapper .clear-all-button {
	padding: unset;
	color: #5E7182;
	background:unset;
	border: none;
	cursor: pointer;
	font-size: 16px;
	transition: color 0.3s;
}

.right-column .content .search-container .filter-wrapper .clear-all-button:hover {
	color: #0F0B3D;
}

.right-column .content .search-container .filter-wrapper .dropdown-button.selected {
	background: #F3F8FE;
	color: #0F0B3D;
	border-color: #156EF5;
}

.right-column .content .search-container .filter-wrapper .dropdown-button.selected .button-left svg {
	color: #156EF5;
}

/* Active class'ının stilini koruyoruz */
.right-column .content .search-container .filter-wrapper .dropdown-button.active {
	background: #F3F8FE;
	color: #0F0B3D;
	border-color: #156EF5;
}

.right-column .content .search-container .filter-wrapper .dropdown-button.active svg {
	color: #156EF5;
}








.right-column .warning-box {
	display:grid;
	grid-template-columns: 16px 1fr;
	gap:24px;
	background:#fff;
	padding: 20px;
	border: 1px solid var(--border-color);
	background-color: white;
	box-shadow: 0 10px 10px -10px rgb(71 82 101 / 10%);
	border-radius:12px;
}

.right-column .warning-box svg {
	width:18px;
	height:18px;
}

.right-column .warning-box .headline {
	margin-bottom:10px;
	
}

.right-column .warning-box .description {
	color:var(--text-secondary);
	line-height: 21px;   
}


/* Büyük Ekran */
@media (min-width: 1536px) {
	.page .right-column .content {
		height:100%;
		justify-content: center;
	}
}

/* Tablet */
@media (min-width: 767px) and (max-width: 991.98px) {

	.page {
		grid-template-columns: 1fr;
		grid-template-rows: 250px 1fr;
		height: auto;
	}

	.page .left-column img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

}


.empty-message {
	padding: 20px;
	text-align: center;
	color: #666;
	font-size: 14px;
}

#locationSearch:disabled {
	background-color: #f5f5f5;
	cursor: not-allowed;
}


/* Telefon */
@media (max-width: 767px) {

	.page {
		grid-template-columns: 1fr;
		height: auto;
	}

	.page .left-column {
		display:none;
	}

	.page .right-column .content {
		padding: 2rem;
		width: auto;
		max-height: fit-content;
	}

	.page .right-column .content .welcome .logo-wrapper .logo {
		height:32px;
		width:auto;
	}

	.page .right-column .content .welcome .headline {
		font-size: 38px;
		line-height: 42px;
	}

	.page .right-column .content .welcome .description {
		font-size: 16px;
		line-height:1.4;
	}

	.right-column .content .search-container .search-input-wrapper .search-button span {
		display:none;
	}

	.right-column .content .search-container .filter-wrapper {
		flex-wrap: wrap;
		align-items: stretch;
		flex-direction: column;
	}

	.right-column .content .search-container .filter-wrapper .dropdown-container {
		min-width: unset;
	}

	.right-column .content .search-container .filter-wrapper .left-column {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.right-column .content .search-container .filter-wrapper .popup {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 50vh;
        margin-top: 0;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        overflow-y: auto;
        z-index: 1000;
		transform: translateY(100%);
        transition: transform 0.5s ease;
    }

    .right-column .content .search-container .filter-wrapper .popup.show {
        transform: translateY(0);
    }

	.right-column .content .search-container .filter-wrapper .overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
		z-index: 999;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease;
	}

	.right-column .content .search-container .filter-wrapper .overlay.show {
		opacity: 1;
    	visibility: visible;
	}

	.right-column .content .search-container .filter-wrapper .popup-header {
		padding: 20px;
	}

	.right-column .content .search-container .filter-wrapper .option-item {
		padding: 8px 20px;
	}

	.right-column .content .search-container .filter-wrapper .popup .option-list {
		max-height: unset;
	}

	.right-column .content .search-container .filter-wrapper .popup-title {
    	font-size: 20px;
	}

}