/*=========================================================
                    GOOGLE FONT
=========================================================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*=========================================================
                    CSS VARIABLES
=========================================================*/

:root{

    --primary:#0EA5E9;
    --secondary:#06B6D4;
    --accent:#14B8A6;

    --success:#22C55E;
    --warning:#F59E0B;
    --danger:#EF4444;

    --dark:#0F172A;
    --dark-light:#1E293B;

    --white:#FFFFFF;
    --light:#F0F9FF;
    --gray:#64748B;

    --gradient-primary:linear-gradient(135deg,#0EA5E9,#06B6D4);
    --gradient-secondary:linear-gradient(135deg,#14B8A6,#0EA5E9);
    --gradient-bg:linear-gradient(135deg,#0F172A,#0369A1,#0EA5E9);

    --shadow:0 15px 40px rgba(15,23,42,.12);

    --transition:.35s ease;

}

/*=========================================================
                        RESET
=========================================================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:#F8FCFF;

    color:var(--dark);

    overflow-x:hidden;

}

img{

    width:100%;

    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

/*=========================================================
                REUSABLE CLASSES
=========================================================*/

.container{

    width:90%;

    max-width:1280px;

    margin:auto;

}

section{

    padding:90px 0;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:2.5rem;

    margin-bottom:15px;

}

.section-title p{

    color:var(--gray);

    line-height:1.8;

    max-width:700px;

    margin:auto;

}

/*=========================================================
                        HEADER
=========================================================*/

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    background:rgba(3,105,161,.82);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.08);

}

.header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:85px;

}

/*=========================================================
                        LOGO
=========================================================*/

.logo{

    display:flex;

    align-items:center;

    gap:12px;

    color:var(--white);

    font-size:1.45rem;

    font-weight:700;

}

.logo i{

    width:48px;

    height:48px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:15px;

    background:var(--gradient-primary);

}

/*=========================================================
                    NAVIGATION
=========================================================*/

.nav-links{

    display:flex;

    gap:30px;

}

.nav-links a{

    color:var(--white);

    font-weight:500;

    transition:var(--transition);

}

.nav-links a:hover,
.nav-links .active{

    color:#BAE6FD;

}

/*=========================================================
                        HERO
=========================================================*/

.hero{

    min-height:60vh;

    background:var(--gradient-bg);

    display:flex;

    align-items:center;

    padding-top:120px;

    position:relative;

    overflow:hidden;

}

.hero::before{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    border-radius:50%;

    background:rgba(14,165,233,.15);

    top:-140px;

    left:-120px;

}

.hero::after{

    content:"";

    position:absolute;

    width:380px;

    height:380px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    right:-100px;

    bottom:-120px;

}

.hero-container{

    display:grid;

    grid-template-columns:1.4fr .8fr;

    gap:60px;

    align-items:center;

    position:relative;

    z-index:2;

}

.hero-tag{

    display:inline-block;

    padding:12px 25px;

    border-radius:50px;

    background:rgba(255,255,255,.12);

    color:var(--white);

    margin-bottom:25px;

}

.hero-content h1{

    font-size:3.5rem;

    color:var(--white);

    line-height:1.2;

    margin-bottom:20px;

}

.hero-content span{

    color:#BAE6FD;

}

.hero-content p{

    color:#E0F2FE;

    line-height:1.9;

    max-width:620px;

}

/*=========================================================
                    HERO CARD
=========================================================*/

.hero-card{

    background:rgba(255,255,255,.10);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.15);

    border-radius:28px;

    padding:40px;

    text-align:center;

    color:var(--white);

    box-shadow:var(--shadow);

    animation:float 4s ease-in-out infinite;

}

.card-icon{

    width:85px;

    height:85px;

    margin:0 auto 25px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:22px;

    background:var(--gradient-primary);

    font-size:2rem;

}

.hero-card h3{

    color:#BFDBFE;

    margin-bottom:15px;

}

.hero-card h2{

    font-size:2.5rem;

    margin-bottom:12px;

}

.hero-card p{

    color:#BAE6FD;

}

/*=========================================================
                VACATION PLANNER FORM
=========================================================*/

.planner-section{

    background:var(--light);

}

.planner-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:40px;

}

.planner-form{

    background:var(--white);

    padding:40px;

    border-radius:25px;

    box-shadow:var(--shadow);

}

.input-group{

    display:flex;

    flex-direction:column;

    margin-bottom:22px;

}

