:root {
    --primary-color: rgb(155, 102, 83);
    --background-color: antiquewhite;
    --text-color: beige;
    --shadow-color: rgb(45, 45, 45);
}

body {
    font-family:"Poppins", serif;
    background-color: antiquewhite;
    line-height: 1.6;
}

.container {
    width: 1080px;  
    justify-content: center;
    align-items: center;
    gap:30px;
    margin: auto;
    padding: 2em;
}

h1 { 
    font-weight: 700;
    font-size: 2em;
}

h2 {
    font-weight: 500;
    font-size: 2em;
}

.site-header{
    padding-top: 2em;
    margin:auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:100%;
}

.header-menu li {
    display: inline;
    padding: 1rem;
    text-decoration: none;
    font-size: larger;
    font-weight: 600;
}

.header-menu a {
    text-decoration: none;
    color: var(--primary-color)
}

.site-logo {
    height:8em;
    display:flex;
}

.hero-section {
    margin: auto;
}

.hero-title{
    font-size: 2.5em;
    line-height: 1.5;
    text-align: center;
    color: var(--primary-color);
}

.feature-section{
    display: grid;
    grid-template-columns: auto auto;
    grid-column: span 12;
    gap:30px;
    justify-content: center;
    position: relative;
    padding: 3em;
}

.feature-section img{
    width:33.5em;
}

.feat-logo1, .feat-logo2, .feat-logo3, .feat-logo4 {
    display: grid;
    border-radius: 50%;
    position: absolute;
    scale: 0.2;
}

.feat-logo1, .feat-logo2 {
    top: 1em;
}

.feat-logo3, .feat-logo4 {
    top: 50%;
}

.feature-section h1 {

    display: none;
    text-align: center;
    justify-content: center;
    z-index: 1;
    position: absolute;
    transform: translateY(-3em);
    color:var(--text-color);
    line-height: 1;
    filter: drop-shadow(var(--shadow-color) 1rem 1rem 1rem);
}

.content-area {
    justify-content: center;
    align-items: center;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(4, auto);
    grid-column: span 12;
    grid-row: 3;
    gap: 30px;
    padding: 3em;
}

.content-area img {
    width: 17em;
    height: auto;
}

.action-area {
    width:100%;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-column: span 12;
    grid-row: 4;
    align-items: center;
    text-align:left;
    gap:30px;
    padding-bottom: 3em;
}

button {
    width: 20em;
    height: 3em;
    border: 0;
    color: var(--text-color);
    background-color: var(--primary-color);
    align-items: center;
    justify-content: center;
    font-size: larger;
    pointer-events: all;
    cursor: pointer;
}

/* Blog Area Styles */

.blog-area {
    display: grid;
    grid-template-columns: auto auto;
    grid-column: span 12;
    grid-row: 5;
    gap: 2em;
    justify-content: center;
    text-align: center;
}
   
.blog1 img:hover, .blog2 img:hover{
    opacity: 50%;
    
}
.blog1, .blog2 {
    display: grid;
    justify-content: center;
    position: relative;
}

.blog-area h2{
    text-align: center;
    color:beige;
    z-index: 1;
    position: absolute;
    left: 10%;
    top:30%;
}

.blog-area h3{
    text-align: center;
    color:beige;
    z-index: 1;
    position: absolute;
    top:45%;
    font-size: 1.5em;
    line-height: 1;
}

/* Footer Styles */
.site-footer{
    max-width: 1080px;
    display: flex;
    justify-content: space-between;
    gap: 1 rem;
    margin:auto;
    padding: 2em;
}

.site-footer-tagline {
    flex-basis: 50%;
}

.site-footer-social, .site-footer-address {
    flex-basis: 25%;
    justify-content: center;
    align-items: center;
}

.site-footer-social ul {
    display: flex;
}

.site-footer-social img{
    height:3em;
    padding: 1em;
}
ion-icon {
    color: var(--primary-color);
}

@media (max-width: 824px) {
    .container {
        width: 100%;
        padding: 1em;
    }
    
    .site-header {
        flex-direction: column;
        margin: auto;
    }

    .feature-section {
        display: flex;
        flex-wrap: wrap;
        margin: auto;
        justify-content: center;
    }
    .main-carousel {
        width: 90%;
        justify-content: center;
        align-items: center;
        margin: auto;
    }
    .content-area {
        display: flex;
        flex-direction: column;
        grid-row: 2;
        padding: 1em; 
        width: 50%;
        margin: auto;
    }

    .action-area {
        display: flex;
        flex-direction: column;
        padding: 2em 0;
        width: 60%;
        margin: auto;
    }

    .blog-area {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .site-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 1em;
    }

    .hero-title {
        font-size: 1.5em;
    }

    .feature-section img {
        width: 100%;
    }

    .content-area img {
        width: 100%;
    }

    button {
        width: 100%;
    }
}