@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');

:root {
    --color-dark: #5F6F52;
    --color-med: #96a27f;
    --color-light: #d1c4a4;
    --color-lightest: #f3ebd9;
    --shadow: 0 4px 8px var(--color-dark);
    --font-content: 'Poppins', sans-serif;
    --font-title: 'Playfair Display', serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth !important;
}

html, body {
    font-family: var(--font-content);
    animation: 1.5s fadeIn;
    margin: auto;
}

section {
    max-width: 1920px;
    margin: auto;
    width: 100%;
    overflow: hidden;
}

h1, h2, h3 {
    font-family: var(--font-title);
}

h1 {
    color: var(--color-lightest);
    font-weight: 600;
}

h2 {
    color: var(--color-lightest);
    font-weight: 600;
    font-size: 2rem;
    text-align: center;
}

h3 {
    color: var(--color-light);
    font-weight: 300;
    text-align: center;
    font-size: 2rem;
}

hr {
    top: 1.5em;
    margin-bottom: 1em;
    border-bottom-color: var(--color-lightest);
    box-shadow: inset 0 1px 0 0 var(--color-light);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

a {
    color: black;
    text-decoration: none;
}

/* Hide-show animation */

.hidden {
    opacity: 0;
    transition: all 0.5s ease-in;
}

.visible {
    opacity: 1;
}

/* Sections */

section.style2 {
    border-radius: 20px;
    background-color: rgba(235, 238, 240, 0.178);
    box-shadow: 0 0 10px 1px rgba(226, 221, 221, 0.25);
    backdrop-filter: blur(15px);
}

section.style3 {
    opacity: 0.95;
    backdrop-filter: blur(15px);
    border-radius: 15px;
}

section.style4 {
    background-color: var(--color-lightest);
}

.style4 h2 {
    color: var(--color-dark);
}

section.style5 {
    background-color: var(--color-med);
}

section.style6 {
    background-color: var(--color-dark);
}

.style5 h2 {
    color: var(--color-lightest);
}

/* Hamburger-menu */

.hamburger-menu {
    opacity: 0;
    position: fixed;
    top: 1rem;
    z-index: 10;
    margin-right: auto;
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin: 1rem;
}

.hamburger-menu span {
    height: 5px;
    width: 100%;
    background-color: white;
    position: absolute;
    border-radius: 25px;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
}

.hamburger-menu span:nth-child(1) {
    top: 25%;
}

.hamburger-menu span:nth-child(3) {
    top: 75%;
}

.hamburger-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Navbar on top: */
.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-dark);
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 10;
    top: 0;
    opacity: 0.4;
    transition: 0.4s;
    font-size: 1.1rem;
    font-weight: 300;
}

.nav-list:hover {
    opacity: 1;
}

.nav-list ul {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
}

.nav-list ul li {
    margin-right: 1rem;
}

.nav-list ul li a {
    text-decoration: none;
    color: var(--color-light);
}

.nav-list ul li a:hover {
    color: var(--color-lightest);
}

.nav-list ul li:nth-child(1) {
    margin-right: auto;
    font-size: 1.5rem;
    font-weight: 500;
}

.nav-list .dropdown {
    position: relative;
}

.nav-list .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
    z-index: 1000;
    background-color: var(--color-dark);
    opacity: 0.9;
}

.nav-list .dropdown-menu li {
    font-size: 0.9rem !important;
    font-weight: 300 !important;
    padding: 1rem;
}

.nav-list .dropdown:hover .dropdown-menu,
.nav-list .dropdown.open .dropdown-menu {
    display: block;
}

.nav-list .dropdown-menu:hover {
    opacity: 1;
}

/* Hero */

.hero-image {
    background-image: url("../assets/images/hero.webp");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    height: 87vh;
    width: 100vw;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.hero-image h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-text {
    margin-bottom: 1rem;
    background-color: rgba(0, 0, 0, 0.26);
    padding: 2rem;
    margin-top: auto;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 1rem;
    background-color: rgba(0, 0, 0, 0.26);
    padding: 2rem;
    color: var(--color-lightest);

    margin-bottom: 3rem;
    margin-top: auto;
    max-width: 80%;
}

/* About */

.about-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
}

