/*
|--------------------------------------------------------------------------
| Manamperi Funeral Directors - styles.css
|--------------------------------------------------------------------------
| Stylesheet providing a dignified, clean, and responsive layout.
*/

/* ==================================== */
/* 1. GLOBAL RESET AND TYPOGRAPHY */
/* ==================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Define Color Palette */
    --primary-color: #A34E35;   /* Deep Maroon/Brown for dignity */
    --secondary-color: #4A4A4A; /* Dark Gray for text */
    --light-bg: #F9F9F9;        /* Light section background */
    --dark-bg: #333333;         /* Dark background/Footer */
    --white: #FFFFFF;
    --font-family: 'Georgia', serif; /* Classic, serious font */
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-bg);
    background-color: var(--white);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

h1, h2, h3 {
    margin-bottom: 0.5em;
    font-weight: 700;
    color: #1a1a1a;
}

p {
    margin-bottom: 1em;
}

/* Base button/link styling */
.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Secondary Button Style (used in Services/Packages section) */
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #333333;
    border-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button {
    margin-top: 20px;
}

/* ==================================== */
/* 2. HEADER AND NAVIGATION (NAVBAR) */
/* ==================================== */

header {
    background-color: #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.logo-text {
    color: var(--white);
    font-size: 1.7rem;
    letter-spacing: 1px;
    font-weight: bold;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--white);
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link:focus {
    color: var(--primary-color);
}

.nav-link:hover::after, .nav-link:focus::after {
    width: 100%;
}


/* ==================================== */
/* 3. HERO SECTION */
/* ==================================== */

.hero {
    /* Placeholder background image - REPLACE THIS! */
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    height: 70vh;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background-color: rgba(182, 182, 182, 0.212);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero-content {
    margin-bottom: 30px;
}

.title {
    color: var(--dark-bg);
    font-size: 3.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.title-down {
    font-size: 1.6rem;
    font-weight: 300;
    margin-top: 10px;
    color: #f0f0f0;
}

.subtitle {
    color: var(--dark-bg);
    font-size: 1.4rem;
    font-style: italic;
    margin-top: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.432);
}

.buttons .btn {
    margin: 0 15px;
}

.btn-package {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-package:hover {
    background-color: #8C422C;
    border-color: #8C422C;
}

.btn-contact {
    background-color: var(--dark-bg);
    color: var(--white);
    border: px solid var(--dark-bg);
}

.btn-contact:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--dark-bg);
}


/* ==================================== */
/* 4. SLIDER SECTION */
/* ==================================== */

.slider-container {
    overflow: hidden;
    margin: 60px auto;
    width: 100%;
    max-height: 600px; 
    position: relative;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    display: flex;
    width: 300%; /* For 3 slides */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    width: 33.33%; 
    flex-shrink: 0; 
    position: relative;
    height: 100%;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6); 
    padding: 30px 50px;
    border-radius: 8px;
    max-width: 90%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.slide-number {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.slide-title {
    font-size: 2.5rem;
    color: var(--white);
}

.slide-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #f0f0f0;
}

.slide-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.slide-button:hover {
    background-color: #8C422C;
}


/* ==================================== */
/* 5. SERVICES & PACKAGES SECTIONS */
/* ==================================== */

.services, .packages-overview {
    padding: 80px 5%;
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
}

.packages-overview {
    background-color: var(--light-bg);
}

.info-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: capitalize;
}

