@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap');


/* Reset Default Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration:none;
    color: inherit;

}

/* Body Styles */
body {
    background-color: #fdfdfd;
    color: #121212;
    
    line-height: 1.6;
}

/* Header Section */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 74px;  /* Added more room */
    background-color: white;
    color: #111;
    margin-top: 10px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 20px; /* Reduce left padding */
    margin-left: -10px; /* Moves it further left */
}

.logo img {
    height: 100px; /* Keep size elegant */
    width: auto;
    object-fit: contain;
}

.page-title {
    font-size: 4rem;
    font-weight: bold;
    font-family: 'Libre Baskerville', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    flex-grow: 1; /* Pushes the menu to the right */
    text-align: left; /* Aligns name to the left */
}

.menu {
    flex-grow: 1; /* Pushes the name to the left */
    text-align: right; /* Aligns menu to the right */
}

.menu ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    padding: 10px;
}

.menu ul li {
    display: inline;
}

.menu ul li a {
    text-decoration: none;
    color: #111;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
}

.menu ul li a:hover {
    color: #c00;
    text-decoration: underline;
}

/* Main Content Layout */
.container {
    height:61vh;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 70%;
    justify-content: space-around;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 60px;
    padding-top: 5px;
    max-width: 100%;
    margin: 0 auto;  /* Center the container */
    gap: 10px;
}

.wrapper{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    border: 2px; 
    border-color: #111;
    ;
}

.latest-post, .blog-highlight-container, .pinterest {
    width: 100%;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.pinterest{
  display:none;
}

.latest-post{
    grid-column:1/2;
    grid-row:1/3;
}

.blog-highlight-container{
    grid-column:2/3;
    grid-row:1/3;
}

.post{
    overflow: hidden;
    grid-row: 1 / 3;
    grid-column: 2 / 3;
}

.latest-post:hover, .blog-highlight-container:hover, .pinterest:hover {
    transform: translateY(-5px);
}

.latest-post h2, .blog-highlight-container h2, .pinterest h2 {
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.latest-post img, .blog-highlight-container img, .pinterest img {
    width: 100%;
    height: 100%;
    padding-top: 1%; /* Maintains aspect ratio for square images */
    object-fit: cover; /* Ensures the image covers the area */
    border-radius: 15px;
    margin-bottom: 20px;
    display: block;
    object-position: top;
}

.latest-post img:hover, .blog-highlight-container img:hover, .pinterest img:hover {
    transform: scale(1.05); /* Zoom effect on hover */
}

.latest-post h3 a, .blog-highlight-container h3 a, .pinterest h3 a {
    text-decoration: none;
    color: #111;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Libre Baskerville', serif;
    transition: 0.3s ease-in-out;
}

.latest-post h3 a:hover, .blog-highlight-container h3 a:hover, .pinterest h3 a:hover {
    color: #c00;
}



/* Responsive Design */
@media (max-width: 1400px) {
    .container {
        display: flex;
        flex-direction: column; /* Stack posts vertically */
        padding: 40px; /* Adjust padding for smaller screens */
        height: auto;
    }

    .menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .latest-post, .blog-highlight-container {
        width: 90%; /* Take up most of the screen on small screens */
        margin-bottom: 40px;
    }
    
}

/* Footer Styling */
.footer {
    background-color: #111;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 80px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
    height: 15vh;
}

/* Left Side: Copyright */
.footer-left {
    flex: 1;
    text-align: left;
    font-size: 1rem;
    opacity: 0.7;
}

/* Right Side: Social Links */
.footer-right {
    flex: 1;
    text-align: right;
}

/* "Follow Us" Title */
.footer-right h3 {
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Social Media Icons */
.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.social-links img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease-in-out;
}

.social-links a:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-right {
        text-align: center;
        margin-bottom: 15px;
    }

    .social-links {
        justify-content: center;
    }
}

.popular-post-excerpt {
    font-size: 1rem;
    color: #333;
    margin-top: 10px;
}

.popular-post a.read-more {
    font-weight: bold;
    color: #5a2a83;
    text-decoration: none;
}

.popular-post a.read-more:hover {
    text-decoration: underline;
}


  
@media (max-width: 600px) {
  
.header {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:1fr 1fr;
    align-items: center;
    justify-content: none;
    padding: 10px 10px;  /* Added more room */
}

.logo {
    display: flex;
    align-items: center;
    justify-self: center;
    padding: 10px 10px; /* Reduce left padding */
    
}

.logo img {
    max-height: 100px; /* Keep size elegant */
    width: auto;
    object-fit: contain;
}

.menu {
    display: inline;
    justify-self: center;
    /* You can also add some margins here to make it look prettier */
}

.menu ul {
        flex-direction: row;
        gap: 20px;
}

.menu ul li {
    padding:15px;
}

    .latest-post, .popular-post {
        width: 90%; /* Take up most of the screen on small screens */
        margin-bottom: 40px;
        display:flex;
        flex-direction:column
    }
    
}