.about-container .about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}


.about-container .about-image img {
    max-width: 80%;
    border-radius: 50%;
    transition: 0.3s;
    margin-top: 4rem;
    margin-bottom: auto;
    box-shadow: 0 0 10px 1px var(--color-light);
}

.about-container .about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: black;
    font-family: var(--font-content);
    font-weight: 300;
}

.about-container .about-text p {
    margin-bottom: 1rem;
}

.about-container hr {
    top: 1.5em;
    border-bottom-color: rgba(192, 192, 192, 0.35);
    width: 80%;
}

/* Studies */

#studies {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.studies-container {
    position: relative;
    overflow: hidden;
    padding: 1rem;
    text-align: center;
}

.studies-container hr {
    width: 60%;
    margin: auto;
    margin-bottom: 1rem;
}

.studies-text {
    padding: 1rem;
}

.studies-container ul {
    margin-bottom: 2rem;
    list-style: none;
}

.studies-container ul li {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.studies-container img {
    position: absolute;
    bottom: -5%;
    right: -3%;
    max-width: 28%;
}

/* Services */

#services h2 {
    margin-top: 1rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 4rem 3rem;
    border-radius: 10px;
}

.service-card {
    max-width: 70%;
    text-align: center;
    justify-self: center;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.service-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.service-card img {
    max-width: 100%;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-lightest);
}

.service-card p {
    font-size: 1.2rem;
}

.service-card a {
    text-decoration: none;
}

/* Contact */

#contact {
    padding-top: 5rem;
}

/* Force color variables for production */
#contact {
    --color-dark: #5F6F52 !important;
    --color-med: #96a27f !important;
    --color-light: #d1c4a4 !important;
    --color-lightest: #f3ebd9 !important;
}

#contact h3 {
    color: var(--color-lightest);
    text-align: left;
}

#contact .right h3 {
    margin-left: 2rem;
}

.contact-container {
    margin: 2rem;
    position: relative;
    width: 70%;
    max-height: 80vh;
}

.contact-foreground {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
    opacity: 0.6;
    border-radius: 20px;
    background-color: var(--color-dark);
    backdrop-filter: blur(15px);
    z-index: 2;
    max-height: 70vh;
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 600px;
    padding: 1rem;
    margin: 1rem;
    box-shadow: var(--shadow);
    max-height: 60vh;
    margin-left: auto;
    z-index: 3;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border: 1px solid var(--color-dark);
    border-radius: 5px;
    font-size: 0.8rem;
    font-family: var(--font-content);
    resize: none;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-light);
    outline: none;
}

button {
    padding: 0.8rem 1.3rem;
    background-color: var(--color-lightest);
    color: black;
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--color-light);
}

#contact {
    background-image: url("../assets/images/contact-bg.webp");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.contact-container .contact-form {
    background-color: var(--color-med);
    opacity: 1;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem;
}

#contact .contact-info .location-info,
.location-info {
    margin-top: 0.5rem !important;
    width: 100% !important;
}

#contact .contact-info .location-details,
.location-details {
    margin-left: 1rem !important;
}

#contact .location-details p {
    font-size: 1.1rem !important;
    margin-bottom: 0.8rem !important;
    color: var(--color-lightest) !important;
}

#contact .location-details .fas,
#contact .location-details .fa-solid {
    margin-right: 0.5rem !important;
    color: var(--color-light) !important;
}

/* Fallback for Font Awesome icon loading issues */
#contact .location-details .fas.fa-map-marker-alt:before,
#contact .location-details .fa-solid.fa-location-dot:before {
    content: "\f3c5" !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

#contact .location-list {
    list-style: none !important;
    margin-left: 1.5rem !important;
}

#contact .location-list li {
    font-size: 1rem !important;
    margin-bottom: 0.4rem !important;
    color: var(--color-lightest) !important;
    position: relative !important;
    padding-left: 1rem !important;
}