.info-text {
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-list, .package-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Service Item Styling */
.service-item {
    background-color: var(--white);
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

.service-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.service-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.info-services {
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-top: 0;
}

/* Package Item Styling */
.package-item {
    background-color: var(--white);
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.package-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.package-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.package-name {
    font-size: 2rem;
    color: var(--primary-color);
    padding-top: 20px;
    margin-bottom: 5px;
}

.package-description {
    padding: 0 20px 25px;
    font-size: 1rem;
    color: var(--secondary-color);
}


/* ==================================== */
/* 6. LOCATION MAP SECTION */
/* ==================================== */

.location-map {
    padding: 80px 5%;
    text-align: center;
}

.map-container {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 450px; /* Consistent height */
    display: block;
}


/* ==================================== */
/* 7. FOOTER */
/* ==================================== */

.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 50px 5%;
    text-align: center;
}

.upper-footer {
    padding-bottom: 25px;
    border-bottom: 1px solid #555555;
    margin-bottom: 25px;
}

.upper-footer h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 2rem;
}

.upper-footer p {
    margin: 8px 0;
    font-size: 1rem;
    color: #cccccc;
}

.lower-footer p {
    font-size: 0.9rem;
    margin: 0;
    color: #999999;
}


/* ==================================== */
/* 8. MEDIA QUERIES (RESPONSIVENESS) */
/* ==================================== */

@media (max-width: 992px) {
    .nav-item {
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    
    .navbar {
        flex-direction: column;
        padding: 15px 5%;
    }

    .nav-logo {
        margin-bottom: 10px;
    }

    .nav-menu {
        /* Stack vertically on smaller screens, hiding to implement a mobile menu (requires JS) */
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-item {
        margin: 5px 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }

    .hero {
        height: 60vh;
    }

    .title {
        font-size: 2.5rem;
    }

    .title-down {
        font-size: 1.2rem;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        width: 80%;
        max-width: 300px;
    }

    .buttons .btn {
        margin: 8px 0;
    }

    .info-title {
        font-size: 2.2rem;
    }

    /* Stack items on small screens for services and packages */
    .service-list, .package-list {
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 480px) {
    .hero {
        height: 70vh;
    }

    .title {
        font-size: 2rem;
    }
    
    .slide-content {
        padding: 20px 25px;
    }

    .slide-title {
        font-size: 1.6rem;
    }

    .slide-text {
        display: none; /* Hide long text on very small screens for better fit */
    }
    
    .map-container iframe {
        height: 300px;
    }
}
/* ==================================== */
/* 9. SERVICES PAGE SPECIFIC STYLES */
/* ==================================== */

.page-hero {
    /* Uses the existing .hero CSS but customized */
    background-size: cover;
    background-position: center 30%; /* Adjust to show relevant part of the banner image */
    height: 40vh; /* Shorter banner than the homepage hero */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero .hero-overlay {
    /* Use the existing overlay class */
    background-color: rgba(0, 0, 0, 0.6);
}

.page-hero .title {
    font-size: 3rem;
}

.page-hero .title-down {
    font-size: 1.4rem;
}

.detailed-services {
    padding: 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 70px;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.service-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-detail-item.reverse {
    flex-direction: row-reverse; /* Swap content and image */
}

.service-detail-img {
    width: 45%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-detail-content {
    width: 55%;
}

.service-detail-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-detail-lead {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-detail-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.service-detail-content ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%23A34E35"><path d="M20.285 2l-11.285 11.567-5.286-5.021-3.714 3.716 9 8.739 15-15.346z"/></svg>') no-repeat left 5px;
    background-size: 16px 16px;
    padding-left: 30px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* CTA Section at the bottom of the Services page */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 5%;
}

.cta-section .info-title {
    color: var(--white);
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.cta-section .btn-package {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    font-size: 1.1rem;
}

.cta-section .btn-package:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* -------------------- */
/* Service Page Media Queries */
/* -------------------- */

@media (max-width: 900px) {
    .service-detail-item,
    .service-detail-item.reverse {
        flex-direction: column; /* Stack vertically */
        text-align: center;
        gap: 20px;
    }

    .service-detail-img,
    .service-detail-content {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .service-detail-content ul {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 30px;
    }
}

@media (max-width: 500px) {
    .page-hero .title {
        font-size: 2rem;
    }

    .page-hero .title-down {
        font-size: 1rem;
    }

    .service-detail-img {
        height: 250px;
    }
}

/* ==================================== */
/* 10. ABOUT US PAGE SPECIFIC STYLES */
/* ==================================== */

/* Re-using page-hero class with specific style for About page */
.page-hero[style*="about-banner"] {
    background-position: center bottom; /* Adjust banner image focus */
}

/* Styles for the main content blocks */
.about-section {
    padding-bottom: 40px;
}

.about-content-block {
    margin-bottom: 50px;
    padding: 20px;
    background-color: var(--light-bg);
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    text-align: left;
}

.about-subtitle {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.values-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.values-list li {
    padding-left: 25px;
    margin-bottom: 10px;
    /* Custom bullet point using primary color */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8" fill="%23A34E35"/></svg>') no-repeat left center;
    background-size: 12px 12px;
}

/* History Grid Styling */
.history-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 30px;
}

.history-img {
    width: 40%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.history-text {
    width: 60%;
    font-size: 1.05rem;
}


/* Meet the Team Section Styling (Reuses package-list grid) */
.team-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.team-member {
    padding: 0;
    text-align: center;
    background-color: var(--white);
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 5px 0;
}

.team-role {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.team-description {
    font-size: 0.95rem;
    padding: 0 15px 25px;
    color: #666;
}

/* -------------------- */
/* About Page Media Queries */
/* -------------------- */

@media (max-width: 768px) {
    .history-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .history-img,
    .history-text {
        width: 100%;
        max-width: 450px;
    }

    .team-photo {
        height: 250px;
    }
}

/* ==================================== */
/* 11. PACKAGES PAGE SPECIFIC STYLES */
/* ==================================== */

/* Re-using page-hero class with specific style for Packages page */
.page-hero[style*="packages-banner"] {
    background-position: center center;
}

.packages-pricing {
    /* Reuses the styling from .packages-overview */
    padding-top: 80px;
    padding-bottom: 80px;
}

.pricing-table {
    /* Reuses the package-list grid layout */
    margin-top: 40px;
}

.package-card {
    /* Reuses .package-item styling */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    text-align: center;
    border: 3px solid var(--light-bg); /* Default border */
    transition: all 0.3s ease-in-out;
}

.package-card.featured {
    /* Highlight the middle package */
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.package-card .package-img {
    height: 220px;
    object-fit: cover;
    margin-bottom: 15px;
}

.package-card .package-name {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.package-card .package-description {
    padding: 0 20px;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.package-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 30px;
}

/* Feature List Styling */
.features-list {
    list-style: none;
    padding: 0 25px;
    text-align: left;
    flex-grow: 1; /* Ensures buttons align at the bottom */
}

.features-list li {
    padding: 10px 0 10px 35px;
    border-bottom: 1px dashed #eee;
    font-size: 0.95rem;
    line-height: 1.4;
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 20px;
}

.features-list li.included {
    /* Custom checkmark using SVG data URI for included features */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2328A745"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
    color: #444;
}

.features-list li.excluded {
    /* Custom 'X' mark using SVG data URI for excluded features */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23DC3545"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
    color: #888;
    text-decoration: line-through;
}

.package-card .btn {
    margin: 25px 20px;
    width: calc(100% - 40px);
    font-size: 1rem;
}

/* -------------------- */
/* Packages Page Media Queries */
/* -------------------- */

@media (max-width: 900px) {
    .package-card.featured {
        transform: scale(1.03); /* Slight scale down for medium screens */
    }
}

@media (max-width: 768px) {
    .packages-pricing {
        padding: 50px 5%;
    }

    .pricing-table {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: none; /* Remove scale on small screens to save space */
    }
    
    .package-card .price {
        font-size: 2rem;
    }
}
/* ==================================== */
/* 12. CONTACT PAGE SPECIFIC STYLES */
/* ==================================== */

/* Re-using page-hero class with specific style for Contact page */
.page-hero[style*="contact-banner"] {
    background-position: center bottom;
}

.contact-section {
    padding: 80px 5%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Info slightly wider than the form */
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

/* Contact Information Styles */
.contact-info {
    padding-right: 20px;
}

.contact-info .info-title {
    text-align: left;
}

.contact-info .info-text {
    text-align: left;
    margin-bottom: 30px;
}

.contact-details-list {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.detail-item {
    margin-bottom: 25px;
}

.detail-heading {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 5px;
    font-weight: bold;
}

.detail-value {
    font-size: 1rem;
    color: var(--secondary-color);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #8C422C;
}


/* Contact Form Styles */
.contact-form-container {
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-package {
    margin-top: 10px;
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

/* -------------------- */
/* Contact Page Media Queries */
/* -------------------- */

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 40px;
    }
    
    .contact-info,
    .contact-form-container {
        padding-right: 0;
    }

    .contact-info .info-title,
    .contact-info .info-text {
        text-align: center;
    }
}
/* Gallery Section */
.gallery-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.gallery-section h1 {
  font-size: 36px;
  color: #111;
  margin-bottom: 10px;
}

.gallery-section p {
  color: #555;
  font-size: 16px;
  margin-bottom: 40px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-info {
  padding: 15px;
}

.gallery-info h3 {
  font-size: 20px;
  color: #111;
  margin-bottom: 5px;
}

.gallery-info p {
  color: #555;
  font-size: 14px;
}