@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Pinstripe:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Special+Gothic+Expanded+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
/* Full section with background image */
html{
    font-family: "Alumni Sans Pinstripe", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.hero {
    background-image: url('/images/ravalement.jpg'); /* replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    display: flex;
    justify-content: center;
}

/* Semi-transparent gold box */
.content {
    background-color: #00000067; /* gold with slight transparency */
    color: white;
    max-width: 900px;
    padding: 40px 50px;
    text-align: center;
    line-height: 1.6;
    border-radius: 4px;
}

/* Titles */
.content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: "Special Gothic Expanded One", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    font-family: "Alumni Sans Pinstripe", sans-serif;
}

/* Paragraphs */
.content p {
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-family: "Sansation", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: aliceblue;
}
/* SECTION */
.services {
    padding: 60px 20px;
    background: #ececec ;
}

/* CARDS (FIXED SIZE) */
.project-card-left,
.project-card-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 360px;                  /* 🔒 FIXED CARD HEIGHT */
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;               /* 🔒 PREVENT SIZE CHANGE */
    border-radius: 6px;
}

/* COLOR THEMES */
.project-card-left {
    background: #1C233F ;
    color: #f8f5f3;
}

.project-card-right {
    background: #f8f5f3;
    color: #000;
}

/* TEXT SIDE */
.project-left {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-left h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.project-left p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* IMAGE SIDE */
.project-right {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.project-right img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* DARK OVERLAY */
.project-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

/* HOVER EFFECTS */
.project-card-left:hover img,
.project-card-right:hover img {
    transform: scale(1.08);
}

.project-card-left:hover .project-right::after,
.project-card-right:hover .project-right::after {
    background: rgba(0, 0, 0, 0.25);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
    width: fit-content;
}

.project-card-left .btn {
    color: #f8f5f3;
    border: 1px solid #f8f5f3;
}

.project-card-left .btn:hover {
    background: #f8f5f3;
    color: #000;
}

.project-card-right .btn {
    color: #000;
    border: 1px solid #000;
}

.project-card-right .btn:hover {
    background: #028ea7;
    color: #fff;
    border-color: #028ea7;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .project-card-left,
    .project-card-right {
        grid-template-columns: 1fr;
        height: auto;              /* 🔓 FLOW ON MOBILE */
    }

    .project-right {
        height: 240px;
    }

    .project-left {
        text-align: center;
        padding: 25px;
    }

    .btn {
        margin: 0 auto;
    }
}
