@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Sekuya&display=swap');

:root {
  --primary-color: #0b132b;
  --secondary-color: #1c2541;
  --accent-color: #3a506b;
  --highlight: #5bc0be;
  --text-dark: #1a1a1a;
  --text-light: #f8f9fa;
  --bg-light: #ffffff;
  --bg-gray: #f0f4f8;
}

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

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.text-highlight {
  color: var(--highlight);
}

h1 { font-size: 3.5rem; letter-spacing: -1px; line-height: 1.1; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1rem; font-size: 1.1rem; color: #444; }

/* Navigation */
nav {
  position: fixed;
  top: 0; width: 100%;
  background: rgba(11, 19, 43, 0.15);
  backdrop-filter: blur(10px);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.5rem 5%;
  background: rgba(11, 19, 43, 0.95);
}

nav .logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

nav .logo-img {
  height: 45px;
  width: auto;
  border-radius: 8px;
}

nav .logo-text {
  font-family: 'Sekuya', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--highlight);
  border-bottom: 2px solid var(--highlight);
  padding-bottom: 5px;
}

/* Sections */
section {
  padding: 6rem 5%;
  position: relative;
}

section.bg-gray {
  background-color: var(--bg-gray);
}

/* Slideshow Hero */
.hero-slideshow {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 0 0;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: zoomInOut 10s infinite alternate linear;
}

@keyframes zoomInOut {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.slide-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Darker overlay */
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 800px;
}

.hero-slideshow .hero-content h1 {
  color: #ffffff;
}

.hero-slideshow .hero-content p {
  color: #e0e0e0;
}

.hero-content h1 {
  color: #ffffff;
}

.hero-content p {
  color: #e0e0e0;
  font-size: 1.25rem;
  font-weight: 500;
}

.hero-regular {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 120px 0 0 0;
}

.hero-regular::before {
  content: '';
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-regular h1 {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

/* Image Break Parallax */
.parallax-break {
  height: 50vh;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.parallax-break::before {
  content: '';
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(255, 255, 255, 0.7);
}

.parallax-break h2 {
  position: relative;
  z-index: 2;
  color: var(--primary-color);
  font-size: 3rem;
  text-align: center;
}

/* Content Layouts */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.content-box {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  transition: transform 0.4s, border-color 0.4s;
  border-top: 4px solid transparent;
}

.content-box:hover {
  transform: translateY(-10px);
  border-top: 4px solid var(--highlight);
}

.content-box.permanent-border {
  border-top: 4px solid var(--highlight);
}

/* Motion Effects (Scroll Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Form */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

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

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

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  background: var(--bg-gray);
  transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--highlight);
}

button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  width: 100%;
}

button:hover {
  background: var(--accent-color);
  transform: scale(1.02);
}

#success-message {
  display: none;
  background: #e6f7e6;
  color: #2e7d32;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  margin-top: 1.5rem;
  animation: fadeIn 0.5s;
}

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

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 4rem 5%;
  text-align: center;
}

footer p {
  color: var(--text-light);
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  nav { flex-direction: row; padding: 1rem 5%; justify-content: space-between; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .parallax-break h2 { font-size: 2rem; }
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  nav .logo-text {
    font-size: 1.2rem;
  }
  nav .logo-img {
    height: 35px;
  }
  
  nav ul.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 19, 43, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  }
  
  nav ul.nav-links.active {
    max-height: 400px;
    padding: 2rem 0;
  }
}

@media (max-width: 500px) {
  nav {
    padding: 0.8rem 5%;
  }
  nav .logo-container {
    gap: 0.5rem;
  }
  nav .logo-text {
    font-size: 1rem;
    white-space: nowrap;
  }
  nav .logo-img {
    height: 30px;
  }
  .mobile-menu-toggle {
    padding: 0.2rem;
  }
}
