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

:root {
  --primary-color: #0B1F3B; /* Deep Navy Blue */
  --accent-color: #C9A227; /* Gold Accent */
  --bg-light: #F5F5F5; /* Light Grey */
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-light: #E0E0E0;
  
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  
  --glass-dark-bg: rgba(11, 31, 59, 0.7);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* Typography Utility */
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.text-white { color: var(--white); }

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-accent {
  background-color: var(--accent-color);
  color: #000;
}
.btn-accent:hover {
  background-color: #e6bd35;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(201, 162, 39, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
  padding: 20px 0;
}
header.scrolled {
  background: rgba(11, 31, 59, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}
.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.lang-switch {
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  transition: var(--transition);
}
.lang-switch:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.section {
  padding: 100px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title h2 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.section-title .divider {
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 0 auto;
}
.section-title.light h2 {
  color: var(--white);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 31, 59, 0.9) 0%, rgba(11, 31, 59, 0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
}
.hero-subtitle {
  color: var(--accent-color);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.hero-title {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-tagline {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0.9;
}
.hero-btns {
  display: flex;
  gap: 20px;
}

/* Reusable Components */

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 12px;
  padding: 40px;
  transition: var(--transition);
}
.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201, 162, 39, 0.5);
}

/* Two Column Layout */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.col-6 {
  flex: 1 1 45%;
}

/* Specific Sections */

/* About Section */
.about-img-wrap {
  position: relative;
  padding-bottom: 40px;
  padding-right: 40px;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 80%;
  height: 80%;
  border: 4px solid var(--accent-color);
  z-index: 1;
}
.about-img {
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.about-content h3 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.about-list {
  list-style: none;
  margin-top: 30px;
}
.about-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-weight: 500;
}
.about-list li i {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 1.2rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--accent-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }
.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--accent-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}
.timeline-item.right::after {
  left: -10px;
}
.timeline-content {
  padding: 30px;
  background-color: var(--white);
  position: relative;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}
.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.timeline-date {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.achievement-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.achievement-card:hover {
  transform: translateY(-10px);
}
.achievement-card:hover::before {
  transform: scaleX(1);
}
.achievement-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

/* Gallery Hover Zoom */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 15px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 59, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay i {
  color: var(--accent-color);
  font-size: 2rem;
}

/* Contact */
.contact-form {
  background: var(--white);
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.form-group {
  margin-bottom: 25px;
}
.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  background: var(--bg-light);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  background: var(--white);
}
textarea.form-control {
  height: 150px;
  resize: vertical;
}
.contact-info {
  padding: 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 8px;
  height: 100%;
}
.contact-item {
  display: flex;
  margin-bottom: 30px;
}
.contact-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-right: 20px;
  margin-top: 5px;
}
.contact-item h4 {
  margin-bottom: 5px;
}

/* Map */
.map-container {
  height: 400px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 40px;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 80px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.footer-text {
  opacity: 0.8;
  margin-bottom: 20px;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}
.footer-title {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--accent-color);
}
.footer-links { list-style: none; }
.footer-links li {
  margin-bottom: 15px;
}
.footer-links a {
  opacity: 0.8;
}
.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
  padding-left: 5px;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .col-6 { flex: 1 1 100%; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item.right { left: 0; }
  .timeline-item.left::after, .timeline-item.right::after { left: 21px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    transition: 0.3s;
  }
  .nav-links.active { left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  header { background: var(--primary-color); padding: 15px 0;}
}
