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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #4a3728;
    background-color: #eae3bf;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Navigation */
.top-nav {
    background-color: #eae3bf;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    flex-shrink: 0;
    margin-right: 40px;
}

.nav-logo a {
    display: block;
    line-height: 0;
}

.nav-logo svg {
    height: 50px;
    width: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 15px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: #4a3728;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: #eae3bf;
    padding: 0;
    text-align: center;
    min-height: auto;
}

.hero-banner {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.1);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    z-index: 10;
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
}

.logo-svg {
    width: 600px;
    max-width: 90%;
    height: auto;
    margin: 0 auto 40px;
    display: block;
}

.logo-svg svg {
    width: 100%;
    height: auto;
}

.service-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    background-color: #2d3a5d;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    font-weight: 500;
}

.btn:hover {
    background-color: #1e2842;
}

.hero-message {
    font-size: 24px;
    color: #2d3a5d;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.8;
    background-color: transparent;
    padding: 0;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Section Styles */
.section {
    padding: 60px 20px;
    background-color: #fafaea;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.section > .container {
    padding: 20px 40px;
}

.section > .container-servicios-funerarios {
    padding: 60px 20px;
}

.section-title {
    font-size: 36px;
    color: #4a3728;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    color: #6b5d4f;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.section-subtitle {
    font-size: 28px;
    color: #4a3728;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: #fafaea;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-item h3 {
    color: #4a3728;
    margin-bottom: 15px;
    font-size: 24px;
}

.service-item p {
    color: #6b5d4f;
    line-height: 1.6;
}

/* Services List */
.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #4a3728;
    font-size: 16px;
}

.services-list li:before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 24px;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.two-column > div {
    padding: 10px;
}

.two-column img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Nuestra Historia specific styles */
.historia-main {
    align-items: start;
}

.historia-text {
    font-size: 18px;
    line-height: 1.8;
    padding: 20px;
}

.historia-text p {
    margin-bottom: 20px;
    color: #4a3728;
}

.historia-bottom {
    align-items: start;
}

.historia-column {
    font-size: 18px;
    line-height: 1.8;
    padding: 20px;
}

.historia-column h3 {
    color: #4a3728;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.historia-column p {
    color: #4a3728;
    margin: 0;
}

/* Trámites Posteriores specific styles */
.tramites-main {
    align-items: start;
}

.tramites-text {
    font-size: 18px;
    line-height: 1.8;
    padding: 20px;
}

.tramites-text h3 {
    color: #4a3728;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.tramites-list {
    color: #4a3728;
    padding-left: 25px;
    margin: 0;
}

.tramites-list li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.tramites-bottom {
    font-size: 18px;
    line-height: 1.8;
    padding: 20px;
}

.tramites-bottom h3 {
    color: #4a3728;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.tramites-bottom h4 {
    color: #4a3728;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 20px;
}

.tramites-list-unordered {
    color: #4a3728;
    padding-left: 25px;
    margin: 0;
}

.tramites-list-unordered li {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* Servicios Póstumos specific styles */
.postumos-main {
    align-items: start;
}

.postumos-text {
    font-size: 18px;
    line-height: 1.8;
    color: #4a3728;
    padding: 20px;
}

.postumos-text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.postumos-list {
    color: #4a3728;
    padding-left: 25px;
    margin: 0;
    list-style-type: disc;
}

.postumos-list li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.facebook-link {
    color: #1877f2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.facebook-link:hover {
    color: #0d5dbf;
    text-decoration: underline;
}

.postumos-whatsapp-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.postumos-whatsapp-link i {
    color: #25d366;
    font-size: 20px;
}

.postumos-whatsapp-link .postumos-phone-number {
    color: #4a3728;
    font-weight: 600;
}

.postumos-whatsapp-link:hover .postumos-phone-number {
    text-decoration: underline;
}

/* Floristeria specific styles */
.floristeria-main {
    align-items: start;
}

.floristeria-text {
    font-size: 18px;
    line-height: 1.8;
    color: #4a3728;
    padding: 20px;
}

.floristeria-text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.floristeria-list {
    color: #4a3728;
    padding-left: 25px;
    margin: 20px 0;
    list-style-type: disc;
}

.floristeria-list li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.floristeria-contact {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.floristeria-whatsapp-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.floristeria-whatsapp-link i {
    color: #25d366;
    font-size: 20px;
}

.floristeria-whatsapp-link .floristeria-phone-number {
    color: #4a3728;
    font-weight: 600;
}

.floristeria-whatsapp-link:hover .floristeria-phone-number {
    text-decoration: underline;
}

/* Floristeria Items Grid */
.floristeria-items-section {
    margin-top: 60px;
}

.floristeria-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.floristeria-item {
    background: #fafaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floristeria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.floristeria-item-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #eae3bf;
}

.floristeria-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.floristeria-image-clickable:hover {
    opacity: 0.8;
}

.floristeria-item-content {
    padding: 30px;
}

.floristeria-item-name {
    font-size: 22px;
    font-weight: 700;
    color: #4a3728;
    margin-bottom: 10px;
}

.floristeria-item-description {
    font-size: 16px;
    color: #4a3728;
    line-height: 1.6;
    margin-bottom: 15px;
}

.floristeria-item-price {
    font-size: 24px;
    font-weight: 700;
    color: #4a3728;
    margin-top: 10px;
}

/* Floristeria Modal */
.floristeria-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.floristeria-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 90vh;
    object-fit: contain;
    margin-top: 5vh;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.floristeria-modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    text-align: center;
    color: #fff;
    padding: 10px 0;
    height: auto;
    font-size: 20px;
    font-weight: 600;
}

.floristeria-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.floristeria-modal-close:hover,
.floristeria-modal-close:focus {
    color: #bbb;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .floristeria-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .floristeria-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floristeria-modal-content {
        width: 95%;
        max-width: 95%;
    }
    
    .floristeria-modal-caption {
        width: 95%;
        font-size: 16px;
    }
    
    .floristeria-modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .floristeria-items-grid {
        grid-template-columns: 1fr;
    }
}

