/*Reset*/
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
:root{
    --bg-dark: #081420;       
    --bg-secondary: #10263f;   
    --teal: #14B8A6;         
    --gold: #D4AF37;
    --text: #F8FAFC;
    --gray: #94A3B8;
}
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background: #081420;
    border-bottom: 1px solid rgba(20,184,166,0.2);
}

body{
    font-family: 'Poppins', sans-serif;
    background: #040d13;
    color : white;
}
.logo{
    display: flex;
    align-items: center;
    gap : 12px;
}

.way-logo{
    width:300px;
    height: 65px;
    margin-right: 8px;
    object-fit: contain;
    display:block;
    flex-shrink: 0;
}

.logo h1{
    margin:0;
    font-size: 42px;
    line-height:1;
}

.nav-links{
    display : flex;
    gap : 30px;
    list-style: none;
    align-items: center;
    margin-left: auto;
}

.nav-links a{
    position:relative;
    text-decoration: none;
    color: white;
    font-size: 17px;
    font-weight: 500;
    transition: 0.3 ease;
}

.nav-links a::after{
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 50%;
    bottom: -7px;
    background: var(--teal);
    transition: 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover{
    color: var(--teal);
}

.nav-links a:hover{
    color: var(--teal);
}

.nav-links a:hover::after{
    
    width: 100%;

}

.theme-btn{
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
}

.hero{
    min-height: clamp(550px,75vh,700px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: auto;
    background : linear-gradient(rgba(11,29,38,0.65),rgba(11,29,38,0.9)),url("moun.jpg");
    background-size: cover;
    text-align: center;
    padding: 100px 20px;
}
.hero h1{
    font-size: clamp(3rem,6vw,5rem);
    color: white;
    text-shadow: 0 0 20px rgba(0,0,0,0.6);
    margin-bottom: 20px;
}
.hero h1 span{
    color: #D4AF37;
}

.hero p{
    font-size : 18px;
    color: #cbd5e1;
    max-width: 700px;
    margin: auto;
}

.search-bar{
    background: white;
    border-radius: 50px;
    padding: 10px;
    width:500px;
    display: flex;
    margin: 30px auto;
    max-width: 100%;
    height: 60px;
}
.search-bar input{
    flex: 1;
    border: none;
    outline: none;
    padding : 10px 20px;
    border-radius: 30px 0 0 30px;
    font-size: 17px;
}
.search-bar button{
    cursor: pointer;
    border:none;
    padding: 0 25px;
    background:#14B8A6;
    color:white;
    border-radius: 30px;
    width: 60px;
    font-size: 18px;
}
.search-bar input::placeholder{
    color: rgb(8, 23, 36);
}
.search-bar input:focus{
    box-shadow: 0 0 10px rgba(13, 42, 75, 0.733);
}

.search-bar button{
    cursor:pointer;
    color:white;
    border: none;
    width: 65px;
    border-radius: 30px;
    transition: 0.35s ease;
    background: #14B8A6;
    box-shadow: 0 10px 25px rgba(20,184,166,0.25);
}

.search-bar:hover{
    box-shadow:0 0 25px rgba(20,184,166,.3);

}

.search-bar button:hover{
    background:#0f9b8a;
}

.Destination-categories{
    text-align:center;
    padding:50px;
    background:transparent;
}

.Destination-categories h2{
    font-size: 40px;
    color: white;
    
}

.cards-container{
    display : flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    
}
.card{
    width: 220px;
    min-height: 180px;
    padding: 30px 20px;
    background:#10263f;
    border:1px solid rgba(20,184,166,0.2);
    border-radius: 20px;
    text-align: center;
    transition: 0.3s ease;
}
.card p{
    color: #cbd5e1;
}

.card:hover{
    transform: translateY(-10px);
    border-color: #14B8A6;
    box-shadow: 0 18px 35px rgba(20,184,166,0.25);
}

.card h3{
    font-size: 22px;
    margin-bottom: 12px;
    color: #D4AF37;
}

.card:active{
    transform: scale(0.97);
}

#destination-container{
    width: 90%;
    margin: 50px auto;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.destination-card{
    width: 280px;
    background:#10263f;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: 0.35s ease;
    cursor: pointer;
}

.destination-card.selected{
    border: 3px solid #D4AF37;
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(212,175,55,0.45);
}

.destination-card:hover{
    transform: translateY(-12px);
    box-shadow: 0 18px 40px rgba(20,184,166,0.25);
}

.destination-card img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: 0.4s ease;
}

.destination-card:hover img{
    transform: scale(1.08);
}

.destination-card h4{
    margin: 15px;
    color: #D4AF37;
}

.destination-card p{
    margin: 10px 15px;
    color: #E2E8F0;
}

.Destination-categories{
    padding: 80px 50px;
}

.planner-section{
    width:85%;
    margin:80px auto;
    padding:45px;
    background:linear-gradient(135deg,#081420,#0B1F3A,#123B4A);
    border-radius:25px;
    border:1px solid rgba(20,184,166,.25);
    box-shadow:0 20px 45px rgba(0,0,0,.35);
}

.planner-section h2{
    text-align:center;
    color:#D4AF37;
    margin-bottom:35px;
    font-size:34px;
}

#plannerForm{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.form-row{
    display:grid;
    grid-template-columns:220px 1fr;
    gap:20px;
    align-items:center;
}

.form-row label{
    color:#D4AF37;
    font-size:17px;
    font-weight:600;
}

.form-row input,
.form-row select{
    width:100%;
    padding:14px 18px;
    background:#10263f;
    color:white;
    border:1px solid rgba(20,184,166,.35);
    border-radius:10px;
    font-size:16px;
    outline:none;
    transition:.3s;
}

.form-row input:focus,
.form-row select:focus{
    border-color:#14B8A6;
    box-shadow:0 0 12px rgba(20,184,166,.35);
}

#plannerForm button{
    width:260px;
    margin-left:240px;
    margin-top:15px;
    padding:15px;
    background:#D4AF37;
    color:#081420;
    border:none;
    border-radius:12px;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

#plannerForm button:hover{
    background:#FFD54F;
    transform:translateY(-3px);
}

