@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&display=swap');

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

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: #1a1f2b;
  color: #e0e6ed;
}

/* Typography Enhancements */
h2, h3 {
  color: #ffffff;
  border-left: 4px solid #3a8dde;
  padding-left: 12px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Links */
a {
  color: #8ecae6;
  text-decoration: none;
}

a:hover {
  color: #bbdefb;
}

/* Top Bar */
.top-bar {
  background-color: #0f131c;
  padding: 12px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2a3142;
}

.top-bar .logo {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
}

.top-bar .logo a {
  color: #3a8dde;
}

.top-bar .account-name {
  font-size: 14px;
}

/* Navigation */
header {
  background-color: #0f131c;
  padding: 12px 0;
  border-bottom: 1px solid #2a3142;
}

nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

nav a {
  color: #e0e6ed;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 30px;
}

/* Panels */
.panel {
  background: #232a3b;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  width: 100%;
}

/* Layout Rows/Columns */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
}

.column {
  flex: 1;
  min-width: 250px;
}

/* Placeholder */
.placeholder-img {
  width: 100%;
  height: 180px;
  background-color: #3c4457;
  color: #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Sidebar */
.sidebar {
  width: 250px;
  flex-shrink: 0;
}

.sidebar h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.sidebar ul {
  list-style: none;
  font-size: 14px;
  line-height: 1.8;
  padding-left: 0;
}

/* Profile Card and Stats */
.profile-card {
  text-align: center;
  margin-bottom: 20px;
}

.profile-img {
  width: 70px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.quick-stats {
  font-size: 14px;
  margin-top: 20px;
}

/* Layout Wrappers */
.garage-layout,
.planner-layout,
.community-layout,
.about-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.main-content {
  flex: 1;
  min-width: 300px;
}

/* Buttons */
.button, button {
  background-color: #3a8dde;
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
  margin-right: 10px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
}

.button:hover, button:hover {
  background-color: #61a5e4;
  transform: translateY(-2px);
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

form input, form select, form textarea {
  padding: 10px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #3c4457;
  background-color: #1f2533;
  color: #e0e6ed;
}

form textarea {
  resize: vertical;
  height: 120px;
}

/* Footer */
footer {
  background: #121620;
  padding: 30px;
  margin-top: 60px;
  font-size: 14px;
  color: #a0aec0;
}

footer .row {
  display: flex;
  justify-content: center;
  text-align: left;
  gap: 80px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

footer .column {
  flex: 0 0 220px;
}

footer > p {
  text-align: center;
  margin-top: 20px;
}

/* Image Handling */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

/* Specific Image Containers */
.route-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 6px;
}

.route-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}