/* ========================================
   ARCYN DESIGN LAB - Modern Web Design
   ======================================== */

:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --dark-color: #1a202c;
  --light-color: #f7fafc;
  --text-color: #2d3748;
  --text-light: #718096;
  --border-color: #e2e8f0;
  --success-color: #48bb78;
  --error-color: #f56565;
  --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: var(--light-color);
}

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

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

ul {
  list-style: none;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
  pointer-events: none;
}

nav a:hover::before {
  width: 100%;
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/img_4b314a5a.jpg') center/cover;
  opacity: 0.15;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}

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

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* ========================================
   SECTIONS
   ======================================== */

section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 2.8rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   SERVICES GRID
   ======================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
  pointer-events: none;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.feature-item h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

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

/* ========================================
   TEAM SECTION
   ======================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.team-member {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 5px solid var(--light-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.team-member .role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-member p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========================================
   BLOG GRID
   ======================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.blog-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.blog-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  line-height: 1.4;
}

.blog-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ========================================
   ARTICLE PAGE
   ======================================== */

.article-hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
  background: var(--light-color);
}

.article-header h1 {
  font-size: 2.8rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.article-featured-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 3rem;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin: 2.5rem 0 1.5rem;
}

.article-content h3 {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin: 2rem 0 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-section {
  background: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

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

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.contact-details p {
  color: var(--text-light);
}

.contact-form {
  background: var(--light-color);
  padding: 2.5rem;
  border-radius: 15px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  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 3px rgba(102, 126, 234, 0.1);
}

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

.form-error {
  color: var(--error-color);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--error-color);
}

.form-group.error .form-error {
  display: block;
}

/* ========================================
   MAP
   ======================================== */

.map-section {
  padding: 0;
}

.map-container {
  width: 100%;
  height: 450px;
  background: var(--light-color);
  border-radius: 15px;
  overflow: hidden;
}

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

/* ========================================
   FOOTER
   ======================================== */

footer {
  background: var(--dark-color);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

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

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* ========================================
   COOKIE BANNER
   ======================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-color);
  color: white;
  padding: 1.5rem 2rem;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  display: none;
  animation: slideUp 0.4s ease;
}

.cookie-banner.show {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-buttons button {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

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

.decline-cookies {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ========================================
   LEGAL PAGES
   ======================================== */

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.legal-content h1 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1.8rem;
  color: var(--dark-color);
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.3rem;
  color: var(--dark-color);
  margin: 2rem 0 0.8rem;
}

.legal-content p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
  }

  nav.active {
    max-height: 500px;
    padding: 1rem 0;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }

  nav a {
    display: block;
    padding: 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .services-grid,
  .features-grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
