/* Combined CSS with navigation from 1st code and content from 2nd code */

/* ===== Navigation from 1st code ===== */
:root {
    --primary-blue: #2c3e50;
    --primary-teal: #1a6b84;
    --secondary-orange: #e67e22;
    --accent-orange: #d35400;
    --light-gray: #ecf0f1;
     --text-light: #7f8c8d;
    --dark-gray: #34495e;
    --medium-gray: #7f8c8d;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: #f9f9f9;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 40px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-left, .nav-center, .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
    gap: 10px;
}

.nav-center {
    justify-content: center;
}

.nav-right {
    justify-content: flex-end;
    gap: 10px;
}

/* Adjust the logo container */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 100px;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 70px;
}

/* Ensure tabs are aligned */
.tab {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 15px;
    white-space: nowrap;
}

.tab:hover {
    color: var(--secondary-orange);
}

.tab::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-orange);
    transition: width 0.3s ease;
}

.tab:hover::after {
    width: 100%;
}

.contact-tab {
    background-color: var(--primary-teal);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-tab:hover {
    background-color: var(--accent-orange);
    color: white;
}

.contact-tab::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-teal);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.show {
    display: flex;
}

.mobile-tab {
    padding: 12px 0;
    color: var(--dark-gray);
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.mobile-tab:hover {
    color: var(--secondary-orange);
    padding-left: 10px;
}

/* For mobile menu specifically */
@media (max-width: 767px) {
    .mobile-tab.contact-tab {
        background-color: teal; /* Orange background */
        color: #ffffff; /* White text */
        margin-top: 10px;
        border-radius: 4px;
        text-align: center;
    }

    .mobile-tab.contact-tab:hover {
        background-color: #d35400; /* Darker orange on hover */
        color: #ffffff;
    }
}
    
    /* Tablet and mobile styles */
    .contact-tab {
        background-color: teal; /* New highlight color (orange) */
        color: #ffffff; /* White text */
        padding: 8px 15px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .contact-tab:hover {
        background-color: #d35400; /* Darker orange on hover */
        color: #ffffff;
    }



/* ===== Content from 2nd code ===== */
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* DESTINATION HERO */
.destination-hero {
  height: 70vh;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('Images/Nuwaraeliya\ 8.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 0px; /* To account for fixed navbar */
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

/* Destinations Grid */
.destinations-section {
  padding: 50px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Popular Destinations */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
















/* Search Container */
.search-container {
    width: 100%;
    margin-bottom: 25px;
}

.search-bar {
    display: flex;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(26, 107, 132, 0.1);
}

.search-bar button {
    padding: 0 20px;
    background-color: var(--primary-teal);
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background-color: var(--secondary-orange);
}

/* Keep existing filter buttons styles exactly as they are */
.filter-buttons {
    /* Your existing styles remain untouched */
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}


































.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}




.filter-btn.active {
    background: var(--primary-teal);
    color: white;
    border-color: var(--primary-teal);
}

.filter-btn:hover:not(.active) {
     background: #f1f1f1;
}








/* Destination Cards */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 20px;
}

.destination-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  margin-bottom: 0;
}

.destination-card:hover {
  transform: translateY(-10px);
}

.card-image {
  position: relative;
  height: 250px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.card-content {
  padding: 10px;
  background: white;
}

.card-content h3 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.card-details {
  display: flex;
  justify-content: space-between;
  margin: 1px 0;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.card-btn {
  padding: 10px 20px;
    border-radius: 8px;
  
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    background-color: var(--primary-teal);
    color: white;

}

.card-btn:hover {
  background: #e67e22;
}

/* CTA Section */
.cta-section {
  background: #2c3e50;
  padding: 80px 20px;
  text-align: center;
  color: white;
}

.cta-btn {
  display: inline-block;
  padding: 15px 30px;
  background: #e74c3c;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.1rem;
  margin-top: 20px;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #c0392b;
}

/* DESTINATION CARD POPUP */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.popup-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.popup-caption {
  color: white;
  text-align: center;
  margin-top: 15px;
  font-size: 18px;
}


/* Footer */
.simple-footer {
    background: var(--primary-blue);
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.simple-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--secondary-orange), var(--primary-teal));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

 .footer-center, .footer-contact {
    flex: 1;
    min-width: 390px;
    margin-bottom: 20px;
    padding: 0 30px;

}

.footer-links {
    flex: 1;
    min-width: 20px;
    margin-bottom: 20px;
    padding: 0 30px;
    margin-left: 150px;
}

.footer-links h3, .footer-contact h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-orange);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary-orange);
    padding-left: 5px;
}

