/*
Theme Name: Hubike Landing Page
Description: Modern one-page WordPress theme for bike parking app
Version: 1.1.5
Author: IT Centar
*/

@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Satoshi:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #4ECE54;
  --secondary-color: #1a1a1a;
  --text-color: #333;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --heading-color: #000;
  color-scheme: light only;
}
html[data-bs-theme="light"], html {
  color-scheme: light;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Satoshi", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  line-height: 100%;
  color: var(--heading-color);;
}
h1 {
  font-size: 100px;
  letter-spacing: -3px;
}
h2 {
    font-size: 72px;
  letter-spacing: -2.5px;
}

h3 {
  font-size: 24px;
  letter-spacing: -1px;
}

h4 {
  letter-spacing: -1px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  text-decoration: none;
}

.logo .highlight {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin-bottom: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
}

.cta-button {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #00b571;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  background-image: url(public/hubikehero.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center top;
}

.hero-content {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-text h1 {
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #666;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
  padding: 80px 0;
  background: #E4EAE5;
  margin-bottom: 60px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  transition: transform 0.3s ease;
    background: #F8F8F8;
    border: 1px solid #F0F0EE;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.feature-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Mission Section */
.mission {
  padding: 80px 0;
  background: var(--light-gray);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.mission-card {
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
}

.mission-card:hover {
  transform: translateY(-5px);
}

.mission-card img {
  width: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.mission-card-content {
    padding: 25px;
    position: absolute;
    bottom: 0;
    background: linear-gradient(0deg, rgb(0 0 0 / 80%), transparent);
    color: #fff;
}

.mission-card .h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--white);
    background: var(--primary-color);
    display: inline-block;
    padding: 4px 16px;
    border-radius: 50px;
    font-weight: bold;
}

.mission-card p {
  color: var(--white);
  font-size: 0.95rem;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--secondary-color);
  color: var(--white);
}

#services {
  background-image: url(public/servicesbg.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.services .section-title h2,
.services .section-title p {
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: var(--white);
  color: var(--text-color);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
  margin-bottom: 25px;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card .feature-icon {
  background: var(--light-gray);
}

/* News Section */
.news {
  padding: 80px 0;
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.news-card {
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
}

.news-card-content {
  padding: 25px 0;
}

.news-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.news-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.news-card .date {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
}

/* About Section */
.about-wrapper {
    background: #F8F8F8;
    padding: 50px 0;
    border-radius: 20px;
}

/* CTA Section */
.app-section {
  padding: 80px 0;
}
.app-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.app-text {
  flex: 1;
}
.app-text .badge {
    background: rgb(78 206 84 / 30%);
    color: var(--primary-color);
    font-size: 18px;
    padding: 7px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}
.app-text h2 {
  margin-bottom: 20px;
}
.hero-text {
  margin: 60px 0 100px;
}
.app-text h2 span,
.about-section span,
.hero-text h1 span {
    position: relative;
    z-index: 10;
}
.app-text h2 span:before,
.about-section span:before,
.hero-text h1 span:before {
    content: "";
    height: 17px;
    width: 100%;
    background: var(--primary-color);
    position: absolute;
    bottom: 9px;
    z-index: -1;
}
.hero-text h1 span:before {
    bottom: 17px;
}
.app-text p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #444;
}
.app-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.btn {
  padding: 14px 26px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  min-width: 200px;
}
.btn-primary {
  background: var(--primary-color);
  color: #fff;
  border: 0;
}
.btn-primary:hover {
  background: #4bab50;
}
.btn-outline {
  border: 2px solid #111;
  color: #111;
  background: transparent;
}
.btn-outline:hover {
  background: #111;
  color: #fff;
}
.app-contact {
  display: flex;
  gap: 30px;
  font-weight: 600;
  margin-top: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(0deg, rgb(0 0 0 / 70%), transparent);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  align-items: flex-end;
    padding: 40px;
}
.app-visuals {
  flex: 1;
  display: flex;
  gap: 25px;
}
.bike-img img {
  border-radius: 15px;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.app-img {
  background: var(--primary-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-img img {
  display: block;
    width: 100%;
}


/* Footer */
.footer {
  background: #111;
  color: #fff;
  padding: 40px 0 20px;
  font-size: 14px;
}
.footer .container {
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.footer-logo img {
    filter: brightness(0) invert(1);
    max-width: 130px;
}
.footer-logo h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}
.footer-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.footer-menu ul li a:hover {
  color: var(--primary-color);
}
.footer-socials a {
  color: #fff;
  margin-left: 15px;
  font-size: 16px;
  transition: color 0.3s;
}
.footer-socials a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #bbb;
}
.footer-bottom a {
  color: #bbb;
  margin: 0 5px;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--primary-color);
}


@media (min-width : 1400px) {

  .container {
    max-width: 1350px;
  }
}

@media (max-width: 1500px) {
  .hero {
    background-size: 130%;
  }
}

@media (max-width: 992px){
  .navbar { position: relative; }
  .mobile-menu-toggle { display:block; }
  .nav-menu{
    display:none;
    position:absolute;
    right:0; top:100%;
    width:100%;
    background:#fff;
    padding:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    z-index:1000;
    flex-direction:column;
    gap: 0;
    height: auto !important;
    font-size: 1.5em !important;
    padding-top: 10px !important;
  }
  .nav-menu.open{ display:flex; }
  body.no-scroll{ overflow:hidden; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content,
  .mission-grid,
  .cta-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
        font-size: 66px;
    }
.hero {
        background-size: 300%;
    }
  .nav-menu {
    display: none;
  }
.hero-text {
    margin: 0px 0 50px;
}
a.logo img {
    width: 120px;
}
.news, .mission {
    padding: 40px 0;
}
.mission-card p {
  margin-bottom: 0;
}
.news-grid, .mission-grid, .features-grid {
  gap: 20px;
  margin-top: 0;
}
.section-title {
    margin-bottom: 30px;
}
.about-wrapper {
    padding: 30px;
}
  .features-grid,
  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-menu ul {
    flex-direction: column;
    text-align: center;
  }
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  nav.navbar a.cta-button {
    display: none;
}
.app-buttons {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
h2 {
    font-size: 46px;
    letter-spacing: -1.5px;
}
.app-text, .about-wrapper {
    text-align: center;
}
.bike-img img {
    height: 400px;
}
.app-contact {
    flex-direction: column;
    align-items: anchor-center;
    gap: 5px;
    justify-content: flex-end;
    padding: 20px;
}
.row.align-items-stretch {
    gap: 20px;
    flex-direction: column-reverse;
}
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-color-scheme: dark) {
  html, body, * {
    background-color: #fff !important;
    color: #000 !important;
    filter: invert(0) !important;
  }
}