* {
  box-sizing: border-box;
}
:root {
  --primary-color: #004d40;
  --secondary-color: #ffc107;
  --bg-light: #f4f7f6;
  --text-dark: #333;
}

html, body {
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #eef2f0;
  background-image: 
    radial-gradient(ellipse at 20% 50%, rgba(0,77,64,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,193,7,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(0,128,128,0.03) 0%, transparent 50%);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, rgba(0,77,64,0.95), rgba(0,128,128,0.95));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 2px 10px rgba(0,77,64,0.3); }
    to { text-shadow: 0 2px 20px rgba(0,77,64,0.6), 0 0 30px rgba(0,255,128,0.4); }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.mobile-header {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00ccff);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover span {
    background: linear-gradient(90deg, #00ff88, #ffffff);
    box-shadow: 0 0 10px rgba(0,255,128,0.5);
}

/* Navigation Styles */
.desktop-nav, .mobile-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 1rem 0;
}

/* Hide mobile navigation by default on desktop */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0,77,64,0.98), rgba(0,128,128,0.98));
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    gap: 1rem;
}

.desktop-nav a, .mobile-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Hover Box Effect */
.desktop-nav a::before, .mobile-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00ccff);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.desktop-nav a:hover::before, .mobile-nav a:hover::before {
    width: 100%;
}

.desktop-nav a:hover, .mobile-nav a:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.2);
    color: white;
    box-shadow: 0 10px 25px rgba(0,255,128,0.3);
}

/* Active Item with Neon Glow */
.desktop-nav a.active, .mobile-nav a.active {
    background: linear-gradient(135deg, rgba(0,255,128,0.3), rgba(0,200,255,0.2));
    color: white;
    box-shadow: 
        0 0 20px rgba(0,255,128,0.5),
        0 0 40px rgba(0,255,128,0.3),
        inset 0 0 20px rgba(0,255,255,0.2);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(0,255,128,0.5),
            0 0 40px rgba(0,255,128,0.3),
            inset 0 0 20px rgba(0,255,255,0.2);
    }
    50% { 
        box-shadow: 
            0 0 25px rgba(0,255,128,0.7),
            0 0 50px rgba(0,255,128,0.5),
            inset 0 0 25px rgba(0,255,255,0.3);
    }
}