/* Values Section */
.values-section {
    background-color: #fafaea;
    padding: 0 20px 60px 20px;
    margin: -60px auto 30px auto;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

/* Ajustar box-shadow del section cuando tiene values-section después */
#servicios.section {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1), 0 4px 0 rgba(255,255,255,1);
    border-radius: 15px 15px 0 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
}

.value-icon {
    font-size: 56px;
    margin-bottom: 20px;
    color: #2d3a5d;
}

.value-icon i {
    color: #2d3a5d;
}

.value-item h3 {
    color: #4a3728;
    margin-bottom: 15px;
    font-size: 24px;
}

.value-item p {
    color: #6b5d4f;
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #fafaea;
    padding: 60px 20px;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 1200px;
}

.testimonial {
    background: #fafaea;
    padding: 35px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-name {
    font-weight: bold;
    color: #4a3728;
    margin-right: 10px;
}

.testimonial-date {
    color: #888;
    font-size: 14px;
}

.testimonial-text {
    color: #6b5d4f;
    line-height: 1.8;
    margin-bottom: 10px;
}

.testimonial-actions {
    display: flex;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.testimonial-actions a {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
}

/* Contact Section */
.contact-section {
    background-color: #fafaea;
    padding: 60px 20px;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 1200px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-map {
    background-color: #f0f0f0;
    border-radius: 12px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-map img {
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    border-radius: 12px;
    display: block;
}

.contact-info {
    padding: 30px;
}

.contact-location {
    margin-bottom: 30px;
}

.contact-location h4 {
    color: #4a3728;
    margin-bottom: 10px;
    font-size: 20px;
}

.contact-location p {
    color: #6b5d4f;
    margin-bottom: 5px;
}

.contact-location a {
    color: #2563eb;
    text-decoration: none;
}

.contact-location a.maps-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-location a.maps-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.contact-location a.maps-link img {
    width: 20px;
    height: auto;
    vertical-align: middle;
    flex-shrink: 0;
    object-fit: contain;
}

.hours-info {
    margin: 20px 0;
    padding: 25px;
    background-color: #eae3bf;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.2;
}

.hours-info strong {
    color: #4a3728;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.hours-info span {
    color: #4a3728;
    display: block;
    margin: 0;
    line-height: 1.2;
}

.emergency-line {
    margin-top: 30px;
    padding: 25px;
    background-color: #eae3bf;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.6;
}

.emergency-line h4 {
    margin-bottom: 8px;
    color: #4a3728;
    font-size: 16px;
    font-weight: 600;
}

.emergency-line p {
    color: #4a3728;
    margin: 3px 0;
}

.emergency-whatsapp-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.emergency-whatsapp-link i {
    color: #25d366;
    font-size: 20px;
}

.emergency-whatsapp-link .emergency-phone-number {
    color: #4a3728;
    font-weight: 600;
}

.emergency-whatsapp-link:hover .emergency-phone-number {
    text-decoration: underline;
}

/* Caskets Grid (legacy) */
.caskets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.casket-item {
    text-align: center;
}

.casket-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 15px;
}

/* ----- Ataúdes section (Servicios Funerarios) ----- */
.ataudes-section-title {
    text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 28px;
    color: #4a3728;
}

.ataudes-intro-text {
    font-size: 18px;
    color: #6b5d4f;
    margin-bottom: 24px;
    line-height: 1.8;
}

/* Wrapper: ancho completo hasta el borde del contenedor */
.ataudes-wrap {
    max-width: 100%;
    width: 100%;
}

.ataudes-preamble {
    margin-bottom: 40px;
}

.ataudes-preamble-label {
    font-size: 16px;
    color: #6b5d4f;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    font-weight: 600;
}

/* 5 columnas; imágenes a altura natural (no recortadas) */
.ataudes-preamble-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    max-width: 100%;
}

.ataudes-preamble-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(74, 55, 40, 0.12);
    background: #eae3bf;
}

.ataudes-preamble-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    vertical-align: top;
    transition: transform 0.35s ease;
}

