* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');

body {}


/* ===========================
   HERO SECTION
=========================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('./img/hero-img.jpeg'); no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Content above overlay */
.hero-content {
    position: relative;
    z-index: 2;

    color: #fff;
    max-width: 900px;
    padding: 0 2rem;
}

/* Typography */
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-family: "Playfair Display", serif;
    margin-top: 1.5rem;
}

.hero-location {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

/* Animation */
.hero-content>* {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideIn 1.2s ease forwards;
}

.hero-content h1 {
    animation-delay: 0.2s;
}

.hero-content .hero-subtitle {
    animation-delay: 0.5s;
}

.hero-content .hero-location {
    animation-delay: 0.8s;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ===========================
   HEADER + NAVIGATION
=========================== */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    /* sits above overlay and hero image */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 5%;
}

.logo {
    position: absolute;
    top: -2rem;
    left: -2.5rem;
    width: 300px;
    height: auto;
    z-index: 4;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
}

.nav {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav li {
    text-transform: uppercase;
}

.nav a {
    position: relative;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition: width 0.4s ease;
}

.nav a:hover::after {
    width: 100%;
}


header h1 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    /* Elegant and timeless */
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 1.5rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideIn 1.2s ease forwards 0.6s;
}

/* Subtle underline line that fades in after the text */
header h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: width 0.6s ease 1.2s;
}

header h1.appear::after {
    width: 60%;
}

/* Animation for the text entrance */
@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===========================
   RESPONSIVE HERO
=========================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .logo {
        width: 120px;
        left: 1rem;
    }
}

.info-text {
    font-size: 1.5rem;
    padding: 2rem 0;
    -moz-columns: 3;
    -webkit-columns: 3;
    columns: 3;
    font-family: "Playfair Display", serif;
}

.info-text p {
    margin-bottom: 2rem;
}

@media screen and (max-width: 800px) {
    header ul li:not(:nth-child(4)) {
        display: none;
    }

    header ul li:nth-child(4) {
        width: 100%;
    }
}


/* Current Slide 
-------------------------------------*/
li.current {
    visibility: visible;
    transition-delay: 0s;
}

li.current .image {
    clip: rect(0, 80rem, 50rem, 0);
}

li.current .content h2 {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 1s;
}

li.current .content a {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 1.1s;
}

/* Prev Slide 
------------------------------------*/
li.prev_slide .image {
    clip: rect(0, 0, 50rem, 0);
}

nav {
    margin-top: 600px;
    background: #fff;
    z-index: 2;
    margin-left: 100px
}

.prev,
.next,
.counter {
    vertical-align: middle;
}

.prev,
.next {
    position: relative;
    display: inline-block;
    height: 5rem;
    width: 5rem;
    border: 0;
    cursor: pointer;
    background: transparent;
}

.prev::before,
.next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border: .8rem solid transparent;
    border-right-width: 1rem;
    border-right-color: #000;
    border-left-width: 0;
    width: 0;
    height: 0;
}

.prev::after,
.next::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    left: .5rem;
    background: #000;
    height: .1rem;
    min-height: 1px;
    width: 2.5rem;
    transition: width .3s;
}

.next::before {
    right: 0;
    left: auto;
    border-left-width: 1rem;
    border-left-color: #000;
    border-right-width: 0;
}

.next::after {
    right: .5rem;
    left: auto;
}

.counter {
    display: inline-block;
    font-size: 4rem;
    font-family: serif;
    font-style: italic;
}

.counter span:last-child::before {
    content: '/';
    margin: 0 1rem;
}

.prev:hover::after,
.next:hover::after {
    width: 3.5rem;
}

@media screen and (max-width: 550px) {
    .image {
        width: 100%;
    }

    .content {
        padding-right: 2rem;
    }

    nav {
        left: 0;
        right: auto;
    }
}

