* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "titillium web", sans-serif;
}

html {
    scroll-behavior: smooth;
}

nav {
    display: flex;
    align-items: center;
    /* everything shares the same vertical middle */
    justify-content: space-between;
    position: fixed;
    /* stays on top while scrolling */
    top: 0;
    padding: 0;
    margin: 0;
    left: 0;
    width: 100%;
    /* cover full width */
    background-color: #595B42;
    /* your navbar color */
    z-index: 1000;
    /* make sure it’s above everything */
}

.navbar {
    border-top: #1E261E 4px solid;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #1E261E;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    z-index: 1000;
    width: 100%;
    top: 0;
    height: 64px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #1E261E;
}

.navlinks {
    display: flex;
    align-items: center;
    /* keeps links centered with the button */
    list-style: none;
    gap: 16px;
    /* adjust spacing */
    color: #C1B6A4;
    flex-shrink: 0;
    /* prevent squishing */
    white-space: nowrap;
    /* keep text in one line */
}

.navlinks li a {
    display: flex;
    text-decoration: none;
    color: #A48D65;
    font-weight: 600;
    transition: color 0.3s ease;
    border-radius: 50px;
    padding: 8px 20px;
    margin: 0 10px;
    position: relative;
    flex-shrink: 0;
    /* prevent squishing */
    white-space: nowrap;
    /* keep text in one line */
}

.navlinks li a:hover {
    color: #844F1D
}

.navlinks ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.btn {
    background-color: #844F1D;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    /* makes sure text inside is centered */
    align-items: center;
    /* centers text vertically */
    margin-left: 16px;
    /* keeps spacing from last link */
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1;
}

.bt {
    background-color: #A48D65;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    /* makes sure text inside is centered */
    align-items: center;
    /* centers text vertically */
    margin-left: 16px;
    /* keeps spacing from last link */
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1;
    flex-shrink: 0;
    /* prevent squishing */
    white-space: nowrap;
    /* keep text in one line */
}

.bt:hover {
    transition: all 0.5s ease;
    background-color: #E3D2B9;
    color: #1E261E;

}

.btn:hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(1.09);
    /* makes it 10% bigger */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    /* optional for that "lifted" feel */
}

.hero-section {
    display: flex;
    /* put left + right next to each other */
    align-items: center;
    /* vertically center them */
    justify-content: space-between;
    /* give them breathing space */
    padding: 60px 10%;
    /* spacing inside the hero */
    gap: 40px;
    /* space between left + right */
}

.hero-left {
    flex: 1;
    /* take equal space with the right */
    align-items: center;
    /* centers text + button */
    text-align: justify;
    /* makes headline + subtext centered */
}

.hero-left a {
    margin-top: 20px;
    /* space from text */
    display: inline-block;
    /* so margin works */
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    /* center image inside */
}

.hero-right img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    /* optional */
}

body {
    background-color: #E3D2B9;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Creates two equal-width columns */
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    /* This centers the container on the page */
}

.card {
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: center;
}

.logo {
    font-family: 'Elsie', cursive;
    color: #000000;
    font-size: 28px;
    font-weight: 900;
}

.card p {
    line-height: 1.6;
    font-size: 0.95em;
}

/* Hide menu on mobile */
.hamburger {
    display: none;
    /* hide on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #F7C59F;
    /* make it visible */
    border-radius: 3px;
    transition: 0.3s;
}

@media (max-width: 850px) {
    .hamburger {
        display: flex;
        /* show on mobile */
    }

    .navlinks {
        display: none;
        flex-direction: column;
        background-color: #595B42;
        position: absolute;
        top: 64px;
        right: 0;
        width: 70%;
        padding: 20px;
        border-radius: 0 0 0 12px;
    }

    .navlinks.active {
        display: flex;
    }
}



.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navlinks li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #F7C59F;
    transition: width 0.3s;
}

.navlinks li a:hover::after {
    width: 100%;
}