  /* Base styles and variables */
:root {
    --primary-blue: #00b8e6;
    --dark-blue: #003366;
    --black: #000;
    --white: #fff;
    --teal: #00cccc;
    --gold: #d4af37;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: var(--primary-blue);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--primary-blue);
    background-image: linear-gradient(to bottom, #00b8e6, #0099cc);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 5%;
    background-color: rgba(0, 0, 0, 0.95);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 70px; /* Adjust as needed */
  margin-right: 10px;
}


.nav-links {
    display: flex;
    list-style: none;
    transition: var(--transition);
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Search bar styles */
.search-section {
    width: 100%;
    max-width: 1000px;
    margin: 20px 0 40px;
    z-index: 2;
    animation: slideUp 1s ease-out;
}

.search-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.search-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
}

.search-title {
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.search-group {
    display: flex;
    flex-direction: column;
}

.search-label {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.search-input {
    padding: 14px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light-gray);
}

.search-input:focus {
    outline: none;
    border-color: var(--teal);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 204, 204, 0.2);
}

.search-btn {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--teal), var(--dark-blue));
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    height: 10px;
}

.search-btn:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--teal));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Header styles */
header {
    width: 100%;
    text-align: center;
    margin: 80px 0 30px;
    z-index: 2;
    animation: fadeIn 1s ease-out;
}

.header-box {
    display: inline-block;
    background-color: #000080;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Main content styles */
main {
    width: 100%;
    text-align: center;
    z-index: 2;
    max-width: 1200px;
    margin-top: 20px;
}

.tagline {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--black);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    transform: rotate(-5deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: rotateIn 0.8s ease-out;
}

.main-message {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.main-message div {
    margin-bottom: -10px;
    animation: fadeInUp 1s ease-out;
    animation-delay: 0.1s;
}

.main-message div:nth-child(2) {
    animation-delay: 0.2s;
}

.main-message div:nth-child(3) {
    animation-delay: 0.3s;
}

.sub-message {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 400;
    animation: fadeIn 1.5s ease-out;
}

.service-content {
    background-color: var(--white);
    color: var(--dark-blue);
    padding: 15px 20px 20px;
    border-radius: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-content:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-content .service-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.service-content .service-desc {
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.4;
    color: var(--dark-gray);
}

.service-content .service-price {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.service-content .search-btn {
    align-self: stretch;
    background: linear-gradient(135deg, var(--teal), var(--dark-blue));
    color: var(--white);
    border: none;
    padding: 14px 0;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    user-select: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.service-content .search-btn:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--teal));
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}

.image-text-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  padding: 10px 15px;
  border-radius: 8px;
  max-width: 80%;
  font-family: 'Montserrat', sans-serif;
  user-select: none;
  pointer-events: none; /* so buttons below are clickable */
}

.image-text-overlay h3 {
  margin: 0 0 5px 0;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.1;
}

.image-text-overlay p {
  margin: 0;
  font-weight: 500;
  font-size: 0.9rem;
}


/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    width: 100%;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-out;
}

.service-link {
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
}

.service-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 220px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    cursor: pointer;
}

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--teal);
    padding: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 1;
    border-radius: 20px 20px 0 0;
    transition: var(--transition);
    color: white;
}

.service-item:hover .service-title {
    background-color: var(--gold);
}

.service-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.service-item:hover .service-image {
    transform: scale(1.1);
}

/* Individual service backgrounds with gradients as placeholders */
.hotel {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

.flight .service-image {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

.apartment .service-image {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

.event .service-image {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1533174072545-7a4b6ad7a6c3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

.car .service-image {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

/* Curtain elements */
.curtain {
    position: absolute;
    top: 0;
    width: 150px;
    height: 400px;
    background-color: #003366;
    z-index: 1;
    opacity: 0.8;
}

.curtain.left {
    left: 0;
    border-radius: 0 0 50% 0;
}

.curtain.right {
    right: 0;
    border-radius: 0 0 0 50%;
}

/* Confetti animation */
.confetti {
    position: absolute;
    opacity: 0.6;
    border-radius: 50%;
    animation: fall 5s linear infinite;
    z-index: 0;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
        opacity: 0;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-15deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(-5deg) scale(1);
    }
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    max-width: 1200px;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.image-gallery {
  position: relative;
  width: 80%;
  height: 500px; /* Increased from 180px */
}

.image-gallery img.gallery-img {
  position: absolute;
  width: 80%;
  height: 500px; /* Increased from 180px */
  object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  border-radius: 20px 20px 0 0;
  user-select: none;
}

.image-gallery img.gallery-img.active {
  opacity: 1;
  position: relative;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.2rem;
  user-select: none;
  z-index: 10;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}


.footer-section p, .footer-section a {
    color: var(--white);
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-5px);
}

.copyright {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-item:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .main-message {
        font-size: 4rem;
    }
    
    .navbar {
        padding: 12px 5%;
    }
    
    .nav-links li {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-item:last-child {
        grid-column: span 2;
    }
    
    .main-message {
        font-size: 3.5rem;
    }
    
    .curtain {
        width: 100px;
        height: 300px;
    }
    
    .header-box {
        font-size: 1.8rem;
    }
    
    .navbar {
        padding: 10px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item:last-child {
        grid-column: span 1;
    }
    
    .main-message {
        font-size: 2.8rem;
    }
    
    .header-box {
        font-size: 1.5rem;
        padding: 10px 20px;
    }
    
    .curtain {
        width: 70px;
        height: 200px;
    }
    
    .tagline {
        font-size: 1.4rem;
    }
    
    .sub-message {
        font-size: 1.2rem;
    }
    
    .nav-links {
        width: 100%;
    }
    
    .main-message div {
        margin-bottom: -5px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}