.ataudes-preamble-item:hover img {
    transform: scale(1.02);
}

/* 4 columnas para los 7 modelos; separado del bloque de arriba, mismo ancho que preámbulo */
.ataudes-models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 48px;
    margin-bottom: 40px;
    max-width: 100%;
}

.ataud-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(74, 55, 40, 0.1);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(74, 55, 40, 0.08);
    min-width: 0;
}

.ataud-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 55, 40, 0.18);
}

.ataud-card:focus {
    outline: 2px solid #2d3a5d;
    outline-offset: 2px;
}

.ataud-card-image-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
}

.ataud-card-image-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* Modal Ataúd: overlay fijo en viewport; abierto = centrado y bloquea toda la pantalla */
#ataud-modal.ataud-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    pointer-events: none;
    box-sizing: border-box;
}

#ataud-modal.ataud-modal.ataud-modal-open {
    display: flex;
    visibility: visible;
    pointer-events: auto;
}

/* Backdrop fijo en viewport para bloquear toda la pantalla */
.ataud-modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 55, 40, 0.82);
    cursor: pointer;
    z-index: 1;
}

/* Caja: columna (galería en fila + puntos abajo); cerrar arriba a la derecha */
.ataud-modal-box {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fafaea;
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    width: 700px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    padding: 20px 56px 24px;
    overflow: visible;
}

.ataud-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(74, 55, 40, 0.08);
    color: #4a3728;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    z-index: 3;
}

.ataud-modal-close:hover {
    background: rgba(74, 55, 40, 0.1);
    color: #2d3a5d;
}

/* Fila: botón anterior | imagen | botón siguiente */
.ataud-modal-gallery {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    order: 1;
}

.ataud-modal-prev,
.ataud-modal-next {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: none;
    background: #2d3a5d;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.2s, transform 0.2s;
}

.ataud-modal-prev:hover,
.ataud-modal-next:hover {
    background: #1e2842;
}

.ataud-modal-slide-wrap {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ataud-modal-slides img {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Puntos debajo de la imagen */
.ataud-modal-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    order: 2;
}

.ataud-modal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #c4b8a8;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.ataud-modal-dot:hover {
    background: #8b7355;
}

.ataud-modal-dot-active {
    background: #2d3a5d;
    transform: scale(1.2);
}

/* Urns Section */
.urns-section {
    margin-top: 60px;
}

.urns-category {
    margin-bottom: 40px;
}

.urns-category h3 {
    color: #4a3728;
    margin-bottom: 20px;
    font-size: 24px;
}

.urns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.urn-item {
    text-align: center;
}

.urn-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Wake Rooms Section */
.rooms-section {
    margin-top: 60px;
}

.room-item {
    margin-bottom: 60px;
    padding: 40px;
    background: #fafaea;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.room-item h3 {
    color: #4a3728;
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 10px;
}

.room-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.room-images img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.room-features {
    margin-top: 20px;
}

.room-features ul {
    list-style: none;
    padding: 0;
}

.room-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #4a3728;
}

.room-features li:before {
    content: "✓";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer */
.site-footer {
    background-color: #4a3728;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-logo h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 16px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .service-buttons {
        flex-direction: column;
        align-items: center;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

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

    .caskets-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ataudes-preamble-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .ataudes-preamble-item:nth-child(5) {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }

    .ataudes-models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 40px;
    }

    .ataud-modal-box {
        padding: 20px 16px 24px;
    }

    .ataud-modal-prev,
    .ataud-modal-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .nav-menu {
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: flex-end;
    }
    
    .nav-menu li a {
        padding: 5px 8px;
        font-size: 11px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    color: #fff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}
