/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #222;
  color: #fff;
  line-height: 1.6;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(34,34,34,0.98);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: background 0.3s;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 5%;
}
.nav-logo {
  height: 72px;
  max-height: 10vw;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  color: #ffcc00;
  text-decoration: none;
  margin-left: 32px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  border-bottom: 2px solid #ffcc00;
}

/* Language Selector */
.language-selector {
  position: relative;
  z-index: 1001;
}
.current-language {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid #ffcc00;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.current-language:hover {
  background: rgba(255, 204, 0, 0.2);
}
.current-language i {
  color: #ffcc00;
  font-size: 0.8rem;
  transition: transform 0.2s;
}
.language-dropdown.show .current-language i {
  transform: rotate(180deg);
}
.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #222;
  border: 1px solid #ffcc00;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  margin-top: 5px;
}
.language-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 400;
}
.language-option:hover {
  background: rgba(255, 204, 0, 0.1);
}
.language-option.active {
  background: rgba(255, 204, 0, 0.2);
  color: #ffcc00;
}
.language-option img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  min-height: unset;
  height: auto;
  padding: 0;
  scroll-margin-top: 0;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(34, 34, 34, 0.4);
}
.hero-row {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  height: auto;
  min-height: unset;
}
.hero-col {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero-text-col,
.hero-form-col {
  padding: 0 2vw;
}
.hero-text {
  text-align: left;
  max-width: 480px;
}
.hero-car-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.3s ease;
}
.hero-car-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}
.hero-text h1 {
  font-size: 2.5rem;
  color: #ffcc00;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-shadow: 0 2px 16px #222;
}
.hero-text p {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0;
  text-shadow: 0 2px 8px #222;
  font-weight: 300;
}
.reservation-card {
  background: #222;
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.28);
  padding: 36px 28px 28px 28px;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  border: 2px solid #ffcc00;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 20px;
  margin-bottom: 20px;
}
.reservation-card h2 {
  font-weight: 700;
  margin-bottom: 20px;
}
#reservation-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
#reservation-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
#reservation-form label {
  display: block;
  color: #ffcc00;
  font-weight: 500;
  margin-bottom: 2px;
  margin-top: 6px;
  font-size: 1rem;
}
#reservation-form input,
#reservation-form select,
#reservation-form textarea {
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #ffcc00;
  border-radius: 4px;
  font-size: 1rem;
  background: #333;
  color: #fff;
  margin-bottom: 4px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  height: 42px;
}
#reservation-form select {
  padding-right: 35px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffcc00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}
/* Calendar icon styling - Site's yellow color */
#reservation-form input[type="date"] {
  position: relative;
  height: 42px;
}
#reservation-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: brightness(0) saturate(100%) invert(77%) sepia(89%) saturate(1919%) hue-rotate(3deg) brightness(103%) contrast(103%);
  cursor: pointer;
  width: 18px;
  height: 18px;
}
/* Firefox calendar icon */
#reservation-form input[type="date"]::-moz-calendar-picker-indicator {
  filter: brightness(0) saturate(100%) invert(77%) sepia(89%) saturate(1919%) hue-rotate(3deg) brightness(103%) contrast(103%);
  cursor: pointer;
}
#reservation-form .form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}
#reservation-form .form-col {
  flex: 1 1 0;
  min-width: 0;
}
#reservation-form button[type="submit"] {
  width: 100%;
  display: block;
  margin-top: 10px;
  background: #ffcc00;
  color: #222;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  padding: 12px 0;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
  font-family: 'Roboto', Arial, sans-serif;
}
#reservation-form button[type="submit"]:hover {
  background: #fff;
  color: #222;
}
#reservation-form textarea {
  height: auto;
  min-height: 80px;
  resize: vertical;
}

/* Remove scroll indicator */
.scroll-indicator { display: none !important; }

.section-divider {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ffcc00 0%, #222 100%);
  opacity: 0.7;
}

