/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&family=Inter:wght@300;400;500;700&family=Lato:ital,wght@0,300;0,400;0,700;1,400&display=swap');

/* Basic reset & general variables */
:root {
  --primary-color: #5cb4be;
  --secondary-color: #4e99a0;
  --accent-color: #62bbc5;
  --bg-dark-lavender: linear-gradient(70deg, #fbf7ff 0%, #e1d6e8 100%);
  --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.12);
  --shadow-footer: 0 0px 10px 0px rgba(128, 128, 128, 0.5);
  --text-dark: #333333;
  --border-color: #d0eff3;
}

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background-color: #f3f3f3;
  line-height: 1.6;
}

/* Page Surround container wrapping everything with box shadow */
#g-page-surround {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0px 25px rgba(0,0,0,0.15);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.g-container {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-right: auto;
  margin-left: auto;
}

/* Header & Navigation */
#g-navigation {
  background: #ffffff;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

#g-navigation .g-container {
  background: var(--bg-dark-lavender);
  padding-top: 10px;
  padding-bottom: 10px;
}

.g-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.logobolum {
  flex: 0 0 auto;
}

.logobolum .g-logo img {
  max-height: 80px;
  display: block;
  transition: transform 0.3s ease;
}

.logobolum .g-logo img:hover {
  transform: scale(1.03);
}

.menubolum {
  flex: 1;
}

.g-main-nav {
  font-family: 'palatino linotype', 'Georgia', serif;
  font-style: italic;
  font-weight: bold;
  text-transform: uppercase;
}

.g-toplevel {
  display: flex;
  list-style: none;
  justify-content: flex-end;
  align-items: center;
}

.g-toplevel > li {
  position: relative;
  margin: 0 4px;
}

.g-menu-item-container {
  display: flex;
  align-items: center;
  padding: 10px 8px;
  color: #555555;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  cursor: pointer;
}

.g-toplevel > li > a.g-menu-item-container:hover,
.g-toplevel > li.active > a.g-menu-item-container {
  color: var(--accent-color);
  border-top: 1px solid var(--primary-color) !important;
  border-bottom: 1px solid var(--primary-color) !important;
}

.g-menu-item-content {
  display: inline-flex;
  align-items: center;
}

.g-menu-item-title {
  margin-left: 4px;
}

.g-menu-parent-indicator {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  opacity: 0.7;
}

/* Dropdown styling */
.g-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  min-width: 240px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  border-radius: 4px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
  padding: 10px 0;
}

.g-dropdown.g-dropdown-center {
  right: auto;
  left: 50%;
  transform: translate(-50%, 10px);
}

.g-dropdown-column {
  padding: 0 10px;
}

.g-sublevel {
  list-style: none;
  padding: 0;
}

.g-sublevel li {
  margin: 0;
}

.g-sublevel li a {
  display: block;
  padding: 8px 15px;
  color: #666666;
  text-decoration: none;
  font-size: 13px;
  font-weight: normal;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.2s, color 0.2s;
}

.g-sublevel li:last-child a {
  border-bottom: none;
}

.g-sublevel li a:hover {
  background: #fbf7ff;
  color: var(--accent-color);
}

/* Hover dropdown triggers */
.g-menu-item.g-parent:hover > .g-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.g-menu-item.g-parent:hover > .g-dropdown.g-dropdown-center {
  transform: translate(-50%, 0);
}

/* Double column blog dropdown layout */
.g-dropdown.g-dropdown-center .g-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 500px;
  gap: 10px;
}

.g-dropdown.g-dropdown-center .g-block {
  width: 100%;
}

.g-dropdown .g-go-back {
  display: none; /* Only for mobile offcanvas */
}

/* Mobile Navigation Toggle (Hamburger) */
.g-offcanvas-toggle {
  display: none;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  z-index: 1001;
}

/* Mobile Offcanvas Overlay */
.g-offcanvas-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.g-offcanvas-overlay.active {
  display: block;
  opacity: 1;
}

.g-offcanvas-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #ffffff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.2);
  z-index: 2001;
  transition: left 0.3s ease;
  padding: 60px 20px 20px 20px;
  overflow-y: auto;
}

.g-offcanvas-menu.active {
  left: 0;
}

.g-offcanvas-menu ul {
  list-style: none;
}

.g-offcanvas-menu li {
  margin-bottom: 5px;
}