#contact .location-list li:before {
    content: "•" !important;
    color: var(--color-light) !important;
    position: absolute !important;
    left: 0 !important;
    font-size: 1.2rem !important;
}

.contact-container p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.book-button {
    margin-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.5rem;
}

/* Footer */

footer {
    background-color: #746446;
    color: var(--color-lightest);
    text-align: center;
    padding: 0.3rem;
    font-size: 1rem;
    width: 100%;
}

footer .icons {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

footer .icons li {
    margin-right: 1rem;
    font-size: 1.5rem;
}

footer a {
    color: var(--color-lightest);
    transition: all 0.3s;
}

footer a:hover {
    color: var(--color-light);
}

footer .copyright {
    margin-top: 0.5rem;
    color: var(--color-med);
}

/* Prices section */

#prices {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.prices-container {
    min-height: 25vh;
    margin-left: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.prices-container .prices-text {
    width: 80%;
}

.prices-container ul {
    list-style: none;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.prices-container ul li {
    margin-bottom: 1rem;
    padding: 2rem;
    background-color: var(--color-light);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    font-size: 1.3rem;
}

.prices-container p {
    font-size: 1.2rem;
}

.prices-container .right {
    margin-left: auto;
}

/* Keyframe animations */

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

/* FOG */

.fog-container {
    position: absolute;
    width: 100%;
    height: 75%;
    overflow: hidden;
    z-index: 1;
}

.fog-img {
    position: absolute;
    height: 100vh;
    width: 300vw;
    z-index: 2;
}

.fog-img-first {
    background: url("../assets/images/fog-1.png");
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    animation: marquee 60s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-200vw, 0, 0);
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    80% {
        opacity: 1;
        transform: translateY(50px);
    }
    100% {
        opacity: 0;
        transform: translateY(50px);
    }
}

@-webkit-keyframes arrow /*Safari and Chrome*/ {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    80% {
        opacity: 1;
        transform: translateY(50px);
    }
    100% {
        opacity: 0;
        transform: translateY(50px);
    }
}

@media (max-width: 1300px) {
    .services-container .service-card {
        max-width: 90%;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {

    .nav-list {
        font-size: 0.9rem;
    }

    .services-container {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        justify-items: center; /* Ensure items are centered */
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1rem;
    }

    .about-container .about-text {
        align-items: center;
        text-align: center;
    }

    .about-container .about-image img {
        max-width: 50%;
        margin-top: 2rem;
    }

    .contact-container {
        width: 90%;
    }
}

@media (max-width: 768px) {

    #contact {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .contact-container {
        width: 90%;
        max-height: 100vh;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-foreground {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .contact-info {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
        padding: 1rem;
        padding-left: 2rem;
    }

    .contact-info p {
        font-size: 1rem;
        align-items: flex-start;
    }

    .location-info {
        text-align: left !important;
    }

    #contact .location-details {
        margin-left: 0.5rem !important;
    }

    #contact .location-details p {
        color: var(--color-lightest) !important;
        font-size: 1rem !important;
    }

    #contact .location-details .fas,
    #contact .location-details .fa-solid {
        color: var(--color-light) !important;
    }

    #contact .location-list {
        margin-left: 1rem !important;
        text-align: left !important;
    }

    #contact .location-list li {
        color: var(--color-lightest) !important;
    }

    #contact .location-list li:before {
        color: var(--color-light) !important;
    }

    .contact-form {
        width: 100%;
        margin: 0 auto;
    }

    #contact {
        padding-top: 2rem;
        padding-bottom: 5rem;
    }

    .contact-container {
        max-width: 100%;
        max-height: 100vh;
    }

    .contact-form {
        max-width: 100%;
    }

    .contact-foreground {
        grid-template-columns: 1fr;
        padding-bottom: 50rem;
    }

    #prices {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .prices-container {
        margin-left: 0;
        padding: 1rem;
        text-align: center;
    }

    .prices-container ul li {
        flex-direction: column;
        text-align: left;
        padding: 1rem;
    }

    .prices-container ul li p.right {
        margin-left: 0;
        text-align: right;
    }

    .hamburger-menu {
        opacity: 1;
        z-index: 1000;
    }

    .nav-list {
        left: -450px;
        background-color: var(--color-dark);
        height: 100vh;
        width: 60%;
        position: fixed;
        max-width: 350px;
        top: 0;
        text-align: center;
        font-size: 2rem;
        transition: 0.3s ease;
        z-index: 9;
        opacity: 0.95;
    }

    .nav-list ul {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        list-style: none;
    }

    .nav-list ul li {
        list-style: none;
        margin: 0;
    }

    .nav-list ul li:nth-child(1) {
        margin: 0;
        font-size: 2.5rem;
        font-weight: 500;
        text-align: center;
    }

    .nav-list.active {
        left: 0px;
    }

    .hero-text {
        margin: 2rem;
        padding: 1rem;
    }

    .quote {
        font-size: 0.9rem;
    }
}


