/* Global Variables */
:root {
  --primary-dark: #2c3e50;
  --primary-medium: #4f6f52;
  --accent-warm: #d65f5f;
  --accent-gold: #e0b442;
  --light-background: #f8f8f8;
  --text-dark: #333;
  --text-light: #fff;
  --text-muted: #777;
  --border-color: #eee;
  --font-heading: 'Merriweather', serif;
  --font-body: 'Montserrat', sans-serif;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--light-background);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

/* Header Styles */
header {
  background-color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo span {
  color: var(--accent-warm);
}

.language-selector {
  display: flex;
  gap: 8px;
  margin: 0 20px;
}

.lang-btn {
  background: none;
  border: 1px solid var(--border-color);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.lang-btn.active {
  background-color: var(--accent-warm);
  color: var(--text-light);
  border-color: var(--accent-warm);
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: var(--primary-dark);
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-warm);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Footer Styles */
footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h1 {
  color: var(--text-light);
  font-size: 1.8rem;
}

.footer-col h3 {
  color: var(--text-light);
}

.footer-col span {
  color: var(--accent-warm);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--accent-warm);
  color: var(--text-light);
  box-shadow: 0 5px 15px rgba(214, 95, 95, 0.3);
}

.btn-primary:hover {
  background-color: #c05050;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(214, 95, 95, 0.4);
}

.btn-secondary {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  box-shadow: 0 5px 15px rgba(224, 180, 66, 0.3);
}

.btn-secondary:hover {
  background-color: #d4a830;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(224, 180, 66, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .features-grid,
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }
}