.g-offcanvas-menu a, .g-offcanvas-menu .g-menu-item-container {
  display: block;
  padding: 10px 15px;
  color: #333333;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.2s;
  font-family: 'palatino linotype', serif;
  font-style: italic;
  font-size: 15px;
}

.g-offcanvas-menu a:hover {
  background: #f1ecf5;
  color: var(--accent-color);
}

.g-offcanvas-menu .g-sublevel {
  padding-left: 15px;
  margin-top: 5px;
  border-left: 2px solid var(--border-color);
}

.g-offcanvas-menu .g-sublevel a {
  font-weight: normal;
  font-size: 13px;
  padding: 6px 12px;
}

.g-offcanvas-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

/* Main Container Section */
#g-container-main {
  flex: 1;
  background: var(--bg-dark-lavender);
  padding-top: 30px;
  padding-bottom: 50px;
}

/* Main Content elements styling */
#g-mainbar {
  background: transparent;
}

.page-header {
  margin-top: 20px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

h2, h1 {
  font-family: 'palatino linotype', 'Georgia', serif;
  font-weight: bold;
  font-size: 28px;
  color: #222222;
  line-height: 1.3;
}

.item-page p {
  margin-bottom: 1.5rem;
  font-size: 16px;
  text-align: justify;
}

.item-page ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.item-page li {
  margin-bottom: 0.5rem;
  font-size: 15px;
}

/* Floated elements & margins */
.pcpaddingleft {
  padding-left: 15px;
}
.pcpaddingright {
  padding-right: 15px;
}
.pcmarginright {
  margin-right: 30px;
}

.iccerceve {
  width: 400px;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.iccercevebuyuk {
  width: 500px;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.iccerceve:hover, .iccercevebuyuk:hover {
  transform: scale(1.02);
}

/* Video Grid and Flip Overlay Effect */
.videolarbaslik {
  margin-top: 35px;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 5px;
  font-family: 'palatino linotype', serif;
}

.videolarbolum {
  display: flex;
  flex-wrap: wrap;
  margin-top: 15px;
  margin-left: -10px;
  margin-right: -10px;
  width: calc(100% + 20px);
}

.video {
  position: relative;
  width: 25%;
  height: 220px;
  overflow: hidden;
  float: left;
  padding: 10px;
}

.video li {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.video figure {
  margin: 0;
  padding: 0;
  position: relative;
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
  box-shadow: var(--shadow-light);
  border-radius: 8px;
  overflow: hidden;
}

.video figure a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.video figure img {
  display: block;
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s, visibility 0.3s;
}

.video figure figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  background-color: var(--secondary-color);
  text-align: center;
}

.video figure h2 {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
}

.video figure p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

.video figure:hover img {
  opacity: 0;
  visibility: hidden;
}

/* Vehicle Page Layouts */
.anayazi {
  float: left;
  width: 65%;
  padding-right: 25px;
}

.anafotolar {
  float: left;
  width: 35%;
}

.arac {
  float: left;
  width: 40%;
  padding-right: 20px;
}

.arac img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
}

.aracfotolar {
  width: 60%;
  float: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.aracfotolar a {
  display: block;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  position: relative;
}

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

.aracfotolar a:hover img {
  transform: scale(1.05);
}

.topluarac {
  width: 50%;
  float: left;
  padding: 15px;
}

.aracbaslik {
  font-size: 20px;
  font-family: 'palatino linotype', serif;
  margin-bottom: 10px;
  color: var(--secondary-color);
  font-weight: bold;
}

.aracfotosu {
  height: 380px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  margin-bottom: 15px;
}

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

/* Pricing Tables styling for standard tables */
.item-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: var(--shadow-light);
  border-radius: 6px;
  overflow: hidden;
}

.item-page table tr {
  background-color: #ffffff;
}

.item-page table tr:nth-child(even) {
  background-color: rgba(92, 180, 190, 0.03);
}

.item-page table td, .item-page table th {
  border: 1px solid var(--secondary-color);
  padding: 10px 15px;
  font-size: 14px;
  vertical-align: middle;
}

.item-page table tr:first-child, .item-page table tr:first-child td {
  background-color: #ece5f3;
  font-weight: bold;
}

.tablosureleri {
  color: var(--secondary-color);
  font-weight: bold;
  text-align: center;
}

.tablofiyatlari {
  text-align: center;
  font-weight: bold;
}

/* Div-based Pricing Tables */
.fiyattablosu {
  display: table;
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: var(--shadow-light);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--secondary-color);
}

.divTableBody {
  display: table-row-group;
}

.divTableRow {
  display: table-row;
  background-color: #ffffff;
}

.divTableRow:nth-child(even) {
  background-color: rgba(92, 180, 190, 0.03);
}

.divTableCell {
  border: 1px solid var(--secondary-color);
  display: table-cell;
  padding: 10px 15px;
  vertical-align: middle;
}

/* Sticky Social & Search Left Widget */
.solyapiskan {
  position: fixed;
  left: 0;
  top: 180px;
  z-index: 1000;
  width: 40px;
  box-shadow: var(--shadow-light);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  overflow: hidden;
}

.solyapiskan .g-particle {
  padding: 0 !important;
}

.jl-widget {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jl-widget-lang {
  display: flex;
  flex-direction: column;
}

.lang-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  background-color: var(--secondary-color);
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background-color 0.2s;
}

.lang-flag.active {
  background-color: var(--primary-color);
  color: #ffffff;
  pointer-events: none;
}

.lang-flag:hover {
  background-color: var(--primary-color);
}

.jl-widget-search a,
.jl-widget-custom-1 a,
.jl-widget-custom-2 a,
.jl-widget-custom-3 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  background-color: var(--secondary-color);
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.2s, padding-left 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.jl-widget-search a:hover,
.jl-widget-custom-1 a:hover,
.jl-widget-custom-2 a:hover,
.jl-widget-custom-3 a:hover {
  background-color: var(--primary-color);
  padding-left: 5px;
}

.jl-widget-custom-1 a:hover { background-color: #3b5998; }
.jl-widget-custom-2 a:hover { background-color: #e1306c; }
.jl-widget-custom-3 a:hover { background-color: #25d366; }

/* Hide unstyled modal dumps from UIkit */
.uk-modal {
  display: none !important;
}

/* Footer Section */
#g-footer {
  margin-top: auto;
  background: #ffffff;
  padding: 25px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

#g-footer .g-container {
  box-shadow: var(--shadow-footer);
  padding: 15px 25px;
  border-radius: 6px;
  background: #ffffff;
}

#g-footer .g-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.tw {
  font-family: "Nothing You Could Do", cursive;
  font-size: 22px;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
}

.tw a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Comments section styling */
.sol-20 {
  padding-left: 20px;
}

.isira {
  padding-bottom: 15px;
  padding-top: 15px;
  border-bottom: 1px solid var(--border-color);
}

.ibaslik {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
}

.yorumlar {
  font-size: 14px;
  font-style: italic;
  margin-bottom: 5px;
}

.yazan {
  font-weight: bold;
  color: var(--accent-color);
  font-size: 13px;
}

/* Contact page structure */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.contact-info {
  background: rgba(255,255,255,0.7);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 15px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 16px;
}

.contact-form {
  background: rgba(255,255,255,0.7);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.btn-primary {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

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

/* Clears */
.clear-both {
  clear: both;
}

/* Responsive Rules */
@media only all and (max-width: 75rem) { /* 1200px */
  .videolarbolum {
    grid-template-columns: repeat(3, 1fr);
  }
  .aracfotolar a {
    height: 160px;
  }
}

@media only all and (max-width: 60rem) { /* 960px */
  #g-navigation .g-grid {
    position: relative;
    padding-right: 50px;
  }
  
  .logobolum {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .menubolum {
    display: none; /* Hide desktop menu */
  }
  
  .g-offcanvas-toggle {
    display: block; /* Show menu toggle */
  }
  
  .videolarbolum {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .anayazi, .anafotolar, .arac, .aracfotolar {
    width: 100%;
    float: none;
    padding-right: 0;
  }
  
  .anafotolar, .aracfotolar {
    margin-top: 25px;
  }
  
  .iccerceve, .iccercevebuyuk {
    width: 100%;
    float: none;
  }
}

@media only all and (max-width: 48rem) { /* 768px */
  #g-footer .g-grid {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media only all and (max-width: 30rem) { /* 480px */
  .videolarbolum {
    grid-template-columns: 1fr;
  }
  
  .aracfotolar {
    grid-template-columns: 1fr;
  }
  
  .aracfotolar a {
    height: auto;
  }
}