.recommendation-card{
    margin-top:35px;
    padding:25px;
    border-radius:15px;
    background:#10263f;
    border-left:5px solid #D4AF37;
    color:white;
    box-shadow:0 15px 35px rgba(0,0,0,.3);
}

.recommendation-card h2{
    color:#D4AF37;
}

.recommendation-card h3{
    color:#14B8A6;
}

#plannerResult{
    margin-top:30px;
}

/* Responsive */

@media(max-width:768px){

    .planner-section{
        width:95%;
        padding:25px;
    }

    .form-row{
        grid-template-columns:1fr;
        gap:10px;
    }

    #plannerForm button{
        margin-left:0;
        width:100%;
    }

}

.recommendation-card{

    margin-top:30px;
    padding:25px;
    border-radius:15px;
    background:#10263f;
    border-left: 5px solid #D4AF37;
    color : white;
    box-shadow:0 15px 35px rgba(0,0,0,0.3);
    transition:.35s ease;

}

.recommendation-card h2{

     color:#D4AF37;

}

.recommendation-card h3{

     color:#14B8A6;

}

#selectedPlace{
    grid-column: 1/3;
    text-align: center;
    margin: 10px;
    color: #D4AF37;
    font-weight: 600;
}

.success-message{
    margin-top:20px;
    padding:15px;
    background:rgba(20,184,166,0.15);
    border:1px solid #14B8A6;
    border-radius:10px;
    color:#14B8A6;
    text-align:center;
    font-weight:600;
}
.light-theme {
    background: #f8fafc;
    color: #081420;
}

.light-theme .header {
    background: #ffffff;
    border-bottom: 1px solid #d1d5db;
}

.light-theme .nav-links a {
    color: #081420;
}

.light-theme .card,
.light-theme .destination-card,
.light-theme .planner-section,
.light-theme .recommendation-card {
    background: #ffffff;
    color: #081420;
}

.light-theme .card p,
.light-theme .destination-card p {
    color: #334155;
}

.light-theme .hero {
    color: white; /* hero text readable rahe */
}

.contact-section {
    padding: 80px 50px;
    text-align: center;
    background: var(--bg-dark);
}

.contact-section h2 {
    font-size: 38px;
    color: var(--gold);
    margin-bottom: 15px;
}

.contact-intro {
    max-width: 650px;
    margin: 0 auto 40px;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.7;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-card {
    width: 260px;
    padding: 30px 20px;
    background: var(--bg-secondary);
    border: 1px solid rgba(20,184,166,0.2);
    border-radius: 18px;
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--teal);
    box-shadow: 0 15px 30px rgba(20,184,166,0.2);
}

.contact-card h3 {
    color: var(--teal);
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--gray);
}

html{
    scroll-behavior: smooth;
}