/* Modern Law Website Styles */
:root {
  --primary-color: #ba0000;
  --secondary-color: #6d6d6d;
  --accent-color: #b50202;
  --background-color: #e6e6e6;
  --white: #ffffff;
  --dark-gray: #5e5e5e;
  --light-gray: #f5f5f5;
  --border-color: #ddd;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: var(--background-color);
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Contact Links */
.contact-info a {
  color: #2c5aa0;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.contact-info a:hover {
  color: #1e3f6b;
  text-decoration: underline;
}

/* Override contact-info styles for buttons */
.contact-info a.btn {
  color: var(--white) !important;
  background-color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.contact-info a.btn:hover {
  background-color: var(--accent-color);
  color: var(--white) !important;
  text-decoration: none;
}

/* Ensure phone links keep their blue color */
.contact-info a.phone {
  color: #2c5aa0 !important;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: var(--transition);
}

.contact-info a.phone:hover {
  color: #1e3f6b !important;
  text-decoration: underline;
}

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

/* Header */
.header {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/header_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 2rem 0;
  position: static;
  min-height: 300px;
  display: flex;
  align-items: center;
  transform: none !important;
}

.header-content {
  text-align: center;
  width: 100%;
}

.header h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.header p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Navigation */
.nav {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1002;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 2rem;
}

.language-switcher a {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.language-switcher a.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.language-switcher a:not(.active) {
  color: var(--secondary-color);
  border: 1px solid var(--border-color);
}

.language-switcher a:not(.active):hover {
  background-color: var(--light-gray);
  color: var(--primary-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

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

.nav-menu a {
  color: var(--secondary-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-menu a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
}

.nav-menu a.active {
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Main Content */
.main {
  background-color: var(--white);
  min-height: 500px;
  padding: 3rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.content-grid.two-column {
  grid-template-columns: 1fr 1fr;
}

.content-grid.three-column {
  grid-template-columns: repeat(3, 1fr);
}

.content-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.content-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.content-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Services List */
.services-list {
  list-style: none;
  margin: 1rem 0;
}

.services-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.services-list li:last-child {
  border-bottom: none;
}

.services-list a {
  color: var(--secondary-color);
  font-weight: 500;
}

.services-list a:hover {
  color: var(--primary-color);
}

/* Contact Form */
.contact-form {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(186, 0, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--accent-color);
  text-decoration: none;
  color: var(--white);
}

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

.btn-secondary:hover {
  background-color: var(--dark-gray);
}

/* Contact Info */
.contact-info {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info .phone {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* Map */
.map-container {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer a {
  color: var(--white);
}

.footer a:hover {
  color: var(--primary-color);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }

/* Close button - hidden by default on desktop */
.nav-menu .close-btn {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .header p {
    font-size: 1rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 90px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 1000;
  }
  
  .nav-menu .close-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary-color);
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
  }
  
  .nav-menu .close-btn:hover {
    color: var(--primary-color);
    background-color: var(--light-gray);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .language-switcher {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .content-grid.two-column,
  .content-grid.three-column {
    grid-template-columns: 1fr;
  }
  
  .content-card {
    padding: 1.5rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  .map-container iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 1.75rem;
  }
  
  .content-card {
    padding: 1rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1rem;
  }
  
  .btn {
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
  }
  
  .btn:last-child {
    margin-bottom: 0;
  }
  
  .language-switcher {
    margin-left: 0.5rem;
    margin-right: 0.75rem;
  }
  
  .language-switcher a {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
  }
}

/* Print Styles */
@media print {
  .nav,
  .footer {
    display: none;
  }
  
  .header {
    background: none;
    color: var(--dark-gray);
  }
  
  .content-card {
    box-shadow: none;
    border: 1px solid var(--border-color);
  }
} 