html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
body{
    background-color: #DBC2A6;
    color:#414A37;
    margin:0;
    padding:0;
    font-family: 'poppins',sans-serif;
}
header {
    background-color: #414A37;
    position: sticky;
    top: 0;
}
nav{
    display:flex; 
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem; 
    max-width: 1200px;
    margin: 0 auto; 
}
#heading{
    color: #DBC2A6;
    font-weight: 600;
}
#navigation{
    display: flex;
    gap:2rem;  
} 
.navbar{
    text-decoration: none;
    color: #DBC2A6;
    font-size: 1rem;
    font-weight: 300;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}
.navbar::after {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #DBC2A6;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.navbar:hover {
    color: #FFFFFF; 
}

.navbar:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
    text-align: center;
}

.contact-header {
    max-width: 600px;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: #635034;
    line-height: 1.7;
}

.contact-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-direction: row;
}

.contact-card {
    background-color: #414A37;
    color: #DBC2A6;
    text-decoration: none;
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-card svg {
    stroke: #DBC2A6;
    width: 28px;
    height: 28px;
}

.contact-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate{
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.contact-header.animate-{ animation-delay: 0.2s; }
.contact-card:nth-of-type(1) { animation-delay: 0.4s; }
.contact-card:nth-of-type(2) { animation-delay: 0.6s; }
.contact-card:nth-of-type(3) { animation-delay: 0.8s; }

@media (max-width: 768px) {
    .contact-container {
        width: 100%;
        max-width: 350px;
    }

    .contact-card {
        justify-content: center; 
    }
}
footer {
    background-color:#414A37;
    color:#DBC2A6;
    padding: 2rem;
    text-align: center;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links a {
    color: #DBC2A6;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #FFFFFF;
}
@media (max-width: 768px) {
    .footer-content {
         flex-direction: column; gap: 1rem; }
    #navigation {
        display: none;
        position: fixed;
        top: 70px;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(65, 74, 55, 0.95);
        backdrop-filter: blur(5px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
}
/*made using chatgpt */

.nav-toggle {
    display: none;
}

@media (max-width: 768px) {
    .hamburger-button {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: none;
        border: none;
    }
    .hamburger-line {
        width: 25px;
        height: 3px;
        background-color: #DBC2A6;
        border-radius: 3px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .nav-toggle:checked ~ #navigation {
        display: flex;
        transform: translateX(0);
    }
    .nav-toggle:checked + .hamburger-button .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle:checked + .hamburger-button .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle:checked + .hamburger-button .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
