/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Variables */
:root {
  --primary: #8e44ad;
  --secondary: #3498db;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --accent: #9b59b6;
  --text: #34495e;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --radius: 8px;
}

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

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.accent {
  color: var(--primary);
  position: relative;
}

.accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 5rem 0;
  position: relative;
}

/* Header and Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.site-logo {
  width: 40px;
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.cta-nav {
  background: var(--gradient);
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-nav:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(142, 68, 173, 0.3);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 35px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  margin: 6px 0;
  transition: 0.3s;
  border-radius: 3px;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
  min-height: 80vh;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.hero-visual {
  flex: 1;
  max-width: 500px;
  animation: pulse 3s infinite alternate;
}

@keyframes pulse {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.05); opacity: 1; }
}

/* CTA Buttons */
.cta-button {
  display: inline-block;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(142, 68, 173, 0.3);
  transition: all 0.3s ease;
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(142, 68, 173, 0.4);
}

.cta-button.large {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
}

/* Features Section */
.features {
  background-color: white;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

/* Gallery Section */
.gallery {
  background-color: var(--light);
  position: relative;
}

.gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(142, 68, 173, 0.05) 0%, rgba(52, 152, 219, 0.05) 100%);
  z-index: 1;
}

.gallery > * {
  position: relative;
  z-index: 2;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
  box-shadow: var(--shadow);
}

.gallery-item svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 70%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item:hover svg {
  transform: scale(1.1);
}

.view-btn {
  background: white;
  color: var(--primary);
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

/* About Section */
.about {
  background-color: white;
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.label {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

/* Access Section */
.access {
  background: var(--gradient);
  color: white;
  text-align: center;
}

.access h2 {
  color: white;
}

.access p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.access .cta-button {
  background: white;
  color: var(--primary);
}

.access .cta-button:hover {
  background: var(--light);
  color: var(--primary);
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

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

.footer-logo svg {
  width: 60px;
  height: 60px;
}

.footer-links, .footer-legal {
  min-width: 150px;
}

footer h3 {
  color: white;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.8rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  h2 {
    font-size: 2.2rem;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text h2 {
    font-size: 2.8rem;
  }
  
  .hero-visual {
    max-width: 400px;
    width: 100%;
  }
  
  .feature-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .stats {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-text h2 {
    font-size: 2.2rem;
  }
  
  .feature-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
  }
  
  .footer-logo, .footer-links, .footer-legal {
    width: 100%;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .hero-text h2 {
    font-size: 2rem;
  }
  
  .cta-button.large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .stats {
    flex-direction: column;
    gap: 2rem;
  }
}
