﻿/* ======================================
   MyTripNote Website
====================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:Arial, Helvetica, sans-serif;

    background:#07182d;

    color:white;

    line-height:1.6;

}

/* ======================================
   Common
====================================== */

.container{

    width:90%;
    max-width:1300px;

    margin:auto;

}

h1,h2,h3{

    font-weight:600;

}

img{

    display:block;

    max-width:100%;

}

/* ======================================
   Header
====================================== */

header{

    position:sticky;

    top:0;

    background:#0a223d;

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:999;

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}

.logo-area{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo{

    width:60px;

}

.logo-area h1{

    color:#59c9ff;

    font-size:32px;

}

.subtitle{

    color:#cdefff;

    font-size:15px;

}

nav{

    display:flex;

    gap:25px;

}

nav a{

    color:white;

    text-decoration:none;

    transition:.3s;

}

nav a:hover{

    color:#59c9ff;

}

/* ======================================
   Hero
====================================== */

.hero{

    text-align:center;

    padding:90px 20px;

}

.hero h2{

    font-size:54px;

    color:#59c9ff;

    margin-bottom:20px;

}

.hero p{

    max-width:700px;

    margin:auto;

    font-size:20px;

    color:#dcefff;

}

.button{

    display:inline-block;

    margin-top:35px;

    padding:14px 40px;

    border-radius:30px;

    background:#2faeff;

    color:white;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

.button:hover{

    background:#0d92f0;

}

/* ======================================
   Preview
====================================== */

.preview{

    padding:70px 0;

}

.preview h2{

    text-align:center;

    margin-bottom:40px;

    color:#59c9ff;

}

.cards{

    display:flex;

    gap:30px;

    justify-content:center;

    flex-wrap:wrap;

}

.card{

    width:350px;

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    transition:.3s;

}

.card:hover{

    transform:translateY(-8px);

}

.card img{

    width:100%;

}

.card h3{

    color:#222;

    text-align:center;

    margin:20px 0 10px;

}

.card p{

    color:#555;

    text-align:center;

    padding:0 20px 25px;

}

/* ======================================
   Features
====================================== */

.features{

    padding:80px 0;

}

.features h2{

    text-align:center;

    margin-bottom:45px;

    color:#59c9ff;

}

.feature-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:25px;

}

.feature{

    background:white;

    color:#333;

    padding:30px;

    border-radius:18px;

    box-shadow:0 8px 20px rgba(0,0,0,.2);

}

.feature h3{

    margin-bottom:15px;

    color:#0078d7;

}

/* ======================================
   Footer
====================================== */

footer{

    margin-top:60px;

    padding:35px 20px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-links{

    margin-top:12px;

}

.footer-links a{

    color:#59c9ff;

    text-decoration:none;

    margin:0 8px;

}

.footer-links span{

    color:#888;

}

/* ======================================
   Responsive
====================================== */

@media(max-width:900px){

    header .container{

        flex-direction:column;

        gap:20px;

    }

    nav{

        flex-wrap:wrap;

        justify-content:center;

    }

    .hero h2{

        font-size:38px;

    }

    .hero p{

        font-size:18px;

    }

}

@media(max-width:600px){

    .logo{

        width:50px;

    }

    .logo-area h1{

        font-size:26px;

    }

    .hero{

        padding:60px 20px;

    }

    .hero h2{

        font-size:30px;

    }

    .card{

        width:100%;

    }

}