@media (max-width: 480px) {

    .nav-list {
        font-size: 1.3rem;
    }

    .nav-list ul li:nth-child(1) {
        font-size: 1.4rem;
        font-weight: 500;
    }

    #contact {
        padding-bottom: 5rem;
    }


    .contact-container {
        width: 100%; /* Use full width */
        max-height: 120vh; /* Allow more height */
    }

    .contact-foreground {
        padding: 1rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 0.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.8rem;
    }

    .book-button {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }

    .hero-image h1 {
        font-size: 2rem;
    }

    .services-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .services-container .service-card {
        max-width: 90%;
    }

    .about-container .about-image img {
        max-width: 80%;
    }

    #contact {
        padding-bottom: 7rem;
    }

    .contact-container {
        width: 90%;
        max-height: 120vh;
    }

    .contact-foreground {
        padding-bottom: 50rem;
    }

    .contact-form {
        width: 100%;
    }

    .hero-text {
        margin: 2rem;
        padding: 1rem;
    }

    .prices-container ul li {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .prices-container ul li p.right {
        text-align: center;
    }

    .prices-container .prices-text p {
        font-size: 1rem;
    }
}

@media (max-width: 380px) {

    .about-container {
        padding: 0.5rem;
    }

    .services-container {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0;
    }

    .services-container .service-card {
        max-width: 90%;
        margin: 0;
    }

    .studies-container {
        padding: 0.5rem;
    }
}

/* Production-specific location styling overrides */
section#contact .contact-info .location-details p,
section#contact .contact-foreground .contact-info .location-details p {
    color: #f3ebd9 !important;
    font-family: 'Poppins', sans-serif !important;
}

section#contact .contact-info .location-details .fas,
section#contact .contact-info .location-details .fa-solid,
section#contact .contact-foreground .contact-info .location-details .fas,
section#contact .contact-foreground .contact-info .location-details .fa-solid {
    color: #d1c4a4 !important;
}

section#contact .contact-info .location-list li,
section#contact .contact-foreground .contact-info .location-list li {
    color: #f3ebd9 !important;
    font-family: 'Poppins', sans-serif !important;
}

section#contact .contact-info .location-list li:before,
section#contact .contact-foreground .contact-info .location-list li:before {
    color: #d1c4a4 !important;
}

/* Production-specific article card styling overrides */
.articles-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    margin: 2rem 0 !important;
    padding: 0 !important;
    justify-content: center !important;
}

.article-card {
    width: 100% !important;
    max-width: 450px !important;
    min-width: 300px !important;
    flex: 1 1 300px !important;
    height: 400px !important;
    position: relative !important;
    color: var(--color-lightest) !important;
    overflow: hidden !important;
    border-radius: 15px !important;
    box-shadow: var(--shadow) !important;
    text-align: center !important;
    transition: all 0.4s !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    cursor: pointer !important;
    font-family: var(--font-content) !important;
}

/* Articles Section */
#articles {
    padding: 3rem 0;
}

.articles-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.articles-container h2 {
    margin-bottom: 1rem;
}

