/* KK Rental - Custom Styles (Bootstrap 5 overrides) */

:root {
  --kk-primary: #fed136;
  --kk-dark: #222222;
  --kk-gray: #6c757d;
  --kk-light: #f8f9fa;
  --kk-white: #ffffff;
}

/* Typography */
body {
  font-family: 'Lato', sans-serif;
  color: var(--kk-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.section-heading {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-subheading {
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  margin-bottom: 3rem;
  color: var(--kk-gray);
}

a {
  color: var(--kk-primary);
}
a:hover {
  color: #dbb42c;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: padding 0.3s ease, background-color 0.3s ease;
  background-color: rgba(34, 34, 34, 0.95) !important;
}
.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.navbar-brand img {
  height: 45px;
  transition: height 0.3s ease;
}
.navbar.scrolled .navbar-brand img {
  height: 35px;
}
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--kk-primary) !important;
}
.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Language Dropdown */
.lang-dropdown .dropdown-toggle {
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff !important;
  border-radius: 4px;
}
.lang-dropdown .dropdown-menu {
  min-width: 8rem;
  font-size: 0.85rem;
}

/* CTA Button */
.btn-kk {
  background-color: var(--kk-primary);
  color: var(--kk-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  transition: all 0.3s;
}
.btn-kk:hover {
  background-color: #dbb42c;
  color: var(--kk-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(254,209,54,0.4);
}
.btn-kk-outline {
  background-color: transparent;
  color: var(--kk-primary);
  border: 2px solid var(--kk-primary);
}
.btn-kk-outline:hover {
  background-color: var(--kk-primary);
  color: var(--kk-dark);
}
.btn-kk-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(34,34,34,0.85), rgba(34,34,34,0.6)),
    url('../img/hero/lefkada-hero.webp') center/cover no-repeat;
  color: #fff;
  padding-top: 80px;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero .lead {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-transform: none;
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: 1rem; }
}

/* Booking Form */
.booking-form {
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  color: var(--kk-dark);
}
.booking-form h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--kk-dark);
}
.booking-form label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
  color: var(--kk-gray);
  font-family: 'Montserrat', sans-serif;
}
.booking-form .form-control,
.booking-form .form-select {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
}
.booking-form .form-control:focus,
.booking-form .form-select:focus {
  border-color: var(--kk-primary);
  box-shadow: 0 0 0 0.2rem rgba(254,209,54,0.25);
}

/* Sections */
section {
  padding: 6rem 0;
}
section.bg-light {
  background-color: var(--kk-light) !important;
}

/* Feature Cards (Why Choose Us) */
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--kk-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--kk-dark);
}
.feature-card h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.feature-card p {
  color: var(--kk-gray);
  font-size: 0.95rem;
}

/* Car Fleet Cards */
.car-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.car-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--kk-light);
  padding: 1rem;
}
.car-card-body {
  padding: 1.5rem;
}
.car-card h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.car-card .table {
  font-size: 0.85rem;
  margin-bottom: 0;
}
.car-card .table th {
  font-weight: 600;
}

/* Beach / Destination Cards */
.destination-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 280px;
  cursor: pointer;
  transition: transform 0.3s;
}
.destination-card:hover {
  transform: scale(1.02);
}
.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.destination-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
}
.destination-card .overlay h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.destination-card .overlay p {
  font-size: 0.85rem;
  margin-bottom: 0;
  opacity: 0.85;
}

/* FAQ Section */
.faq-section .accordion-button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--kk-dark);
}
.faq-section .accordion-button:not(.collapsed) {
  background-color: rgba(254,209,54,0.1);
  color: var(--kk-dark);
}
.faq-section .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(254,209,54,0.25);
}
.faq-section .accordion-body {
  font-size: 0.95rem;
  color: var(--kk-gray);
  line-height: 1.7;
}

/* Contact Section */
.contact-section {
  background-color: var(--kk-dark);
  color: #fff;
}
.contact-section .section-heading {
  color: #fff;
}
.contact-section .section-subheading {
  color: rgba(255,255,255,0.6);
}
.contact-section .form-control {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 6px;
}
.contact-section .form-control::placeholder {
  color: rgba(255,255,255,0.5);
}
.contact-section .form-control:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--kk-primary);
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(254,209,54,0.25);
}

/* Footer */
footer {
  padding: 3rem 0;
  background-color: #1a1a1a;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
footer h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}
footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover {
  color: var(--kk-primary);
}
footer .social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  font-size: 1rem;
  transition: background 0.3s;
}
footer .social-links a:hover {
  background: var(--kk-primary);
  color: var(--kk-dark);
}
footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: var(--kk-primary);
  color: var(--kk-dark);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: opacity 0.3s;
}
.scroll-top.show {
  display: flex;
}

/* Honeypot anti-spam */
.form-website { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; z-index: -1; }

/* Utility */
.text-kk-primary {
  color: var(--kk-primary) !important;
}
.bg-kk-dark {
  background-color: var(--kk-dark) !important;
}

/* Landing page styles */
.landing-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  color: #fff;
}
.landing-hero.lefkada {
  background: linear-gradient(135deg, rgba(34,34,34,0.8), rgba(34,34,34,0.5)),
    url('../img/beaches/porto-katsiki-lefkada.webp') center/cover no-repeat;
}
.landing-hero.ioannina {
  background: linear-gradient(135deg, rgba(34,34,34,0.8), rgba(34,34,34,0.5)),
    url('../img/hero/lefkada-hero.webp') center/cover no-repeat;
}

/* Beach timeline for landing pages */
.beach-item {
  margin-bottom: 3rem;
}
.beach-item img {
  border-radius: 12px;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.beach-item h3 {
  font-size: 1.3rem;
  margin-top: 1rem;
  text-transform: none;
}
.beach-item .distance {
  color: var(--kk-primary);
  font-weight: 600;
  font-size: 0.85rem;
}
.beach-item p {
  color: var(--kk-gray);
  margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .section-heading { font-size: 2rem; }
  section { padding: 4rem 0; }
}
@media (max-width: 576px) {
  .booking-form { padding: 1.5rem; }
  .destination-card { height: 220px; }
}
