/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 80px; /* Offset for fixed navbar */
}
h1 h2 h3{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
h2{
    color: #f39c12;
}
p{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 200;
}

/* Navbar */
nav {
    background-color: #333;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo img {
    height: 50px;
    margin-right: 1rem;
}

nav .logo h1 {
    color: white;
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

nav ul li a:hover {
    color: #f39c12;
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        display: none;
        width: 100%;
    }

    nav.active ul {
        display: flex;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .hamburger {
        position: absolute;
        right: 0;
        display: block;
    }
}

/* Introduction Section */
#introduction {
    min-height: 100vh;
    background-image: url('./pic/bg.jpeg'); /* Background image added */
    background-size: cover;
    background-position: center;
    color: #000000; /* Text color adjusted for readability */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

#introduction h1 {
    color: #f39c12;
    font-size: 2.5rem;
    margin: 0;
}

#introduction p {
    padding: 1rem 2rem;
    text-align: start;
    font-size: 1.5rem;
    max-width: 800px;
    margin: 1rem auto;
}

@media (max-width: 1024px) {
    #introduction h1 {
        font-size: 2rem;
    }

    #introduction p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    #introduction h1 {
        font-size: 1.8rem;
    }

    #introduction p {
        font-size: 0.9rem;
    }
}

/* Types Section */
#types {
    height: auto;
    min-height: 100vh;
    padding: 2rem;
    background-color: #f9f9f9;
    color: rgb(36, 32, 32); 
    text-align: center;
}

#types h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7rem;
}

.card {
    background-color: #f4f4f4e0;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
}

.card img {
    width: 100%;
    height: 200px; /* Fixed height for images */
    object-fit: cover; /* Ensure the image covers the card without distortion */
    border-radius: 8px;
}

.card h3 {
    margin: 1rem 0 0.5rem;
}

.card p {
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .card {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .card {
        width: 100%;
    }
}

/* Footer Styles */
footer {
    background-color: #222;
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-column p, .footer-column ul {
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #f39c12;
}

/* Social Media Icons */
.box p{
    padding:.5rem;
}
.share a {
    padding: 1rem 0;
    margin: 0 10px;
    display: inline-block;
    color: rgba(255, 255, 255, 0.842);
    font-size: 1.5rem;
}

.share a:hover {
    color: #f39c12;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem;
}

/* Responsive Footer Adjustments */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: row;
        align-items: center;
    }
}

/* Responsive Design for extra small smartphones */
@media (max-width: 480px) {
    nav .logo img {
        height: 40px;
    }

    #introduction h1 {
        font-size: 1.5rem;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    footer .footer-column h3 {
        font-size: 1.2rem;
    }

    .share a {
        font-size: 1.2rem;
    }
}