.cards {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 6rem;
    margin-bottom: 6rem;
    gap: 2.5rem;
    padding: 0 5%;
    /* adds nice spacing on left & right */
    box-sizing: border-box;
}


.card--1 .card__img,
.card--1 .card__img--hover {
    background-image: url('/abbe/Main/img/Placeholder.png');
}

.card--2 .card__img,
.card--2 .card__img--hover {
    background-image: url('/abbe/Main/img/Placeholder.png');
}

.card--3 .card__img,
.card--3 .card__img--hover {
    background-image: url('/abbe/Main/img/Placeholder.png');
}


.card__like {
    width: 18px;
}

.card__clock {
    width: 15px;
    vertical-align: middle;
    fill: #AD7D52;
}

.card__time {
    font-size: 12px;
    color: #AD7D52;
    vertical-align: middle;
    margin-left: 5px;
}

.card__clock-info {
    float: right;
}

.card__img {
    visibility: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 235px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;

}

.card__info-hover {
    position: absolute;
    padding: 16px;
    width: 100%;
    opacity: 0;
    top: 0;
}

.card__img--hover {
    transition: 0.2s all ease-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: absolute;
    height: 235px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    top: 0;

}

.card {
    margin-right: 25px;
    transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
    background-color: #fff;
    width: 33.3%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 13px 10px -7px rgba(0, 0, 0, 0.1);
}

.card:hover {
    box-shadow: 0px 30px 18px -8px rgba(0, 0, 0, 0.1);
    transform: scale(1.10, 1.10);
}

.card__info {
    z-index: 2;
    background-color: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 16px 24px 24px 24px;
}

.card__category {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 500;
    color: #868686;
}

.card__title {
    margin-top: 5px;
    margin-bottom: 10px;
    font-family: 'Roboto Slab', serif;
}

.card__by {
    font-size: 12px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}

.card__author {
    font-weight: 600;
    text-decoration: none;
    color: pink;
}

.card:hover .card__img--hover {
    height: 100%;
    opacity: 0.3;
}

.card:hover .card__info {
    background-color: transparent;
    position: relative;
}

.card:hover .card__info-hover {
    opacity: 1;
}

.container {
    max-width: 1170px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

ul {
    list-style: none;
}

/* -------------------------------------------------
   FOOTER — Luxury Side-by-Side Layout
------------------------------------------------- */
footer.footer {
    background-color: #fff;
    border-top: 2px solid #000;
    padding: 80px 0 50px 0;
    width: 100%;
    position: relative;
    font-family: "Work Sans", sans-serif;
    color: #111;
}

/* Container: limits width and centers everything */
footer .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Row layout: side-by-side alignment */
.row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    /* Keep columns in one row until smaller screens */
    gap: 3rem;
}

/* Columns */
.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-col h4 {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
}

/* Elegant underline under each title */
.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    background-color: #000;
    height: 2px;
    width: 40px;
}

/* Footer list links */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.95rem;
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #000;
    padding-left: 5px;
}

/* Social links */
.footer-col .social-links {
    margin-top: 15px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 38px;
    width: 38px;
    border: 1px solid #111;
    text-align: center;
    line-height: 38px;
    border-radius: 50%;
    color: #111;
    margin: 0 8px 8px 0;
    transition: all 0.4s ease;
}

.footer-col .social-links a:hover {
    background-color: #111;
    color: #fff;
}

/* Contact section */
.footer-col h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #000;
    font-weight: 500;
}

.footer-col p {
    font-size: 0.95rem;
    color: #333;
    letter-spacing: 0.2px;
}

/* Footer bottom line */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid #e3e3e3;
    padding-top: 20px;
}

/* -------------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------------- */
@media (max-width: 991px) {
    .row {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .footer-col {
        flex: 1 1 45%;
        min-width: 250px;
    }
}

@media (max-width: 600px) {
    .footer-col {
        flex: 1 1 100%;
    }

    footer .container {
        padding: 0 20px;
    }
}