/* tour/style.css - Interactive Tour Styles */

:root {
  --primary-color: #0b51a6;
  --primary-light: #488ac9;
  --primary-dark: #073570;
  --secondary-color: #f2b705;
  --bg-color: #f9fbfd;
  --text-main: #333333;
  --text-muted: #555555;
  --white: #ffffff;
  --border-color: #e0e6ed;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header (Minimal for Tour) */
header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 10;
}

.logo-container img {
  height: 40px;
  width: auto;
}

.back-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--secondary-color);
}

/* Main Tour Container */
.tour-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 20px;
  gap: 20px;
}

/* Carousel Section */
.carousel-wrapper {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-color);
  flex: 1;
}

.carousel-content {
  display: flex;
  flex: 1;
  min-height: 60vh;
}

/* Image Display Area */
.image-area {
  flex: 3;
  background-color: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.image-area img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: opacity 0.4s ease-in-out;
}

/* Text / Info Area */
.info-area {
  flex: 1;
  min-width: 320px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border-color);
}

.step-indicator {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
  font-weight: 700;
  margin-bottom: 10px;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.slide-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Controls */
.controls-area {
  background: var(--white);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
}

.progress-container {
  flex: 1;
  margin: 0 30px;
  background: var(--border-color);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--primary-color);
  width: 0%;
  transition: width 0.4s ease;
}

.btn-nav {
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav:hover:not(:disabled) {
  background: var(--primary-color);
  color: var(--white);
}

.btn-nav:disabled {
  border-color: var(--border-color);
  color: #999;
  cursor: not-allowed;
}

.btn-nav.primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-nav.primary:hover:not(:disabled) {
  background: var(--primary-dark);
}

/* Animations */
.fade {
  opacity: 0;
}
.fade.active {
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .carousel-content {
    flex-direction: column;
  }
  
  .info-area {
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding: 30px 20px;
  }
  
  .image-area img {
    max-height: 50vh;
  }
  
  .controls-area {
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 20px;
  }
  
  .progress-container {
    order: -1;
    width: 100%;
    margin: 0 0 10px 0;
  }
}
