 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   }

body {
    font-family: 'Roboto', sans-serif;
    background-color: #e0e5e9;
    color: #333;
    line-height: 1.6;
   }

h1, h3 {
    font-family: 'Ramabhadra', sans-serif;
    color: #e0e5e9;
   }
   h2 {
    color: #004e64;
   }

section {
    padding: 60px 10%;
   }
html {
    scroll-behavior: smooth;
}
        
/* NAVBAR */

nav {
    background-color: #004e64;
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    }

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    }

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold; 
    transition: 0.3s; 
    }

nav a:hover {
    color: #00141a;
    }

       
  /* HERO SECTION  */
.hero {
   text-align: center;
   padding: 80px 20px;
   animation: fadeIn 2s ease-in-out;
    }

.hero h1 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #004e64;
    } 

.hero p {
    font-size: 18px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    }
/* FEATURED CITIES */
 .featured-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.flip-card {
    width: 550px;   
    height: 400px;  
    perspective: 1000px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    backface-visibility: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    padding: 10px;
}

.flip-card-front {
    background: linear-gradient(135deg, #004e64, #007991);
    color: #e0e5e9;
    justify-content: center;   
    align-items: center;        
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}

.flip-card-back {
    background: #f4f7f9;
    color: #004e64;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.flip-card-back img {
    width: 100%;
    height: 75%;
    object-fit: cover;   
    background: white;
    border-radius: 10px;
}
.flip-card-back p {
    padding: 15px;
    font-size: 14px;
    flex-grow: 1;
}

.more-btn {
    text-decoration: none;
    background: #00a8c6;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
}

.more-btn:hover {
    background: #006579;
}
.flip-card:hover {
    box-shadow: 0 0 15px #00869efd;
}       

 /* gallerycard */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);;
    gap: 30px;
    margin-top: 30px;
}

.city-card-wrapper {
    text-align: center;
}

.city-name {
    margin-bottom: 10px;
    font-size: 18px;
    color: #004e64;
    transition: 0.3s;
}

.gallery-card {
    border: 3px solid #004e64;
    border-radius: 12px;
    padding: 10px;
    height: 220px;        
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;      
    transition: 0.3s;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;     
    border-radius: 8px;
}
.city-card-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #0091aa;
}
.city-card-wrapper:hover .city-name {
    color: #0091aa;
    transform: translateY(-3px);
}
.city-info {
    margin-top: 8px;
    font-size: 16px;                                        
    color: #333;
}

.city-day {
    background-color: #004e64;
    padding: 40px;
    border-radius: 12px;
    overflow: hidden;
}


.slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    margin: auto;
}


.slider::-webkit-scrollbar {
    display: none;
}

.slide {
    position: relative;
    min-width: 100%;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: 0.4s;
}

.slide:hover img {
    transform: scale(1.1);
}

.slide:hover .overlay {
    transform: translateY(0);
}

#city {
    padding: 60px 40px;
}

#city h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #004e64;   
}

 /* FORM */
     
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    }

input, textarea {
    padding: 10px;
    border: 2px solid #004e64;
    border-radius: 6px;
    transition: 0.3s;
    }

input:focus, textarea:focus {
    outline: none;
    border-color: #0091aa;
    box-shadow: 0 0 8px #007991;
    }

button {
    padding: 10px;
    background-color: #004e64;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    }

button:hover {
    background-color: #001b23;
    }

form input, form select {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 1px;
    margin-bottom: 10px;
    border-radius: 7px;
    border: 2px solid #004e64;
    font-size: 15px;
    }

form label {
    font-weight: bold;
    margin-top: 10px;
    }

    #contact {
    background: linear-gradient(135deg, #f4f7f9, #e0e5e9);
    text-align: center;
}

#contact .box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

#contact h2 {
    font-size: 32px;
    margin-bottom: 25px;
}
h2 {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}
p {
    margin-bottom: 15px;
}

        
/* FOOTER */

/* footer {
    text-align: center;
    padding: 20px;
    background-color: #004e64;
    color: white;
    } */

    footer {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #004e64, #001b23);
    color: white;
    font-size: 14px;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
    }

