:root {
  --bg-color: #f2f2f2;
  --text-primary: #212120;
  --text-secondary: #333333;
  --white: #ffffff;
  --font-logo: 'Futura', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.3s ease;
}

header.scrolled {
  background-color: rgba(242, 242, 242, 0.95);
  backdrop-filter: blur(5px);
}

.logo {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.main-nav a:hover, .main-nav a.active {
  color: #000;
}

/* Hero Slider */
.hero {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 60px;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 60%;
  height: 70vh;
  object-fit: cover;
  will-change: transform;
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 1000;
  pointer-events: none;
}

.footer-address {
  font-size: 0.75rem;
  color: var(--text-primary);
  pointer-events: auto;
}

.footer-social {
  display: flex;
  gap: 1rem;
  pointer-events: auto;
}

.footer-social a {
  color: var(--text-primary);
  font-size: 1.2rem;
}

/* Page Layouts */
.page-wrapper {
  padding: 140px 4rem 80px 4rem;
  min-height: 100vh;
}

/* Sub Navigation */
.sub-nav {
  margin-bottom: 3rem;
}

.sub-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 1rem;
}

.sub-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}

.sub-nav a.active, .sub-nav a:hover {
  color: var(--text-primary);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-title {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* About Page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.founder-section {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
}

.founder-image {
  width: 300px;
  flex-shrink: 0;
}

.founder-image img {
  width: 100%;
  height: auto;
}

.founder-details h2 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.founder-details h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.founder-details p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* News Page */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-image {
  width: 100%;
  aspect-ratio: 16/9;
}

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

.news-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

/* Contact Page */
.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.map-container {
  width: 100%;
  height: 500px;
  background: #ddd;
}

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

.contact-info {
  text-align: center;
  font-size: 0.9rem;
  line-height: 2;
}

/* Responsive */
@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .founder-section {
    flex-direction: column;
  }
  header, footer, .page-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  .projects-grid, .news-grid {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    gap: 1rem;
    position: static;
    padding: 2rem;
  }
  .hero {
    padding-top: 140px;
  }
}