.input-group label{

    font-weight:600;

    margin-bottom:10px;

}

.input-group input{

    padding:15px 18px;

    border:1px solid #BAE6FD;

    border-radius:14px;

    font-size:1rem;

    transition:var(--transition);

}

.input-group input:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(14,165,233,.15);

}

.calculate-btn{

    width:100%;

    padding:18px;

    border:none;

    border-radius:16px;

    cursor:pointer;

    color:var(--white);

    font-size:1rem;

    font-weight:600;

    background:var(--gradient-primary);

    transition:var(--transition);

}

.calculate-btn:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(14,165,233,.30);

}

/*=========================================================
                    RESULT PANEL
=========================================================*/

.result-panel{

    background:var(--white);

    padding:40px;

    border-radius:25px;

    box-shadow:var(--shadow);

}

.result-header{

    margin-bottom:35px;

}

.result-header h2{

    font-size:2rem;

    color:var(--dark);

    margin-bottom:12px;

}

.result-header p{

    color:var(--gray);

    line-height:1.8;

}

/*=========================================================
                    RESULT GRID
=========================================================*/

.result-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

}

.result-card{

    background:#F0F9FF;

    border:1px solid rgba(14,165,233,.12);

    border-radius:22px;

    padding:28px;

    text-align:center;

    transition:var(--transition);

}

.result-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 35px rgba(15,23,42,.12);

}

.result-icon{

    width:70px;

    height:70px;

    margin:0 auto 18px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:18px;

    background:var(--gradient-primary);

    color:var(--white);

    font-size:1.7rem;

}

.result-card h4{

    color:var(--gray);

    margin-bottom:12px;

}

.result-card h2{

    font-size:2rem;

    color:var(--dark);

}

/*=========================================================
                TRAVEL PLANNING TIPS
=========================================================*/

.planning-tips{

    background:linear-gradient(135deg,#F0F9FF,#FFFFFF);

}

.tips-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.tip-card{

    background:var(--white);

    padding:35px;

    border-radius:24px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.tip-card:hover{

    transform:translateY(-8px);

}

.tip-card i{

    width:80px;

    height:80px;

    margin:0 auto 25px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:20px;

    background:var(--gradient-secondary);

    color:var(--white);

    font-size:2rem;

}

.tip-card h3{

    margin-bottom:18px;

    color:var(--dark);

}

.tip-card p{

    color:var(--gray);

    line-height:1.8;

}

/*=========================================================
                QUICK NAVIGATION
=========================================================*/

.quick-links{

    background:var(--light);

}

.links-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:28px;

}

.tool-card{

    background:var(--white);

    border-radius:24px;

    padding:35px 20px;

    text-align:center;

    color:var(--dark);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.tool-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(14,165,233,.20);

}

.tool-card i{

    width:80px;

    height:80px;

    margin:0 auto 20px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:20px;

    background:var(--gradient-primary);

    color:var(--white);

    font-size:2rem;

}

.tool-card h3{

    font-size:1.15rem;

}

/*=========================================================
                        FOOTER
=========================================================*/

.footer{

    background:#0F172A;

    color:#E0F2FE;

    text-align:center;

    padding:35px 0;

}

.footer p{

    font-size:.95rem;

}

/*=========================================================
                    RESPONSIVE DESIGN
=========================================================*/

@media (max-width:1100px){

    .hero-container,
    .planner-container{

        grid-template-columns:1fr;

    }

    .hero-card{

        max-width:450px;

        margin:40px auto 0;

    }

}


@media (max-width:900px){

    .header .container{

        flex-direction:column;

        gap:20px;

        height:auto;

        padding:20px 0;

    }


    .nav-links{

        flex-wrap:wrap;

        justify-content:center;

        gap:18px;

    }


    .hero{

        padding-top:180px;

    }

}


@media (max-width:768px){

    section{

        padding:70px 0;

    }


    .hero-content h1{

        font-size:2.6rem;

    }


    .section-title h2{

        font-size:2rem;

    }


    .result-grid{

        grid-template-columns:1fr;

    }

}


@media (max-width:576px){

    .container{

        width:92%;

    }


    .hero-content h1{

        font-size:2.2rem;

    }


    .planner-form,
    .result-panel,
    .tip-card,
    .tool-card{

        padding:25px;

    }


    .calculate-btn{

        width:100%;

    }

}


/*=========================================================
                    END OF vacation.css
=========================================================*/

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0);

    }

}