*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#5a382f;
    font-family:'Manrope', sans-serif;
    color:#3f241d;
    overflow-x:hidden;
}

/* PAGE */
.page{
    width:88%;
    max-width:1200px;
    margin:auto;
    background:#f7f1ed;
    min-height:100vh;
    border-left:8px solid #e7d6ca;
    border-right:8px solid #e7d6ca;
    transform:scale(0.92);
    transform-origin:top center;
}

/* NAV */
.topbar{
    padding:28px 45px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    border-bottom:1px solid #dbc9be;
    background:#efe2d6;
}

.logo{
    font-family:'Parisienne', cursive;
    font-size:2.8rem;
    color:#3d241c;
}

nav{
    display:flex;
    gap:28px;
    flex-wrap:wrap;
}

nav a{
    text-decoration:none;
    color:#4b2f27;
    font-size:0.92rem;
    letter-spacing:2px;
    text-transform:lowercase;
    transition:0.3s;
}

nav a:hover{
    opacity:0.5;
}

/* HERO */
.hero{
    padding:80px 30px 90px;
    text-align:center;
    max-width:850px;
    margin:auto;
}

.small-text{
    text-transform:uppercase;
    letter-spacing:5px;
    font-size:0.72rem;
    color:#8a6b61;
    margin-bottom:22px;
}

.hero h1{
    font-family:'Parisienne', cursive;
    font-size:4.8rem;
    font-weight:400;
    line-height:1;
    margin-bottom:28px;
    color:#3d241c;
}

.intro{
    font-size:1.05rem;
    line-height:2;
    max-width:680px;
    margin:auto;
    color:#5b4037;
}

/* BUTTONS */
.button-group{
    margin-top:38px;
    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
}

.button-link{
    display:inline-block;
    background:#4a2d25;
    color:white;
    text-decoration:none;
    padding:14px 28px;
    border-radius:100px;
    font-size:0.9rem;
    letter-spacing:1px;
    transition:0.3s;
}

.button-link:hover{
    transform:translateY(-3px);
    opacity:0.9;
}

/* ENTRIES */
.entries{
    padding:0 60px 90px;
}

.entries h2{
    text-align:center;
    font-family:'Parisienne', cursive;
    font-size:3.8rem;
    margin-bottom:50px;
}

/* CARDS GRID */
.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:28px;
}

/* SINGLE CLEAN CARD (FIXED) */
.card{
    display:flex;
    flex-direction:column;
    text-decoration:none;
    background:#fffaf7;
    border-radius:28px;
    overflow:hidden;
    border:1px solid #e2d4cb;
    transition:0.3s;
    min-height:340px;
}

.card img{
    width:100%;
    height:190px;
    object-fit:cover;
    display:block;
}

.card-info{
    padding:16px 18px 20px;
}

.card-info h3{
    font-size:1rem;
    font-weight:600;
    margin-bottom:6px;
    color:#3d241c;
}

.card-info p{
    font-size:0.75rem;
    color:#8a6b61;
    text-transform:lowercase;
    letter-spacing:1px;
}

.card:hover{
    transform:translateY(-4px);
}

/* NOTE SECTION */
.note-area{
    padding:40px 40px 110px;
}

.note-box{
    max-width:850px;
    margin:auto;
    background:#efe4dc;
    border-radius:35px;
    padding:55px;
    text-align:center;
}

.note-box h3{
    font-family:'Parisienne', cursive;
    font-size:4rem;
    margin-bottom:20px;
}

.note-box p{
    font-size:1.05rem;
    line-height:2;
    color:#5b4037;
}

/* FOOTER */
footer{
    background:#ead8cc;
    text-align:center;
    padding:40px 20px;
    border-top:1px solid #d8c4b8;
}

.footer-main{
    font-size:1rem;
    margin-bottom:10px;
    color:#4a2e26;
}

.footer-small{
    font-size:0.75rem;
    color:#6f564c;
    opacity:0.8;
}

/* MOBILE */
@media(max-width:768px){

    .topbar{
        justify-content:center;
        gap:18px;
    }

    .logo{
        font-size:2.5rem;
    }

    nav{
        justify-content:center;
    }

    .hero h1{
        font-size:3.8rem;
    }

    .page{
        transform:none;
    }

    .note-box{
        padding:40px 25px;
    }
}
.entry-block{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;

    margin-bottom:70px;
}

/* text side */
.entry-block .text{
    flex:1;
    font-size:1.05rem;
    line-height:2;
    color:#5b4037;
}

/* image side */
.entry-block img{
    width:40%;
    border-radius:20px;
    object-fit:cover;
}

/* MOBILE FIX */
@media(max-width:768px){
    .entry-block{
        flex-direction:column;
        text-align:center;
    }

    .entry-block img{
        width:90%;
    }
}
.card img{
    height:180px;
    object-fit:cover;
}

.card{
    border-radius:30px;
    overflow:hidden;
}

/* GUESTBOOK FORM */

.note-box form{
    margin-top:30px;

    display:flex;
    flex-direction:column;
    gap:16px;
}

/* INPUTS */

.note-box input,
.note-box textarea{

    width:100%;

    padding:16px 18px;

    border:none;

    border-radius:22px;

    background:#fff8f4;

    color:#4b2f27;

    font-size:0.95rem;

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

    border:1px solid #e6d6cc;

    transition:0.3s;
}

/* TEXTAREA */

.note-box textarea{

    min-height:180px;

    resize:vertical;

    line-height:1.8;
}

/* PLACEHOLDER TEXT */

.note-box input::placeholder,
.note-box textarea::placeholder{

    color:#9a7d73;

    letter-spacing:0.5px;
}

/* FOCUS EFFECT */

.note-box input:focus,
.note-box textarea:focus{

    outline:none;

    border:1px solid #8b5e4f;

    background:#fffdfb;

    box-shadow:0 0 0 4px rgba(139,94,79,0.08);
}

/* BUTTON */

.note-box button{

    align-self:center;

    margin-top:10px;
}

/* DESCRIPTION TEXT */

.guestbook-text{

    max-width:650px;

    margin:0 auto 10px;

    line-height:2;

    color:#5b4037;
}

/* GUESTBOOK SUBMIT BUTTON */

.guestbook-button{

    background:#4a2d25;

    color:white;

    border:none;

    padding:14px 28px;

    border-radius:100px;

    font-size:0.9rem;

    letter-spacing:1px;

    cursor:pointer;

    transition:0.3s;

    font-family:'Manrope', sans-serif;
}

.guestbook-button:hover{

    transform:translateY(-3px);

    opacity:0.9;
}