@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --accent: #20304c;
  --bg: #f7f7f5;
  --text: #333;
  --purple: #83343C;
  --bg-dark: #1a1a1a;
  --text-dark: #eee;
  --accent-dark: #c9d1d9;
}

/* === RESET === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

/* === DARK MODE === */
body.dark {
  background: var(--bg-dark);
  color: var(--text-dark);
}

body.dark .logo {
  filter: drop-shadow(0 0 1px white);
}

body.dark a {
  color: var(--accent-dark);
}

body.dark header,
body.dark .service-card,
body.dark footer {
  background: #222;
  color: var(--text-dark);
}

body.dark .btn-primary {
  background: #a22c3c;
}

body.dark .btn-primary:hover {
  background: #b33f4f;
}

/* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--accent);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple);
  font-weight: 600;
}

.theme-toggle {
  font-size: 0.9rem;
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

body.dark .theme-toggle {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

/* === BUTTONS === */
.btn-primary {
  background: var(--purple);
  color: #fff;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 2px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  background: #82263B;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* === HERO === */
.hero {
  position: relative;
  background: url('https://via.placeholder.com/1600x800') center/cover fixed;
  color: #fff;
  text-align: center;
  padding: 10rem 2rem;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s 0.4s forwards ease-out;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  padding: 4rem 2rem;
}

h2 {
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  color: var(--accent);
}

body.dark h2 {
  color: var(--accent-dark);
}

/* === SERVICES === */
.service-grid,
.contact form {
  display: grid;
  gap: 1.5rem;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card {
  background: #fff;
  padding: 1.8rem;
  border-left: 4px solid var(--purple);
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.dark .service-card {
  background: #2c2c2c;
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* === CONTACT === */
.contact-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-info {
  flex: 1;
  max-width: 300px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

.contact-info h3 {
  margin-bottom: 1rem;
  color: var(--purple);
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--purple);
}

.contact form {
  flex: 2;
  min-width: 280px;
  max-width: 600px;
  display: grid;
  gap: 1rem;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
}

.contact textarea {
  resize: vertical;
}

body.dark .contact-info {
  color: var(--text-dark);
}

body.dark .contact-info h3 {
  color: var(--accent-dark);
}

body.dark .contact-info a {
  color: var(--accent-dark);
}

body.dark .contact-info a:hover {
  color: var(--purple);
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: #666;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    background: var(--bg);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .nav-links a {
    padding: 0.6rem 0;
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .btn-primary {
    font-size: 1rem;
  }

  .contact-container {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-info, .contact form {
    max-width: 100%;
  }
}

/* Responsive image in About section */
.responsive-about-img {
  width: 100%;
  height: auto;
  max-width: 500px;
  display: block;
  margin: 0 auto;
}

/* Responsive image in partners section */
.responsive-partners-img {
  width: 100%;
  height: auto;
  max-width: 200px;
  display: block;
  margin: 0 auto;
}

/* Enhanced ABOUT section layout */
.enhanced-about .about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.enhanced-about .about-text,
.enhanced-about .about-image {
  flex: 1 1 300px;
  max-width: 600px;
}

.enhanced-about .about-image img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

body.dark .enhanced-about .about-image img {
  box-shadow: 0 8px 20px rgba(255,255,255,0.1);
}

/* Enhanced SERVICES section */
.enhanced-services .service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-left: none;
  border-radius: 8px;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.enhanced-services .service-card:hover {
  transform: translateY(-5px);
}

.enhanced-services .service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--purple);
}

body.dark .enhanced-services .service-card {
  background: #2c2c2c;
}

.arrows {
  font-size: 18px;
}

.stats-highlight {
  background: var(--purple);
  color: #fff;
  padding: 4rem 1rem;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  text-align: center;
}

.stat-row h3 {
  font-size: 2.8rem;
  margin-bottom: 0.4rem;
}

.stat-row p {
  font-size: 1.1rem;
  opacity: 0.85;
}

body.dark .stats-highlight {
  background: #82263B;
}


.linkedin-icon {
  display: inline-block;
  margin-top: 15px;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.linkedin-icon:hover {
  transform: scale(1.1);
  color: var(--purple);
}

.linkedin-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

