/*
Theme Name: Four Wheels Repair
Theme URI:
Author: FWR
Author URI:
Description: Tema WordPress pentru Four Wheels Repair - Servicii Profesionale de Reparații Auto
Version: 1.0.0
Text Domain: fwrepair
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ========================================
   Original Styles (from static site)
   ======================================== */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
header {
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

/* WordPress Nav Menu */
.main-navigation {
  display: flex;
  gap: 2rem;
}

.main-navigation ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  list-style: none;
}

.main-navigation a {
  text-decoration: none;
  color: #666;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: #006B54;
  border-bottom-color: #FFD700;
}

.btn-book {
  background-color: #006B54;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-book:hover {
  background-color: #005542;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

/* Banner Styles */
.offer-banner {
  background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
  color: #006B54;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.offer-banner .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.offer-content {
  padding: 1rem;
}

.offer-badge {
  display: inline-block;
  background-color: #006B54;
  color: #FFD700;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.offer-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.offer-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.offer-image {
  position: relative;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  color: #006B54;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 2rem;
}

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

.btn-primary {
  background-color: #006B54;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #005542;
}

.btn-secondary {
  background-color: white;
  color: #006B54;
  padding: 0.875rem 2rem;
  border: 2px solid #006B54;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #f9fafb;
}

.btn-yellow {
  background-color: #FFD700;
  color: #006B54;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-yellow:hover {
  background-color: #e6c200;
}

/* Features Section */
.features {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #006B54;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(255, 215, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: #006B54;
  fill: none;
  stroke-width: 2;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: #006B54;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #666;
}

/* Services Section */
.services-preview {
  background-color: #f9fafb;
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  font-size: 1.25rem;
  color: #006B54;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #666;
  margin-bottom: 1rem;
}

.service-card .price {
  font-size: 1.75rem;
  color: #006B54;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: #006B54;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Page */
.page-header {
  background-color: #006B54;
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto;
}

.services-list {
  padding: 4rem 0;
}

.service-detail-card {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.3s ease;
}

.service-detail-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-card h3 {
  font-size: 1.75rem;
  color: #006B54;
  margin-bottom: 0.5rem;
}

.service-detail-card .description {
  color: #666;
  margin-bottom: 1.5rem;
}

.service-items {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: #333;
}

.service-items li svg {
  width: 20px;
  height: 20px;
  stroke: #FFD700;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-detail-card .price-tag {
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

/* Contact Page */
.contact-content {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 2rem;
  color: #006B54;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 215, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
  stroke: #006B54;
  fill: none;
  stroke-width: 2;
}

.info-details h3 {
  font-size: 1.25rem;
  color: #006B54;
  margin-bottom: 0.25rem;
}

.info-details p,
.info-details a {
  color: #666;
  text-decoration: none;
}

.info-details a:hover {
  color: #006B54;
}

.emergency-box {
  background-color: rgba(255, 215, 0, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.emergency-box h3 {
  font-size: 1.25rem;
  color: #006B54;
  margin-bottom: 0.5rem;
}

/* Map */
.map-container {
  margin-top: 3rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Contact Form */
.contact-form h2 {
  font-size: 2rem;
  color: #006B54;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #006B54;
  box-shadow: 0 0 0 3px rgba(0, 107, 84, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.btn-submit {
  width: 100%;
  background-color: #006B54;
  color: white;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background-color: #005542;
}

.btn-submit svg {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

/* Footer */
footer {
  background-color: #006B54;
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: #FFD700;
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-info-item svg {
  width: 16px;
  height: 16px;
  stroke: #FFD700;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.footer-hours {
  color: rgba(255, 255, 255, 0.9);
}

.footer-hours svg {
  width: 16px;
  height: 16px;
  stroke: #FFD700;
  fill: none;
  stroke-width: 2;
  margin-right: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Contact Form 7 Overrides
   ======================================== */
.wpcf7 {
  max-width: 100%;
}

.wpcf7 p {
  margin-bottom: 1.5rem;
}

.wpcf7 label {
  display: block;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #006B54;
  box-shadow: 0 0 0 3px rgba(0, 107, 84, 0.1);
}

.wpcf7 textarea {
  resize: vertical;
}

.wpcf7 input[type="submit"] {
  width: 100%;
  background-color: #006B54;
  color: white;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #005542;
}

.wpcf7-response-output {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
}

.wpcf7-validation-errors {
  border-color: #dc3545;
  background-color: #fff5f5;
}

.wpcf7-mail-sent-ok {
  border-color: #006B54;
  background-color: #f0fdf4;
}

.wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ========================================
   404 Page
   ======================================== */
.page-404 {
  text-align: center;
  padding: 6rem 0;
}

.page-404 h1 {
  font-size: 6rem;
  color: #006B54;
  margin-bottom: 1rem;
}

.page-404 h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.page-404 p {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  header .container {
    position: relative;
  }

  .main-navigation ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    gap: 0;
  }

  .main-navigation ul.active {
    display: flex;
  }

  .main-navigation li {
    border-bottom: 1px solid #e5e7eb;
  }

  .main-navigation li:last-child {
    border-bottom: none;
  }

  .main-navigation a {
    padding: 0.75rem 1rem;
    display: block;
  }

  .mobile-menu-btn {
    display: block;
  }

  .btn-book {
    display: none;
  }

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

  .offer-banner .container {
    grid-template-columns: 1fr;
  }

  .offer-content h2 {
    font-size: 1.75rem;
  }

  .offer-image {
    height: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons a,
  .hero-buttons button {
    width: 100%;
  }
}