.footer-links a i {
    margin-right: 10px;
    font-size: 0.9rem;
    color: var(--secondary-orange);
    transition: all 0.3s;
}

.footer-links a:hover i {
    transform: rotate(360deg);
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 25px;
    transition: all 0.5s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-contact {
    position: relative;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    margin-right: 15px;
    color: var(--secondary-orange);
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
    margin-top: 3px;
}

.contact-item div {
    flex: 1;
}

.contact-item h4 {
    margin: 0 0 5px;
    color: white;
    font-size: 1rem;
}

.contact-item p, .contact-item a {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-item a:hover {
    color: var(--secondary-orange);
}

.social-media {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    justify-content: flex-start;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.social-media a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-orange), var(--accent-orange));
    opacity: 0;
    transition: all 0.3s;
}

.social-media a:hover::after {
    opacity: 1;
}

.social-media a i {
    position: relative;
    z-index: 1;
}

.social-media a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 25px 0;
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bottom p {
    margin: 0 0 15px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
    position: relative;
    padding: 0 5px;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-orange);
    transition: width 0.3s;
}

.footer-legal a:hover {
    color: var(--secondary-orange);
}

.footer-legal a:hover::after {
    width: 100%;
}

/* Footer decorations */
.footer-decoration {
    position: absolute;
    opacity: 0.05;
    z-index: 0;
}

.footer-decoration.shape-1 {
    top: 50px;
    left: 5%;
    font-size: 10rem;
    color: var(--secondary-orange);
}

.footer-decoration.shape-2 {
    bottom: 100px;
    right: 10%;
    font-size: 8rem;
    color: var(--primary-teal);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .footer-content {
        gap: 30px;
    }
    
    .footer-center, .footer-contact {
        flex: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0 15px;
    }

    .footer-links {
        flex: 1;
        max-width: 100%;
        text-align: left;
        padding: 0 15px;
        margin-left: 1000px;
    }

    .footer-links h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-media {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .simple-footer {
        padding-top: 60px;
    }
    
    .footer-links h3, .footer-contact h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-legal a {
        padding: 5px 0;
    }
    
    .footer-legal a::after {
        bottom: 0;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1023px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-left, .nav-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar {
        padding: 15px 20px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-image {
        height: 600px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-image {
        height: 600px;
    }
    
    .footer-links, 
    .footer-contact {
        padding: 10px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-section {
        padding: 40px 10px;
    }
    
    .cta-btn {
        display: block;
        width: 90%;
        max-width: 250px;
        margin: 15px auto 0;
    }
}/* Activity Inquiry Form */
.activity-inquiry {
    padding: 80px 20px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-teal));
    color: white;
}

.inquiry-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.inquiry-content {
    flex: 1;
    padding: 50px;
    background: var(--primary-teal);
    color: white;
}

.inquiry-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.inquiry-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.inquiry-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.inquiry-content li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.inquiry-content i {
    margin-right: 10px;
    color: var(--secondary-orange);
}

.inquiry-form {
    flex: 1;
    padding: 50px;
    background: white;
    color: var(--dark-gray);
}

.inquiry-form h3 {
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 107, 132, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background: var(--secondary-orange);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--accent-orange);
}

.submit-btn i {
    margin-left: 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .activities-hero {
        height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .activity-filter {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .inquiry-container {
        flex-direction: column;
    }
    
    .inquiry-content,
    .inquiry-form {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .activities-hero {
        height: 50vh;
        margin-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-options {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .activities-hero {
        height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .explore-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    .filter-btn i {
        display: none;
    }
    
    .inquiry-content,
    .inquiry-form {
        padding: 30px 20px;
    }
    
    .inquiry-content h2 {
        font-size: 1.5rem;
    }
    
    .activity-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .book-btn {
        width: 100%;
        text-align: center;
    }
}