/*<!-- 
  Developer: Udara Sahan
  Contact: udarasahan2005@gmail.com
  Website: udarasahan2005@gmail.com
  Description: Main landing page for LANKA FIRST KANKO, designed to showcase tours and services.
-->*/

/* General Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #eef2f3, #ffffff);
  color: #333;
}

.section {
  height: 100vh;
 
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
}

/* Navbar */
/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #eef2f3, #ffffff);
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff; /* White background */
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.9); /* Neumorphism effect */
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
  border-radius: 0 0 10px 10px;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0074D9; /* Blue color for logo */
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: #0074D9; /* Blue color for links */
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0074D9, #00BFFF); /* Gradient underline */
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  background: linear-gradient(90deg, #0074D9, #00BFFF); /* Gradient background on hover */
  color: #fff; /* White text on hover */
  transform: scale(1.1);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.9); /* Hover shadow */
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.active {
  background: linear-gradient(90deg, #0074D9, #00BFFF); /* Gradient background for active link */
  color: #fff; /* White text for active link */
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.9); /* Active shadow */
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #0074D9; /* Blue color for hamburger lines */
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* Responsive Navbar */
@media (max-width: 835px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #ffffff; /* White background for dropdown */
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.9); /* Neumorphism effect */
    flex-direction: column;
    width: 100%;
    display: none;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
    opacity: 0; /* Start invisible */
    transform: translateY(-10px); /* Slide in effect */
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Slide into view */
  }

  .nav-links li {
    margin: 1rem 0;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* About Section */
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* About Section */
#aboutSection {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #eef2f3);
  position: relative;
  overflow: hidden;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.about-content {
  flex: 1;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8); /* Glassmorphism effect */
  backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin: 1rem; /* Add spacing between elements */
}

.about-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #0074D9; /* Blue title */
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.about-description {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

.about-button {
  background: linear-gradient(90deg, #0074D9, #00BFFF); /* Gradient background */
  color: #fff; /* White text */
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 25px; /* Rounded corners */
  font-weight: bold;
  font-size:15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none; /* Remove underline for anchor tag */
  display: inline-block; /* Ensure proper alignment */
}

.about-button:hover {
  background: linear-gradient(90deg, #00BFFF, #0074D9); /* Reverse gradient on hover */
  transform: scale(1.1);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}
.about-image {
  flex: 1;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 1rem; /* Add spacing between elements */
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.about-image:hover .about-img {
  transform: scale(1.1) rotate(2deg); /* Parallax zoom effect */
}

.hidden-content {
  display: none;
  margin-top: 2rem;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.extra-info {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: auto;
}


/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  #aboutSection {
    padding: 2rem 1rem; /* Reduce padding for tablets */
  }

  .about-container {
    flex-direction: column; /* Stack elements vertically */
  }

  .about-content,
  .about-image {
    flex: none; /* Remove flex properties */
    width: 100%; /* Full width */
    padding: 1rem; /* Reduce padding */
  }

  .about-title {
    font-size: 2rem; /* Smaller title */
  }

  .about-description {
    font-size: 1rem; /* Smaller description */
  }

  .about-button {
    padding: 0.6rem 1.5rem; /* Smaller button */
    font-size: 0.9rem; /* Smaller text */
    width: 100%; /* Full-width button for better tapping */
    max-width: 300px; /* Limit maximum width */
    margin: 0 auto; /* Center align the button */
  }

  .about-img {
    border-radius: 5px; /* Slightly reduce border radius */
  }

  .extra-info {
    font-size: 1rem; /* Smaller extra info */
  }

  /* Disable hover effects on mobile */
  .about-content:hover {
    transform: none;
  }

  .about-image:hover .about-img {
    transform: none;
  }
}

@media (max-width: 480px) {
  #aboutSection {
    padding: 1rem; /* Minimal padding for mobile */
  }

  .about-title {
    font-size: 1.5rem; /* Even smaller title */
  }

  .about-description {
    font-size: 0.8rem; /* Even smaller description */
  }

  .about-button {
    padding: 0.5rem 1rem; /* Compact button */
    font-size: 0.7rem; /* Compact text */
    width: 100%; /* Full-width button for better tapping */
    max-width: 250px; /* Limit maximum width */
    margin: 0 auto; /* Center align the button */
  }

  .about-img {
    border-radius: 3px; /* Minimal border radius */
  }

  .extra-info {
    font-size: 0.8rem; /* Minimal font size */
  }
}
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif; /* Updated Font */
  line-height: 1.6;
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh; /* Full-screen height */
  background: url('homecover.png') no-repeat center center/cover; /* Full-cover image */
  background-attachment: fixed; /* Parallax scrolling effect */
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)); /* Gradient overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-title {
  font-size: 4rem;
  font-weight: 900; /* Bold font */
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
  animation: glow 2s infinite alternate;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 2rem;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
  animation: fadeInUp 2s ease-in-out;
}

