/* Loo For Hire - Main Stylesheet */

/* CSS Variables */
:root {
  --accent: #00bfa5;
  --accent-dark: #008e76;
  --text: #333;
  --muted: #666;
  --bg: #f8f6f2;
  --white: #fff;
  --radius: 0.75rem;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-enhanced: 0 8px 16px rgba(0,0,0,0.08);
}

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Layout */
.container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

/* Navigation */
nav {
  margin-left: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  color: #008e76;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity .2s;
}

.nav-list a:hover {
  opacity: .8;
}

/* Main Content */
main {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Typography */
h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
  padding: 3rem 2rem;
  margin-bottom: 2rem;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.hero-image {
  flex: 0 0 200px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.hero-text {
  flex: 1;
  text-align: left;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-image {
    flex: 0 0 auto;
    max-width: 250px;
  }
  
  .hero-text {
    text-align: center;
  }
}

.hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  margin: 0.5rem;
}

/* Legacy Hero */
.hero {
  text-align: center;
  padding: 3rem 2rem;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted);
}

/* Search Bar */
.search-bar {
  max-width: 400px;
  margin: 1rem 0;
}

.search-bar input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-size: 1rem;
  outline: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: border-color .2s;
}

.search-bar input:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 2px 8px rgba(0,191,165,.2);
}

/* Cards Grid */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media(min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 900px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card Component */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-enhanced);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure cards in a row are same height */
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  padding: 1rem;
}

.card-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h2 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
}

.card-content p {
  font-size: .9rem;
  margin: .25rem 0;
}

.card-content a {
  color: var(--accent);
  text-decoration: none;
}

.card-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.phone-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.phone-link:hover {
  text-decoration: underline;
}

/* Quote Card */
.quote-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-enhanced);
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
  transform: translateY(-2rem);
}

/* Forms */
form {
  display: grid;
  gap: 1rem;
}

label {
  font-weight: 600;
}

input, select {
  padding: .75rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.50rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  margin-top: 10px;
  margin-bottom: 5px;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-enhanced);
}

.btn-primary {
  background: var(--accent);
  color: white !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-secondary {
  background: var(--white);
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

/* Notes */
.note {
  font-size: .875rem;
  color: var(--muted);
  text-align: center;
}

/* Footer */
footer {
  background: linear-gradient(to bottom, var(--accent-dark), #007a63);
  color: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-logo {
  margin-left: auto;
}

.footer-logo img {
  height: 60px;
}

footer p {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  text-align: left;
  font-size: 0.9rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-logo {
    margin-left: 0;
    order: -1; 
  }
}


/* Simple page styles for marketing.html and partner.html */
.simple-main {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.simple-header {
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2rem;
}

.simple-footer {
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2rem;
}

/* Company Profile Page Styles */
.company-profile {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.company-header {
  text-align: center;
  margin-bottom: 2rem;
}

.company-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.company-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin: 0;
}

.company-image {
  text-align: center;
  margin-bottom: 3rem;
}

.company-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.company-info {
  margin-bottom: 3rem;
}

.company-details {
  flex: 1;
}

.company-details h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  font-size: 1.1rem;
  line-height: 1.6;
}

.company-description {
  margin-bottom: 3rem;
}

.company-description h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.company-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.back-to-directory {
  text-align: center;
  margin-top: 3rem;
}

/* Responsive design for company profile */
@media (max-width: 768px) {
  .company-header h1 {
    font-size: 2rem;
  }
  
  .company-subtitle {
    font-size: 1.1rem;
  }
  
  .company-details h2,
  .company-description h2 {
    font-size: 1.5rem;
  }
  
  .company-description p {
    font-size: 1rem;
  }
}