.articles-container hr {
    width: 60%;
    margin: 0 auto 2rem auto;
    border-bottom-color: var(--color-dark);
}

.articles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
    padding: 0;
    justify-content: center;
}

.article-card {
    width: 100%;
    max-width: 450px;
    min-width: 300px;
    flex: 1 1 300px;
    height: 400px;
    position: relative;
    font-family: var(--font-content);
    color: #fff;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0px 10px 20px -9px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: all 0.4s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.article-card:hover {
    box-shadow: 0px 18px 20px -9px rgba(0, 10, 30, 0.75);
}

.article-card:hover .card-info {
    opacity: 1;
    bottom: 100px;
}

.article-card:hover .color-overlay {
    background: rgba(95, 111, 82, 0.7);
}

.article-card:hover .title-content {
    margin-top: 50px;
}

.article-image {
    display: none; /* We'll use background-image instead */
}

.color-overlay {
    background: rgba(95, 111, 82, 0.4);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    transition: background 0.3s cubic-bezier(0.33, 0.66, 0.66, 1);
}

.gradient-overlay {
    background-image: linear-gradient(transparent 0%, rgba(95, 111, 82, 0.3) 30%, rgba(0, 0, 0, 0.8) 80%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
}

.title-content {
    text-align: center;
    margin: 170px 0 0 0;
    position: absolute;
    z-index: 7;
    width: 100%;
    top: 0;
    left: 0;
    transition: all 0.6s;
    padding: 0 20px;
}

.article-title {
    font-size: 1.8em;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: var(--font-title);
    margin-bottom: 0;
    display: inline-block;
    color: white;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.7);
    transition: all 0.2s;
    line-height: 1.3;
}

.article-title:hover {
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.9);
}

.article-title:after {
    content: " ";
    display: block;
    width: 10%;
    height: 2px;
    margin: 20px auto;
    border: 0;
    background: var(--color-lightest);
    transition: all 0.3s ease;
}

.article-card:hover .article-title:after {
    width: 60%;
}

.article-date {
    width: auto;
    margin: 0 auto;
    color: var(--color-lightest);
    font-style: normal;
    line-height: 1.4;
    font-size: 0.9rem;
    font-family: var(--font-content);
    font-weight: 300;
    opacity: 0.9;
}

.card-info {
    box-sizing: border-box;
    padding: 0;
    width: 100%;
    position: absolute;
    bottom: -40px;
    left: 0;
    margin: 0 auto;
    padding: 0 40px;
    font-size: 16px;
    line-height: 24px;
    z-index: 20;
    opacity: 0;
    transition: bottom 0.64s, opacity 0.63s cubic-bezier(0.33, 0.66, 0.66, 1);
}

.article-excerpt {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    font-family: var(--font-content);
    font-weight: 300;
}

.article-read-more {
    display: inline-block;
    width: auto;
    margin: 0 auto;
    background: var(--color-lightest);
    color: var(--color-dark);
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-content);
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.article-read-more:hover {
    background: var(--color-light);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.article-content {
    /* This will be split into title-content and card-info */
    display: none;
}

.articles-more {
    text-align: center;
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: var(--font-content);
}

.btn-secondary:hover {
    background: var(--color-dark);
    color: var(--color-lightest);
}

/* Responsive styles for articles */
@media (max-width: 768px) {
    .articles-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .articles-container {
        padding: 0 1rem;
    }
    
    .article-card {
        max-width: 100%;
        min-width: unset;
        flex: none;
    }
    
    .title-content {
        margin: 120px 0 0 0;
        padding: 0 15px;
    }
    
    .card-info {
        padding: 0 30px;
    }
}

@media (max-width: 500px) {
    .card-info {
        display: none;
    }
    
    .article-card:hover .title-content,
    .title-content {
        margin-top: 40px;
    }
    
    .article-card {
        height: 300px;
    }
    
    .article-title {
        font-size: 1.3em;
    }
    
    .article-date {
        font-size: 0.8em;
        width: 140px;
    }
}