/* CTA Button */
.nav-cta {
    background: linear-gradient(135deg, #00ff88, #00ccff);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,255,128,0.3);
    animation: float 3s ease-in-out infinite;
}

.nav-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,255,128,0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Dark Mode Toggle */
.theme-toggle {
    position: relative;
    top: auto;
    right: auto;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    width: 40px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.theme-toggle::before {
    content: '🌙';
    font-size: 1.2rem;
}

/* Dark Mode Styles */
body.dark-mode {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    color: #ffffff;
}

body.dark-mode header {
    background: linear-gradient(135deg, rgba(0,40,40,0.95), rgba(0,80,80,0.95));
}

body.dark-mode .desktop-nav a,
body.dark-mode .mobile-nav a {
    background: rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.1);
}

body.dark-mode .theme-toggle::before {
    content: '🌙';
}

body.dark-mode .theme-toggle.light::before {
    content: '☀️';
}

body.dark-mode .places-grid {
    background-image: url('../img/places-bg.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

body.dark-mode .card,
body.dark-mode .destination-card {
    background: #2a2a2a;
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

body.dark-mode .card h3,
body.dark-mode .destination-card h3,
body.dark-mode .card-content h3 {
    color: #4dd0c8;
}

body.dark-mode .card p,
body.dark-mode .place-description,
body.dark-mode .card-description,
body.dark-mode .short-text,
body.dark-mode .full-text {
    color: #ccc;
    background-color: transparent;
}

body.dark-mode .stats-bar {
    background: #1e1e1e;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

body.dark-mode footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #111 50%, #1a1a2e 100%);
}

/* Enhanced Mobile Menu */
@media (max-width: 768px) {
    header {
        padding: 10px 15px;
        flex-wrap: nowrap;
    }
    
    header h1 {
        font-size: 1.2rem;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    .mobile-nav.active {
        left: 0;
        box-shadow: 0 0 50px rgba(0,0,0,0.5);
    }
    
    .mobile-nav a {
        width: 100%;
        text-align: center;
        padding: 1.2rem;
        border-radius: 15px;
        font-size: 1.1rem;
    }
    
    .theme-toggle {
        width: 35px;
        height: 25px;
    }
    
    .theme-toggle::before {
        font-size: 1rem;
    }
    
    select#language {
        padding: 4px 6px;
        font-size: 0.8rem;
    }
    
    .mobile-header {
        display: block;
    }
    
    .mobile-menu-btn {
        display: flex;
        padding: 0.5rem;
    }
    
    .mobile-menu-btn span {
        width: 22px;
        height: 2px;
        margin: 3px 0;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(3px, 3px);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -3px);
    }
}

select#language {
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.85rem;
  flex-shrink: 0;
}

select#language option {
  background: #004d40;
  color: white;
}

.hero {

  position: relative;
  height: 80vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2rem;
  color: white;
}

.hero-video {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  z-index: 2;
  position: relative;

  text-align: center;
  padding: 1.5rem 2rem;
  max-width: 90%;
}

.hero h2 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero p {
  font-size: 1.2rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.places-grid {
  padding: 40px 20px;
  margin: 0 auto;
  width: 100%;
  background-image: url('../img/places-bg.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.places-grid h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.places-grid h2, .places-grid .grid-container, .places-grid .category-filters, .places-grid .category-section {
  position: relative;
  z-index: 1;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 16px 16px 0 0;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card h3 {
  color: #000;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.place-description {
  color: #333;
  background-color: transparent;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.place-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  margin: -20px -20px 15px -20px;
}

.card p {
  flex-grow: 1;
}

.btn-read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-read-more:hover {
  background: #003832;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,77,64,0.3);
}

.btn-view-details {
  display: inline-block;
  margin-left: 10px;
  padding: 12px 24px;
  background: var(--secondary-color);
  color: var(--text-dark);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-view-details:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255,193,7,0.3);
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 15px;
}

.short-text {
  color: var(--text-dark);
  line-height: 1.5;
}

.full-text {
  color: var(--text-dark);
  line-height: 1.5;
  animation: fadeIn 0.3s ease-in;
}

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

.gallery img {
  width: 100%;
  max-width: 300px;
  margin: 10px;
  border-radius: 8px;
}

footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin-top: 0;
  border-top: 3px solid var(--secondary-color);
}

/* Stats Bar */
.stats-bar {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stat-item {
  text-align: center;
  min-width: 120px;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Enhanced Destination Cards */
.destination-card {
    background: #f5f5f5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform: translateY(0);
    scale: 1;
    border: 1px solid rgba(255,255,255,0.2);
}

.destination-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.card-header-gradient {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-header-gradient::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.6s ease;
}

.destination-card:hover .card-header-gradient::before {
    left: 100%;
}

.gradient-content {
    text-align: center;
    color: white;

}

.gradient-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.gradient-content span {
    font-size: 1.1rem;
    font-weight: 500;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.card-description {
    color: #333;
    background-color: transparent;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.card-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(1);
}

.card-btn:hover {
    transform: scale(1.05);
}

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

.btn-read-more:hover {
    background: #003d33;
    box-shadow: 0 5px 15px rgba(0,77,64,0.3);
}

.btn-details {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.btn-details:hover {
    background: #e6b800;
    box-shadow: 0 5px 15px rgba(255,193,7,0.3);
}

.btn-video {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-video:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    box-shadow: 0 5px 15px rgba(231,76,60,0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-actions {
        flex-direction: column;
    }
    
    .card-btn {
        width: 100%;
        justify-content: center;
    }
    
    .destination-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}
@media (max-width: 768px) {
  .hero {

    height: 50vh;
    min-height: 250px;
  }
  
  .hero h2 {
    font-size: 1.3rem;
  }
  
  .hero p {
    font-size: 0.85rem;
  }
  
  .places-grid {
    padding: 20px 10px;
  }
  
  .places-grid h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 0.5rem;
  }
  
  .card {
    margin: 0 auto;
    max-width: 100%;
    padding: 1rem;
  }
  
  .card h3 {
    font-size: 1.2rem;
  }
  
  .card-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .btn-read-more, .btn-view-details {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .card-content h3 {
    font-size: 1.2rem;
  }
  
  .card-description {
    font-size: 0.9rem;
  }
  
  .destination-card:hover {
    transform: translateY(-3px);
  }
}

/* Extra small phones */
@media (max-width: 400px) {
  header {
    padding: 8px 10px;
  }
  
  header h1 {
    font-size: 1rem;
  }
  
  .hero {

    height: 35vh;
    min-height: 180px;
  }
  
  .hero h2 {
    font-size: 1.1rem;
  }
  
  .hero p {
    font-size: 0.75rem;
  }
  
  .grid-container {
    padding: 0 0.25rem;
    gap: 12px;
  }
  
  .card-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .nav-cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Contact Page Mobile Styles */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .contact-info, .contact-form-section {
    width: 100% !important;
  }
  
  .info-card {
    padding: 1.5rem !important;
  }
  
  .info-item {
    margin-bottom: 1rem !important;
  }
  
  .info-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }
  
  .social-icons {
    gap: 0.75rem !important;
  }
  
  .social-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.3rem !important;
  }
  
  .modern-contact-form {
    padding: 1.5rem !important;
  }
  
  .form-group {
    margin-bottom: 1rem !important;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 12px !important;
    font-size: 1rem !important;
  }
  
  .submit-btn {
    padding: 12px 24px !important;
    font-size: 1rem !important;
  }
}

/* Footer Mobile Styles */
@media (max-width: 768px) {
  footer {
    padding: 1.5rem 1rem !important;
  }
  
  .footer-social {
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .footer-social a {
    font-size: 1.5rem !important;
    padding: 0.5rem !important;
  }
}
/* Logo styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 80px; /* Adjust as needed */
    width: auto;
    border-radius: 50%; /* It's a circular logo, so rounding it makes it look better */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Adjust mobile header for logo */
@media (max-width: 768px) {
    .site-logo {
        height: 60px;
    }
}

/* Dark mode overrides for transparent backgrounds */
body.dark-mode .gallery-place-card,
body.dark-mode .place-rank-card,
body.dark-mode .tip-card {
    background: #2a2a2a;
    border-color: rgba(255,255,255,0.06);
}


/* Dark mode text colors for gallery and blog */
body.dark-mode .gallery-card-info h3,
body.dark-mode .place-rank-content h3,
body.dark-mode .tip-card h3 {
    color: #4dd0c8;
}

body.dark-mode .gallery-card-cat,
body.dark-mode .place-rank-content p,
body.dark-mode .tip-card p {
    color: #ccc;
}
