/*
Theme Name: Limo Rhodes Custom
Theme URI: https://limorhodes.gr
Author: Limo Rhodes
Description: Simple 3-page custom theme for Limo Rhodes.
Version: 1.0
*/

/* ----- Γενικά ----- */


html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}

:root {
  --primary: #111827;
  --accent: #f0b329;
  --bg: #f5f5f5;
  --text: #222;
  --muted: #777;
  --max-width: 1100px;
}

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

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- Header / Menu ----- */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(17, 24, 39, 0.97);
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.logo i {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    background: #111827;
    flex-direction: column;
    padding: 0.7rem 1.5rem 1rem;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  gap: 0.4rem;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* ----- Hero (Home) ----- */

.hero {
  position: relative;
  height: 75vh;
  min-height: 480px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.8));
  z-index: 0;
}


.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 3rem 1.5rem 4rem;
}

.hero-inner {
  max-width: 700px;
  padding: 3rem 1.5rem 4rem;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.hero p {
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-mini {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ----- Sections γενικά ----- */
.section {
   padding: 4rem 0 3rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.section-title p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ----- Services (Home) ----- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.service-card img {
  height: 160px;
  width: 100%;
  object-fit: cover;
}

.service-body {
  padding: 0.9rem 1rem 1.1rem;
  font-size: 0.9rem;
}

.service-body h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.service-body p {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

/* ----- About page ----- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 2rem;
  align-items: center;
}

.about-text p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.about-highlight {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.about-highlight i {
  color: var(--accent);
  margin-right: 0.4rem;
}

.about-image img {
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  object-fit: cover;
  width: 100%;
  max-height: 260px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

/* ----- Contact ----- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 2rem;
}

.contact-box {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  font-size: 0.9rem;
}

.contact-box form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.15rem;
  font-weight: 500;
}

input, textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: #fafafa;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

input:focus, textarea:focus {
  border-color: var(--primary);
}

.contact-info {
  font-size: 0.9rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.contact-item i {
  color: var(--primary);
}

.contact-info a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* ----- Footer ----- */
footer {
  background: #111827;
  color: #9ca3af;
  padding: 1.2rem 0 1rem;
  font-size: 0.8rem;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-circle {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* ----- Floating WhatsApp ----- */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
}

.whatsapp-float a {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}



.about-hero {
  position: relative;
  height: 65vh;        
  min-height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}


.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}


.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 0 1rem;
}

.about-hero-inner h1 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.about-hero-inner p {
  font-size: 1rem;
  font-weight: 300;
}


/* Quote form on homepage */
.quote-section {
  padding-top: 2.5rem;
}

.quote-box {
  background: #fff;
  border-radius: 16px;
  padding: 1.8rem 1.5rem 1.9rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  max-width: 800px;
  margin: 0 auto;
}

.quote-box h2 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  text-align: left;
}

.quote-box p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.quote-grid-full {
  grid-column: 1 / -1;
}

.quote-success {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #066e2c;
  background: #ecfdf3;
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #bbf7d0;
}

@media (max-width: 600px) {
  .quote-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}




/* Mobile tweaks */
@media (max-width: 768px) {

  .hero {
    height: 70vh;
    min-height: 420px;
    background-position: center top;
  }

  .hero-inner h1 {
    font-size: 1.8rem;
  }

  .hero-inner p {
    font-size: 0.9rem;
  }

  .about-hero {
    height: 50vh;
    min-height: 300px;
    background-position: center top;
  }

  .about-hero-inner h1 {
    font-size: 2rem;
  }

  .about-hero-inner p {
    font-size: 0.9rem;
  }


  #contact.section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  #contact .section-title {
    margin-bottom: 1.3rem;
  }

  #contact .contact-grid {
    display: block;
  }

  #contact .contact-box {
    margin: 0 auto 2rem auto;
    max-width: 100%;
  }

  #contact .contact-info {
    max-width: 100%;
  }

}




#contact.section {
  flex: 1 0 auto;       
  padding-top: 3rem;
  padding-bottom: 2rem;
}

#contact .contact-grid {
  margin-bottom: 0;
}

#contact + footer {
  margin-top: 0 !important;
}
