@import url('theme.css');

/* Base styles */
html {
  font-family: var(--font-family-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: var(--theme-bg);
  color: var(--theme-text);
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-family-serif);
  color: var(--theme-text);
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem 0;
}
p:last-child {
  margin-bottom: 0;
}

a {
  text-decoration: none;
  color: var(--theme-primary);
  transition: color 0.2s ease;
}
a:hover {
  color: var(--theme-secondary);
}

/* Layout */
.main-content {
  margin-left: var(--sidebar-width-desktop);
  transition: margin-left 0.4s var(--ease-standard);
  width: calc(100% - var(--sidebar-width-desktop));
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 2rem;
  padding-left: 2rem;
  max-width: 1280px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  position: relative;
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.form-control {
  font-family: var(--font-family-sans);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

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

/* Section Base */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
}
.section-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Contact Section */
.contact-content {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .main-content {
    margin-left: 0;
    width: 100%;
  }
  .main-content.sidebar-active {
    transform: translateX(var(--sidebar-width-mobile));
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}
