/* ========================
   Tourism Color Palette
   ======================== */
:root {
  --primary-blue: #1e88e5;
  --secondary-teal: #26a69a;
  --accent-coral: #ff7043;
  --warm-sand: #fdd835;
  --ocean-deep: #0d47a1;
  --tropical-green: #43a047;
  --sunset-orange: #fb8c00;
  --pearl-white: #fafafa;
  --text-dark: #263238;
  --text-light: #546e7a;
}

/* ========================
   Global Styles
   ======================== */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
}

/* ========================
   Sidebar
   ======================== */
.sidebar {
  width: 250px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  z-index: 1000;
  background: linear-gradient(180deg, var(--ocean-deep) 0%, var(--primary-blue) 100%);
  box-shadow: 0 0 20px rgba(30, 136, 229, 0.3);
  transition: transform 0.3s ease-in-out;
}

.sidebar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-left: 3px solid transparent;
  padding: 12px 20px;
  display: block;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.sidebar a:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.sidebar a:hover:before {
  left: 100%;
}

.sidebar a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-left: 3px solid var(--accent-coral);
  transform: translateX(5px);
}

.logo {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

/* ========================
   Main Content
   ======================== */
.main-content {
  margin-left: 250px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s ease-in-out;
}

/* ========================
   Jumbotron / Hero Section
   ======================== */
.jumbotron {
  background: linear-gradient(135deg, rgba(30,136,229,0.8), rgba(38,166,154,0.8)), 
              linear-gradient(45deg, rgba(255,112,67,0.3), rgba(251,140,0,0.3));
  color: white;
  border-radius: 20px;
  margin: 20px 0;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.jumbotron h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.jumbotron .lead {
  font-size: 1.4rem;
  font-weight: 300;
}

/* ========================
   Cards
   ======================== */
.card {
  transition: all 0.4s ease;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(30,136,229,0.15);
  background: white;
  position: relative;
}

.card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-teal), var(--accent-coral));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover:before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(30,136,229,0.25);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 1.8rem;
}

.card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* ========================
   Buttons
   ======================== */
.btn {
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover:before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-teal), var(--primary-blue));
  transform: translateY(-2px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-coral), var(--sunset-orange));
  border: none;
  color: white;
}

/* ========================
   Sections
   ======================== */
section {
  padding: 60px 0;
  position: relative;
}

section:nth-child(even) {
  background: rgba(227,242,253,0.3);
}

/* ========================
   Footer
   ======================== */
footer {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--text-dark) 100%);
  color: white;
  padding: 40px 0 20px;
  margin-top: auto;
  position: relative;
}

/* ========================
   Gallery Grid
   ======================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* ========================
   Responsive Design
   ======================== */
@media (max-width: 1200px) {
  .jumbotron h1 { font-size: 3rem; }
}

@media (max-width: 992px) {
  .main-content { margin-left: 0; }
  .sidebar { position: relative; width: 100%; height: auto; transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
}

@media (max-width: 768px) {
  .jumbotron { padding: 2.5rem 1.5rem; }
  .jumbotron h1 { font-size: 2.2rem; }
  .jumbotron .lead { font-size: 1.1rem; }
  .card-img-top { height: 180px; }
  .btn { padding: 0.5rem 1rem; font-size: 0.9rem; }
  h2 { font-size: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .jumbotron { padding: 2rem 1rem; }
  .jumbotron h1 { font-size: 1.8rem; }
  .card-body { padding: 1rem; }
  .btn { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
}
