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

body {
    font-family: "Segoe UI", sans-serif;
    color: #000000;
    background-color: #f8f3f1;
}
/************************************************************** HOME **************************************************************/
/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
.site-header {
    background: #6b4b3a;
    padding: 1rem 0;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 50px;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(
        rgba(243, 222, 222, 2.0),
        rgba(243, 222, 222, 0.5)
    ),
    url("/pictures/landingpage.PNG") no-repeat center/cover;

    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #6b4b3a;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-info {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-info li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
}

/************************************************************** ABOUT **************************************************************/

/* Section */
.custom-bakes {
    padding: 4rem 0;
    background: #f8f3f1;
}

/* Layout */
.custom-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about{
    display: none;
}
/* Text */
.custom-text h2 {
    font-family: Georgia, serif;
    font-size: 3rem;
    color: #6b4b3a;
    margin-bottom: 1.5rem;
}

.custom-text p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: #5a4634;
}

/* Images */
.custom-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.custom-images img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 900px) {
    .custom-grid {
        grid-template-columns: 1fr;
    }

    .custom-text h2 {
        font-size: 2.2rem;
    }

    .custom-images {
        grid-auto-rows: 100px;
    }
}

/************************************************************** CONTACT **************************************************************/

/* Section */
.contact {
    padding: 4rem 0;
    background: #f8f3f1;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: Georgia, serif;
    color: #6b4b3a;
    font-size: 2.5rem;
}

.section-header p {
    color: #5a4634;
}

/* Form */
.contact-form {
    max-width: 500px;
    margin: auto;
}

.form-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

/* Button */
.btn {
    display: inline-block;
    background: #7a5c44;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

/* Popup */
.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 300px;
}

/* Show popup */
.popup.show {
    display: flex;
}

/************************************************************** Project **************************************************************/

.projects {
    padding: 4rem 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: Georgia, serif;
    font-size: 2.5rem;
    color: #6b4b3a;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: #f8f3f1;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 1rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: #6b4b3a;
}

/************************************************************** testimonials **************************************************************/


.testimonials {
    padding: 4rem 0;
    background: #f3dede;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    font-style: italic;
}

.testimonial-card blockquote {
    margin-bottom: 1rem;
}

.testimonial-card figcaption {
    font-style: normal;
    font-weight: 500;
    color: #6b4b3a;
}

/************************************************************** footer **************************************************************/

.site-footer {
    background: #6b4b3a;
    color: #fff;
    text-align: center;
    padding-top: 1.5rem;
}

/* Nav */
.footer-nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-nav a {
    text-decoration: none;
    color: #fff;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    opacity: 0.7;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 1rem 0;
    font-size: 0.85rem;
}


/************************************************************** Experience **************************************************************/

.timeline {
            padding: 4rem 0 5rem;
            background: #fef8f4;
            margin-top: 1rem;
        }

        .section-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .section-header h1 {
            font-family: Georgia, serif;
            font-size: 2.8rem;
            color: #5f3e2c;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .section-header p {
            font-size: 1.15rem;
            color: #8c6b54;
            letter-spacing: 0.3px;
        }

        .timeline-wrapper {
            overflow-x: auto;
            padding: 1rem 0 2rem 0;
            scrollbar-width: thin;
            scrollbar-color: #c9ab94 #f3e4db;
        }

        .timeline-wrapper::-webkit-scrollbar {
            height: 8px;
        }

        .timeline-wrapper::-webkit-scrollbar-track {
            background: #f3e4db;
            border-radius: 12px;
        }

        .timeline-wrapper::-webkit-scrollbar-thumb {
            background: #c9ab94;
            border-radius: 12px;
        }

        /* timeline flex container */
        .timeline-list {
            display: flex;
            gap: 2.5rem;
            list-style: none;
            position: relative;
            padding: 2rem 1rem 2rem 1.5rem;
            margin: 0;
            min-width: max-content;
        }

        /* The horizontal line */
        .timeline-list::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, #decbbd, #c6a68b, #decbbd);
            transform: translateY(-50%);
            z-index: 0;
            border-radius: 4px;
        }

        /* Each timeline item */
        .timeline-item {
            position: relative;
            min-width: 260px;
            max-width: 290px;
            z-index: 2;
        }

        /* Dot on the line  */
        .timeline-item::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 0;
            width: 18px;
            height: 18px;
            background: #7c5d48;
            border: 3px solid #fef3ec;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            z-index: 5;
            transition: all 0.2s ease;
        }

        /* Card content styling */
        .timeline-content {
            background: #ffffff;
            padding: 1.6rem;
            border-radius: 24px;
            box-shadow: 0 12px 22px -12px rgba(82, 49, 32, 0.12);
            transition: transform 0.2s, box-shadow 0.2s;
            border: 1px solid #f0dfd4;
            margin-top: 2.2rem;
        }

        .timeline-item:nth-child(odd) .timeline-content {
            margin-top: 1.8rem;
            margin-bottom: 0;
        }

        .timeline-item:nth-child(even) .timeline-content {
            margin-top: -3.8rem;
            margin-bottom: 1rem;
        }

        /* Hover effect for cards */
        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 28px -14px rgba(99, 57, 34, 0.2);
            background: #fffcf9;
        }

        .timeline-content time {
            font-size: 0.82rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #b2815c;
            display: inline-block;
            background: #f9ede5;
            padding: 0.2rem 1rem;
            border-radius: 40px;
            margin-bottom: 0.9rem;
        }

        .timeline-content h2 {
            font-size: 1.3rem;
            font-weight: 600;
            margin: 0.4rem 0 0.7rem 0;
            color: #5c3d2b;
            font-family: Georgia, serif;
        }

        .timeline-content p {
            font-size: 0.95rem;
            color: #5d4536;
            line-height: 1.45;
        }

        /* Responsive */
        @media (max-width: 820px) {
            .timeline-item {
                min-width: 240px;
            }
            .timeline-item:nth-child(even) .timeline-content {
                margin-top: -3.2rem;
            }
            .timeline-content {
                padding: 1.2rem;
            }
        }

        @media (max-width: 640px) {
            .container {
                padding: 0 1.2rem;
            }
            .timeline-list {
                gap: 1.8rem;
                padding-left: 0.8rem;
            }
            .timeline-item {
                min-width: 220px;
            }
            .timeline-item:nth-child(even) .timeline-content {
                margin-top: -2.6rem;
            }
            .timeline-content h2 {
                font-size: 1.1rem;
            }
            .section-header h1 {
                font-size: 2.2rem;
            }
            .custom-text h2 {
                font-size: 1.6rem;
            }
            .nav-container {
                flex-direction: column;
            }
            .main-nav ul {
                gap: 1.5rem;
            }
        }