/* About Section */
.about {
  color: #222;
  padding: 80px 0 60px 0;
  position: relative;
  display: flex;
  overflow: hidden;
  background: #ffcc00;
}
.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('../images/budva.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}
.about::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(34, 34, 34, 0) 0%,
    rgba(34, 34, 34, 0.7) 100%
  );
  z-index: 2;
  pointer-events: none;
}
.about .container {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.about h2 {
  font-size: 2.2rem;
  margin-bottom: 32px;
  color: #222;
  font-weight: 700;
  text-align: left;
}
.about-content-centered {
  text-align: left;
  max-width: 50%;
  width: 100%;
  padding-right: 60px;
}
.about-content-centered p {
  color: #222;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 300;
}
.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.about-text {
  flex: 1;
  min-width: 260px;
  max-width: 50%;
  color: #222;
  padding-right: 60px;
}
.about-img {
  display: none;
}
.services-list {
  list-style: none;
  margin-top: 32px;
  color: #222;
  font-size: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.services-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #222;
  border-radius: 12px;
  padding: 10px 22px;
  font-weight: 500;
  color: #ffcc00;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  min-width: 250px;
  justify-content: flex-start;
}
.services-list i {
  color: #ffcc00;
  font-size: 1.3rem;
}

/* Fleet Section */
.fleet {
  background: #222;
  color: #ffcc00;
  padding: 80px 0 60px 0;
}
.fleet h2 {
  text-align: center;
  color: #ffcc00;
  margin-bottom: 40px;
  font-size: 2.2rem;
  font-weight: 700;
}
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  justify-items: center;
}
.fleet-grid.fleet-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
  justify-items: center;
}
.car-card {
  background: #222;
  color: #ffcc00;
  border: 2px solid #ffcc00;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  padding: 28px 12px 18px 12px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  min-width: 200px;
}
.car-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.car-card img {
  margin-bottom: 18px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.car-card span {
  font-weight: 500;
  color: #ffcc00;
  display: block;
  font-size: 1.1rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.45);
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-content {
  background: #222;
  color: #ffcc00;
  margin: 8% auto;
  padding: 32px 24px;
  border-radius: 18px;
  max-width: 420px;
  position: relative;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  animation: modalPop 0.3s;
  border: 2px solid #ffcc00;
  font-family: 'Roboto', Arial, sans-serif;
}
.modal-content h3 {
  font-weight: 700;
  margin-bottom: 15px;
}
.modal-content p {
  font-weight: 400;
  line-height: 1.5;
}
@keyframes modalPop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.close-modal {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.5rem;
  color: #ffcc00;
  cursor: pointer;
  font-weight: 700;
}

/* Contact Section */
.contact {
  background: #ffcc00;
  color: #222;
  padding: 80px 0 60px 0;
}
.contact-flex {
  display: flex;
  gap: 48px;
  align-items: stretch;
  flex-wrap: wrap;
  min-height: 400px;
}
.contact-info-block {
  flex: 1.2;
  min-width: 260px;
  background: #222;
  color: #ffcc00;
  border-radius: 18px;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.contact-info-block h2 {
  color: #ffcc00;
  margin-bottom: 18px;
  font-size: 1.5rem;
  font-weight: 700;
}
.contact-info-list {
  margin-bottom: 18px;
}
.contact-info-list p {
  margin-bottom: 10px;
  color: #ffcc00;
  font-size: 1.08rem;
  font-weight: 400;
}
.contact-info-list i {
  color: #ffcc00;
  margin-right: 8px;
}
.contact-info-list a {
  color: #ffcc00;
  text-decoration: underline;
  transition: color 0.2s;
  font-weight: 400;
}
.contact-info-list a:hover {
  color: #222;
  background: #ffcc00;
}
.social-icons {
  margin-bottom: 18px;
}
.social-icons a {
  color: #ffcc00;
  font-size: 1.5rem;
  margin-right: 18px;
  transition: color 0.2s;
}
.social-icons a:hover {
  color: #fff;
}
.qr-code {
  width: 120px;
  margin-top: 18px;
  border-radius: 12px;
  border: 2px solid #ffcc00;
}
.contact-map-block {
  flex: 2;
  min-width: 320px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.map-responsive {
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  border: 2px solid #ffcc00;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  height: 100%;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border-radius: 16px;
  border: none;
}

/* Footer */
footer {
  background: #222;
  color: #ffcc00;
  text-align: center;
  padding: 28px 0 18px 0;
  font-size: 1rem;
  font-weight: 400;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-left {
  text-align: left;
}
.footer-left p {
  font-weight: 400;
}
.footer-right {
  text-align: right;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-right span {
  color: #666;
  font-size: 0.9rem;
  font-weight: 300;
}
.rentamonte-logo {
  height: 17px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.rentamonte-logo:hover {
  opacity: 1;
}
.footer-links a {
  color: #ffcc00;
  text-decoration: underline;
  margin: 0 8px;
  font-size: 0.98rem;
  font-weight: 400;
}
.footer-links a:hover {
  color: #fff;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .fleet-grid.fleet-grid-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 900px) {
  .fleet-grid.fleet-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-row {
    flex-direction: column;
    padding: 20px 0;
  }
  .hero-col {
    width: 100%;
    padding: 0;
    justify-content: center;
  }
  .hero-text-col, .hero-form-col {
    padding: 0;
  }
  .hero-text {
    text-align: center;
    margin-bottom: 24px;
  }
  .hero-form-col {
    min-width: 0;
    max-width: 100%;
    padding: 0;
  }
  .reservation-card {
    max-width: 100%;
    padding: 24px 8px 18px 8px;
  }
  .nav-right {
    gap: 15px;
  }
  .nav-links a {
    margin-left: 20px;
    font-size: 1rem;
  }
}
@media (max-width: 700px) {
  /* Mobile Navigation */
  .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
  }
  
  .nav-logo {
    width: 40%;
    height: auto;
    max-height: none;
  }
  
  .nav-right {
    width: auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
  
  .nav-links {
    display: flex;
    gap: 0;
    order: 2;
  }
  
  .nav-links a {
    margin-left: 12px;
    font-size: 0.85rem;
  }
  
  .nav-links a:first-child {
    display: none; /* Hide home button on mobile */
  }
  
  .language-selector {
    order: 1;
  }
  
  /* Mobile About Section - Remove background image and center content */
  .about::before {
    display: none;
  }
  
  .about::after {
    display: none;
  }
  
  .about .container {
    justify-content: center;
    padding: 40px 20px;
  }
  
  .about-content-centered {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
    margin: 0 auto;
  }
  
  /* Mobile Fleet - 2 columns centered */
  .fleet .container {
    padding: 40px 10px;
  }
  
  .fleet-grid.fleet-grid-5 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px;
    margin: 0 auto;
    max-width: 400px;
    justify-items: center;
    justify-content: center;
  }
  
  .car-card {
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
  }
  
  .car-card img {
    height: 100px;
  }
  
  /* Mobile Contact - Stack vertically with map below */
  .contact .container {
    padding: 40px 20px;
  }
  
  .contact-flex {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px;
  }
  
  .contact-info-block {
    order: 1;
    width: 100%;
    flex: none !important;
  }
  
  .contact-map-block {
    order: 2;
    width: 100% !important;
    height: 300px !important;
    min-width: 100% !important;
    flex: none !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
  }
  
  .map-responsive {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
  
  .map-responsive iframe {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
  
  /* Mobile Footer - Stack Rentamonte logo under copyright */
  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-left {
    text-align: center;
  }
  
  .footer-right {
    text-align: center;
    justify-content: center;
  }
  
  .rentamonte-logo {
    height: 14px;
  }
  
  #reservation-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}
@media (max-width: 500px) {
  /* Keep fleet settings from 700px but adjust spacing */
  .fleet .container {
    padding: 40px 5px;
  }
  
  .fleet-grid.fleet-grid-5 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px;
    margin: 0 auto;
    max-width: 350px;
    justify-items: center;
    justify-content: center;
  }
  
  .car-card {
    width: 100%;
    max-width: 160px;
    margin: 0 auto;
  }
  
  .car-card img {
    height: 80px;
  }
  
  /* Navigation adjustments */
  .nav-logo {
    width: 40%;
  }
  .nav-links a {
    margin-left: 8px;
    font-size: 0.8rem;
  }
  .current-language {
    padding: 6px 10px;
  }
  .language-dropdown {
    min-width: 120px;
  }
  
  /* Keep contact map visible with smaller height */
  .contact-map-block {
    order: 2;
    width: 100% !important;
    height: 250px !important;
    min-width: 100% !important;
    flex: none !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
  }
  
  .contact .container {
    padding: 40px 15px;
  }
  
  .map-responsive {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
  
  .map-responsive iframe {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
} 