*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    max-width: 100%;
    overflow-x: hidden;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

main {
    margin-top: 100px;
}

.main-space {
    margin-top: 120px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgb(211, 152, 85);
    box-shadow: inset 0 -3px 10px rgba(0, 0, 0, 0.2);
    height: 100px;
    padding: 0 20px;
}

header img {
    height: 80px;
    width: 80px;
    padding: 10px 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    color: white;
}

footer {
    background-color: rgb(211, 152, 85);
    color: white;
    text-align: center;
    padding: 20px 0;
    bottom: 0;
}

footer img {
    height: 60px;
    width: 70px;
    padding: 10px 20px;
}

footer p {
    margin: 5px 0;
    bottom: 0;
}

/* Home page */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
        url('images/hero\ banner.jpg') no-repeat center center/cover;
    color: rgba(0, 0, 0, 0.8);
    padding: 0 20px;
}

.hero-pic {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 420px;
    width: 100%;
    height: auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 36px;
    background: rgb(211, 152, 85);
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: rgb(180, 120, 55);
    transform: scale(1.05);
}

.cta-button-outline {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid rgb(211, 152, 85);
    color: rgb(211, 152, 85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.cta-button-outline:hover {
    background: rgb(211, 152, 85);
    color: white;
    transform: scale(1.05);
}

.home-section {
    padding: 60px 20px;
}

.home-section-alt {
    background: rgb(250, 245, 238);
}

.section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 800;
    color: rgb(50, 50, 50);
    margin-bottom: 10px;
}

.section-heading p {
    font-size: 18px;
    color: rgb(100, 100, 100);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-link {
    text-align: center;
    margin-top: 30px;
}

.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: rgb(211, 152, 85);
    color: white;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-section .cta-button {
    background: white;
    color: rgb(211, 152, 85);
}

.cta-section .cta-button:hover {
    background: rgb(250, 245, 238);
}

/* About Us page */
.info-1 {
    border: none;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    background: rgb(239, 181, 115);
    height: auto;
}

.info-1 h1 {
    text-align: center;
    color: white;
}

.info-1 p {
    text-align: justify;
    color: white;
    font-size: 18px;
    line-height: 1.6;
}

.employees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.employee-card {
    background: rgb(239, 181, 115);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: white;
}

.employee-card img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
}

.employee-card h3 {
    margin: 10px 0 5px;
}

.employee-card p {
    margin: 0;
    font-size: 16px;
}

/* Services page */
.page-header {
    background: rgb(239, 181, 115);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: white;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.service-card {
    background: rgb(239, 181, 115);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: white;
}

.service-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.service-card h3 {
    margin: 10px 0 5px;
    font-size: 28px;
    font-weight: 700;
}

.service-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Gallery page */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

/* Contact page */
.contact-form {
    max-width: 420px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: system-ui, sans-serif;
}

.contact-form h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

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

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

input,
select,
textarea {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgb(250, 146, 27);
    box-shadow: 0 0 0 3px rgba(250, 146, 27, 0.15);
}

button {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    background: rgb(239, 181, 115);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

button:hover {
    background: #4f46e5;
}

button:active {
    transform: scale(0.95);
}

/* Hamburger menu */
#menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
    display: none;
}

@media (max-width: 900px) {
    #menu-toggle {
        display: block;
        position: relative;
        top: auto;
        right: auto;
        font-size: 24px;
        background: none;
        border: none;
        color: black;
        cursor: pointer;
        width: auto;
        padding: 0;
    }

    #mobile-menu {
        display: none;
        position: absolute;
        top: 100px;
        left: 12px;
        right: 12px;
        z-index: 1000;
        background-color: rgb(40, 40, 40);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        padding: 8px;
    }

    #mobile-menu.show {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    #mobile-menu li a {
        color: white;
        font-size: 18px;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        display: block;
        padding: 12px;
    }

    #mobile-menu li:last-child a {
        border-bottom: none;
    }

    #mobile-menu ul {
        display: flex;
        flex-direction: column;
        position: static;
        gap: 0;
    }

    #mobile-menu li {
        text-align: center;
    }

    #mobile-menu li a:hover {
        color: #ffcc00;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #menu-toggle::before,
    #menu-toggle::after,
    #menu-toggle span {
        content: '';
        display: block;
        height: 4px;
        width: 32px;
        background-color: black;
        margin: 6px 0;
        transition: all 0.3s ease;
    }

    #menu-toggle span {
        display: block;
    }

    #menu-toggle.open::before {
        transform: rotate(45deg) translate(5px, 6px);
    }

    #menu-toggle.open::after {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    #menu-toggle.open span {
        opacity: 0;
    }

    main {
        margin-top: 100px;
    }

    .main-space {
        margin-top: 110px;
    }

    .hero {
        min-height: calc(100vh - 100px);
        flex-direction: column;
        gap: 18px;
        padding: 24px 16px;
    }

    .hero-pic {
        max-width: 220px;
    }

    .hero h1 {
        font-size: clamp(30px, 8vw, 42px);
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 17px;
    }

    .section-heading h2,
    .cta-section h2 {
        font-size: clamp(28px, 7vw, 34px);
    }

    .section-heading p,
    .cta-section p {
        font-size: 16px;
    }

    .page-header,
    .info-1,
    .contact-form {
        margin-left: 12px;
        margin-right: 12px;
        padding: 16px;
    }

    footer img {
        width: 42px;
        height: 42px;
        padding: 8px 10px;
    }
}