/* Button Styling */
.hero-button {
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Frosted glass effect */
  border: 2px solid rgba(255, 255, 255, 0.5); /* Transparent border */
  color: #fff; /* White text */
  padding: 1rem 2.5rem;
  border-radius: 30px; /* Rounded corners */
  font-family: 'Montserrat', sans-serif; /* Custom font */
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 1px; /* Spacing between letters */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-button:hover {
  background: linear-gradient(90deg, #0074D9, #00BFFF); /* Blue gradient on hover */
  border-color: #0074D9; /* Change border color */
  transform: scale(1.1);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.hero-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3); /* Shimmer effect */
  transition: left 0.5s ease;
}

.hero-button:hover::before {
  left: 100%;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 40px rgba(255, 255, 255, 0.8);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem; /* Smaller title for tablets */
  }

  .hero-subtitle {
    font-size: 1.2rem; /* Smaller subtitle for tablets */
  }

  .hero-button {
    font-size: 1rem; /* Smaller button text */
    padding: 0.8rem 2rem; /* Reduced padding */
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem; /* Even smaller title for mobiles */
  }

  .hero-subtitle {
    font-size: 1rem; /* Even smaller subtitle for mobiles */
  }

  .hero-button {
    font-size: 0.9rem; /* Even smaller button text */
    padding: 0.7rem 1.5rem; /* Further reduced padding */
  }
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll; /* Disable parallax on mobile */
  }
}


/* Responsive Design */
@media (max-width: 768px) {
  #servicesSection {
    padding: 2rem 1rem; /* Reduce padding for tablets */
  }

  .services-container {
    flex-direction: column; /* Stack columns vertically */
  }

  .included,
  .excluded {
    flex: none; /* Remove flex properties */
    width: 100%; /* Full width */
    padding: 1.5rem; /* Reduce padding */
    margin: 1rem 0; /* Adjust margins */
    min-height: auto; /* Remove fixed height for mobile */
  }

  h1 {
    font-size: 2rem; /* Smaller main header */
  }

  h2 {
    font-size: 1.5rem; /* Smaller sub-headers */
  }

  ul {
    font-size: 0.9rem; /* Smaller list items */
  }
}

@media (max-width: 480px) {
  #servicesSection {
    padding: 1rem; /* Minimal padding for mobile */
  }

  h1 {
    font-size: 1.8rem; /* Even smaller main header */
  }

  h2 {
    font-size: 1.3rem; /* Even smaller sub-headers */
  }

  ul {
    font-size: 0.8rem; /* Minimal font size for list items */
  }

  .included,
  .excluded {
    padding: 1rem; /* Compact padding */
    border-radius: 10px; /* Slightly reduce border radius */
    min-height: auto; /* Remove fixed height for mobile */
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  #contact {
    padding: 2rem 1rem; /* Reduce padding for tablets */
  }

  #contact h1 {
    font-size: 2rem; /* Smaller title */
  }

  #contact p {
    font-size: 1rem; /* Smaller description */
  }

  #contactForm input,
  #contactForm textarea {
    padding: 0.8rem; /* Compact padding */
    font-size: 0.9rem; /* Smaller text */
  }

  #contactForm button {
    padding: 0.8rem; /* Compact button */
    font-size: 0.9rem; /* Smaller text */
  }
}

@media (max-width: 480px) {
  #contact {
    padding: 1rem; /* Minimal padding for mobile */
  }

  #contact h1 {
    font-size: 1.8rem; /* Even smaller title */
  }

  #contact p {
    font-size: 0.9rem; /* Minimal font size */
  }

  #contactForm input,
  #contactForm textarea {
    padding: 0.6rem; /* Compact padding */
    font-size: 0.8rem; /* Minimal font size */
  }

  #contactForm button {
    padding: 0.6rem; /* Compact button */
    font-size: 0.8rem; /* Minimal font size */
  }
}