/* 
 * Batraeff - Professional Business Website
 * Main Stylesheet
 */

/* === Base Styles === */
:root {
  --primary-color: #0056b3;
  --secondary-color: #4a90e2;
  --accent-color: #f8bf4c;
  --dark-color: #2c3e50;
  --light-color: #f5f7fa;
  --text-color: #333333;
  --text-light: #666666;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --border-radius: 4px;
  --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 5rem 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

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

.btn.primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn.secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn.secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* === Header Styles === */
header {
  background-color: white;
  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;
  padding: 1rem 1.5rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark-color);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 20px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* === Hero Section === */
.hero {
  background: linear-gradient(135deg, rgba(0,86,179,0.9) 0%, rgba(74,144,226,0.8) 100%);
  color: white;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><rect fill="rgba(255,255,255,0.05)" width="50" height="50"/><rect fill="rgba(255,255,255,0.05)" x="50" y="50" width="50" height="50"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

/* === About Section === */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-item {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 2rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-text {
  color: var(--text-light);
  font-weight: 500;
}

/* === Services Section === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  background-color: rgba(0, 86, 179, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon svg {
  color: var(--primary-color);
  width: 40px;
  height: 40px;
}

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

.service-card p {
  color: var(--text-light);
}

/* === Solutions Section === */
.solutions {
  background-color: var(--light-color);
}

.solutions-tabs {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab-btn {
  padding: 1rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
  flex: 1;
  text-align: center;
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

.tab-btn:hover:not(.active) {
  color: var(--dark-color);
}

.tabs-content {
  padding: 2rem;
}

.tab {
  display: none;
}

.tab.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tab h3 {
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

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

.tab ul {
  list-style-type: disc;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.tab ul li {
  margin-bottom: 0.5rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Testimonials Section === */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(0, 86, 179, 0.1);
  line-height: 1;
}

.testimonial-content {
  position: relative;
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* === Entertainment Section === */
.entertainment {
  background-color: white;
}

.resources-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.resources-list ul li {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.resources-list ul li a {
  display: block;
  padding: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.resources-list ul li:hover {
  background-color: var(--primary-color);
}

.resources-list ul li:hover a {
  color: white;
}

/* === Contact Section === */
.contact {
  background-color: var(--light-color);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-icon {
  background-color: rgba(0, 86, 179, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg {
  color: var(--primary-color);
  width: 24px;
  height: 24px;
}

.info-item h4 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.info-item p {
  color: var(--text-light);
}

.contact-form {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  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(0, 86, 179, 0.2);
}

/* === Footer === */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo p {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--accent-color);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero {
    padding: 6rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    max-height: 300px;
    padding: 1rem 0;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links li a {
    display: block;
    padding: 1rem 1.5rem;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .tabs-nav {
    flex-direction: column;
  }
  
  .tab-btn {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .tab-btn.active {
    border-bottom: 1px solid var(--primary-color);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}
