/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Figtree', sans-serif;
    background-color: #f8fafc;
    color: #1f2937;
    line-height: 1.6;
    padding-top: 80px; /* Add padding to account for fixed header */
}

/* Mobile body padding adjustment */
@media (max-width: 768px) {
    body {
        padding-top: 120px; /* Increase padding for mobile to account for header + promo banner */
    }
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
    font-size: 1.5rem;
    line-height: 1;
    word-break: break-word;
    font-family: 'Cinzel', serif;
}

/* Typography - Roboto for content */
p, span, div, a, li, td, th, label, input, button, .btn {
    font-family: 'Roboto', sans-serif !important;
}

/* Hero section styles */
.services-hero, .about-hero, .contact-hero, .articles-hero, .condolence-hero, .rooms-hero {
    background: #0b2353 !important;
    color: white !important;
    padding: 4rem 0 !important;
    text-align: center !important;
}

.services-hero h1, .services-hero h2,
.about-hero h1, .about-hero h2,
.contact-hero h1, .contact-hero h2,
.articles-hero h1, .articles-hero h2,
.condolence-hero h1, .condolence-hero h2,
.rooms-hero h1, .rooms-hero h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: white;
    font-family: 'Cinzel', serif;
}

.services-hero p, .about-hero p, .contact-hero p, .articles-hero p, .condolence-hero p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 900px;
    margin: 0 auto;
    color: white;
    font-family: 'Roboto', sans-serif;
}

/* Navigation styles */

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.site-header {
    background-color: white !important;
    color: black !important;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.logo a {
    font-size: 1.75rem;
    font-weight: 700;
    color: black !important;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.site-nav ul li a {
    color: black !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0c56a1 !important; /* Blue on hover */
}

.nav-link.active {
    color: #0c56a1 !important; /* Blue for active */
}

.header-extras .btn {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-login {
    background-color: transparent !important;
    border: 1px solid #0c56a1 !important;
    color: #0c56a1 !important;
}

.btn-login:hover {
    background-color: #0c56a1 !important;
    color: white !important;
}

.btn-register {
    background-color: #2563eb !important;
    color: white !important;
    border: none !important;
}

.btn-register:hover {
    background-color: #1d4ed8 !important;
}

/* Promo Banner */
.promo-banner {
    background-color: #dc2626; /* Red */
    color: white;
    text-align: center;
    padding: 0.75rem 0;
    font-weight: 700;
    font-size: 1rem;
    position: static;
    transition: opacity 0.3s ease;
}

.promo-banner.hidden {
    display: none;
}

/* Ensure promo banner is hidden on mobile when nav is open */
@media (max-width: 900px) {
    .nav-overlay.show ~ .promo-banner {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('/images/hero-bg.jpg') center center/cover no-repeat;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 64, 175, 0.7); /* Blue overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

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

/* Services Cards */
.services-cards {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    gap: 1rem;
}

.service-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
    flex: 1;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-image {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Placeholder background colors for service images */
.service-funeral {
    background-color: #d1d5db; /* Gray */
}

.service-virtual {
    background-color: #9ca3af; /* Darker gray */
}

.service-flowers {
    background-color: #ef4444; /* Red */
}

.service-card h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: white;
}

/* Info Section */
.info-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-list {
    flex: 1;
}

.info-list ul {
    list-style: disc inside;
    font-weight: 600;
    color: #1e40af;
}

.info-list ul li {
    margin-bottom: 0.75rem;
}

.info-text {
    flex: 2;
}

.info-text h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Pricing Table */
/* .pricing-table h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e40af;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-table th {
    background-color: #e0e7ff;
    color: #1e40af;
    font-weight: 700;
}

.pricing-table tbody tr:hover {
    background-color: #f3f4f6;
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 600;
} */

/* Pricing Table */
.pricing-table h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e40af;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-table th {
    background-color: #e0e7ff;
    color: #1e40af;
    font-weight: 700;
}

.pricing-table tbody tr:hover {
    background-color: #f3f4f6;
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 600;
}

/* Pricing feature items styling moved to line 1233+ */

.pricing-features .feature-item:last-child {
    margin-bottom: 0 !important;
}

.pricing-features .feature-icon {
    position: relative !important;
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
    background: none !important;
    border-radius: 0 !important;
}

.pricing-features .feature-icon:after {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    font-weight: bold !important;
    font-size: 14px !important;
}

.pricing-features .feature-icon.checkmark:after {
    content: '✓' !important;
    color: #16a34a !important;
}

.pricing-features .feature-icon.close:after {
    content: '✕' !important;
    color: #dc2626 !important;
}

/* Pricing Card Headers */
.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.price .currency {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
}

.price .amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
}

.price-description {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e40af;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Footer */
.site-footer {
    background-color: #0b2353; /* Dark blue */
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.footer-logo p {
    margin-top: 0.5rem;
    max-width: 300px;
    line-height: 1.4;
}

.footer-contact,
.footer-testimonials {
    flex: 1;
    min-width: 200px;
}

.footer-contact h4,
.footer-testimonials h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact ul li {
    margin-bottom: 0.5rem;
}

.footer-contact ul li a {
    color: #93c5fd;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact ul li a svg,
.footer-contact ul li a img {
    flex-shrink: 0;
    vertical-align: middle;
}

.footer-contact ul li a:hover {
    text-decoration: underline;
}

.footer-testimonials p {
    margin-bottom: 1rem;
    font-style: italic;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #cbd5e1;
}

/* Room Page Styles */
.room-page {
    background-color: #f8fafc;
}

.room-header {
    background-color: #1e40af;
    color: white;
    padding: 1rem 0;
}

.room-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.room-status {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.active {
    background-color: #10b981;
    color: white;
}

.status-badge.scheduled {
    background-color: #f59e0b;
    color: white;
}

.status-badge.ended {
    background-color: #6b7280;
    color: white;
}

.participants-count {
    font-size: 0.875rem;
    color: #e5e7eb;
}

.room-controls {
    display: flex;
    gap: 0.5rem;
}

/* Memorial Banner */
.memorial-banner {
    position: relative;
    background: #0b2353;
    color: white;
    padding: 2rem 0;
}

.memorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.memorial-content {
    position: relative;
    z-index: 2;
}

.deceased-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.deceased-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    flex-shrink: 0;
    position: relative;
    background-color: #d1d5db;
}

.deceased-photo img,
.deceased-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.photo-placeholder img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    opacity: 0.6;
}

.deceased-details h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.life-dates {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #e5e7eb;
}

.islamic-prayer {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.prayer-translation {
    font-style: italic;
    color: #d1d5db;
}

/* Room Layout */
.room-main {
    padding: 2rem 0;
}

.room-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Live Stream Section */
.live-stream-section {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
    overflow: hidden;
}

.stream-container {
    position: relative;
}

.youtube-stream-container {
    padding: 1rem;
}

.stream-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.stream-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.stream-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-indicator {
    color: #dc2626;
    font-weight: 700;
    font-size: 0.875rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.service-type {
    color: #6b7280;
    font-size: 0.875rem;
}

.youtube-player-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.youtube-player-wrapper iframe {
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}

.stream-controls {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.stream-placeholder {
    padding: 2rem;
    text-align: center;
    background-color: #f9fafb;
}

.stream-icon {
    width: 80px;
    height: 80px;
    background-color: #d1d5db;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.stream-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.stream-placeholder p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.service-time {
    margin-bottom: 1rem;
    color: #374151;
    font-weight: 600;
}

.stream-status-message {
    margin-bottom: 1rem;
}

.stream-status-message p {
    font-weight: 600;
    color: #6b7280;
}

.stream-btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Prayer Times */
.prayer-times {
    background-color: #f0f9ff;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

.prayer-times h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e40af;
}

.prayer-schedule {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prayer-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background-color: white;
    border-radius: 0.375rem;
}

.prayer-name {
    font-weight: 600;
    color: #374151;
}

.prayer-hour {
    font-weight: 700;
    color: #1e40af;
}

/* Sidebar */
.room-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.family-contact-card,
.room-features-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
}

.family-contact-card h3,
.room-features-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-name {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contact-relationship {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-details a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    background-color: #f9fafb;
}

.feature-item.active {
    background-color: #ecfdf5;
    color: #065f46;
}

.feature-icon {
    width: 20px;
    height: 20px;
    background-color: #10b981;
    border-radius: 0.25rem;
}

/* Floating Contact Component */
.floating-contact {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 999 !important;
}

.floating-contact-toggle {
    background-color: #2563eb;
    color: white;
    border-radius: 50px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.floating-contact-toggle:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.floating-contact-toggle.active {
    border-radius: 25px;
    background-color: #1d4ed8;
}

.contact-text {
    white-space: nowrap;
}

.floating-contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 15px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.floating-contact-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-contact-options::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

.contact-option:last-child {
    margin-bottom: 0;
}

.contact-option:hover {
    background-color: #f3f4f6;
    transform: translateX(5px);
}

.call-option:hover {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.whatsapp-option:hover {
    background-color: #dcfce7;
    color: #16a34a;
}

.option-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.call-option .option-icon {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.whatsapp-option .option-icon {
    background-color: #dcfce7;
    color: #16a34a;
}

.call-option:hover .option-icon {
    background-color: #1d4ed8;
    color: white;
}

.whatsapp-option:hover .option-icon {
    background-color: #16a34a;
    color: white;
}

/* Mobile responsiveness for floating contact */
@media (max-width: 768px) {
    /* Hero sections responsive paragraph styling */
    .services-hero p, .about-hero p, .contact-hero p, .articles-hero p, .condolence-hero p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .floating-contact {
        bottom: 20px !important;
        right: 20px !important;
    }

    .floating-contact-toggle {
        padding: 12px 16px !important;
        font-size: 13px !important;
    }

    .contact-text {
        display: none !important;
    }

    .floating-contact-options {
        min-width: 180px !important;
        right: -10px !important;
    }

    .floating-contact-options::after {
        right: 25px !important;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .header-extras {
        display: flex;
        gap: 1rem;
        width: 100%;
        justify-content: flex-start;
    }

    .services-cards {
        flex-direction: column;
    }

    .info-section {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .room-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .room-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .deceased-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .room-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stream-controls {
        flex-direction: column;
        align-items: center;
    }

    .youtube-player-wrapper iframe {
        height: 250px;
    }
}

/* Welcome Modern Page Styles */

/* Font Typography - Enhanced for Welcome Modern */
.hero-title, .section-title, .step-content h3, .pricing-header h3 {
    font-weight: 200;
    font-size: 1.5rem;
    line-height: 1;
    font-family: 'Cinzel', serif;
}

.hero-description, .section-description, .step-content p, .feature-item span, .pricing-features span, .cta-content p {
    font-family: 'Roboto', sans-serif !important;
}

/* Pricing Card Styles */
.pricing-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem !important;
    font-size: 0.85rem !important;
    background: white !important;
    border: 2px solid #f3f4f6 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    margin-top: 20px !important;
    padding-bottom: 1.5rem;
    max-width: 300px !important;
    height: auto !important;
    min-height: 520px !important;
}

/* Gold Card Special Styling */
.pricing-card:has(.popular-badge) {
    border: 2px solid #0b2353 !important;
    box-shadow: 0 8px 20px rgba(11, 35, 83, 0.15) !important;
}

/* Pricing Features Container */
.pricing-features {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 1rem 0 !important;
}

/* Pricing Feature Items - Flexible height based on content */
.pricing-features .feature-item {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    color: #374151 !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    box-sizing: border-box !important;
}

.pricing-features .feature-item:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.pricing-features .feature-item.included {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #166534 !important;
}

.pricing-features .feature-item.not-included {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #991b1b !important;
}

/* Feature item icon styling - vertically aligned to first line */
.pricing-features .feature-item .feature-icon {
    flex-shrink: 0 !important;
    margin-top: 3px !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
}

/* Feature item text styling - flexible for any number of lines */
.pricing-features .feature-item span {
    flex: 1 !important;
    text-align: left !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Feature Icon Sizing */
.feature-icon {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

/* Pricing Header Styling */
.pricing-header {
    width: 100% !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid #f3f4f6 !important;
}

.pricing-header h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #0b2353 !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: 0.5px !important;
}

.pricing-header .price {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 4px !important;
}

.pricing-header .currency {
    font-size: 1rem !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
}

.pricing-header .amount {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #0b2353 !important;
}

/* Pricing Package Buttons */
.btn-pilih-paket {
    background: #0b2353 !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 1rem !important;
}

.btn-pilih-paket:hover {
    background: #1e40af !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(11, 35, 83, 0.3) !important;
}

.pricing-card .text-center {
    width: 100%;
    margin-top: auto;
    padding: 1rem 0;
}

.pricing-card .btn {
    margin: 0 auto;
    display: inline-block;
}

.pricing-header, .feature-list {
    width: 100%;
}

.pricing-card .btn-outline,
.pricing-card .btn-primary-modern {
    display: block;
    margin: 1rem auto 0;
    width: fit-content;
}

.pricing-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: #3b82f6 !important;
}

.pricing-header h3 {
    font-size: 1.4rem !important;
}

.price .amount {
    font-size: 1.3rem !important;
}

.feature-item span {
    font-size: 0.85rem !important;
}

/* Emergency Button Styles */
.btn-emergency {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(239,68,68,0.12);
}

.btn-emergency:hover {
    background: linear-gradient(90deg, #b91c1c 0%, #991b1b 100%) !important;
    color: #fff !important;
}

/* Pricing Grid Layout */
.pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    justify-items: center !important;
    align-items: start !important;
}

/* Modern Button Hover Effects */
.btn-primary-modern:hover {
    background: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary-modern:hover {
    background: rgba(255,255,255,0.2) !important;
    border-color: rgba(255,255,255,0.5) !important;
    transform: translateY(-2px);
}

.btn-secondary-modern {
    box-shadow: 0 0 0 2px #0c56a1 !important;
    border: 2px solid #0c56a1 !important;
}

/* Mobile responsiveness for hero */
@media (max-width: 768px) {
    .modern-hero {
        height: 80vh !important;
        padding: 2rem 0 !important;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-description {
        font-size: 1rem !important;
    }

    .hero-actions {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Pricing Grid Responsive */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 650px !important;
    }

    .pricing-card {
        max-width: 300px !important;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 350px !important;
    }

    .pricing-card {
        max-width: 320px !important;
        min-height: auto !important;
    }
}@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .pricing-card:first-child {
        margin-bottom: 2rem !important;
    }

    .pricing-card.popular {
        margin-bottom: 2rem !important;
    }
}

/* Hero Carousel Styles */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: grayscale(100%) brightness(0.4) contrast(1.2);
}

.carousel-slide.active {
    opacity: 1;
}

.hero-gradient {
    position: relative;
    z-index: 2;
}

.hero-pattern {
    position: relative;
    z-index: 2;
}

/* Hero Title Styling */
.hero-title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
}

/* Step Items Responsive Styling */
.step-item.step-wider {
    flex: 1.5 !important;
    max-width: none !important;
}

.step-item.step-wider .step-content {
    width: 120% !important;
    max-width: none !important;
    min-width: 300px !important;
    padding: 1.5rem !important;
}

.step-item:nth-child(1),
.step-item:nth-child(3) {
    flex: 1.8 !important;
    max-width: none !important;
    margin: 0 0.5rem !important;
}

.step-item:nth-child(5) .step-content {
    width: 115% !important;
    max-width: none !important;
    min-width: 280px !important;
    padding: 1.5rem 1.5rem !important;
    margin-left: -7.5% !important;
}

.step-content {
    min-height: 120px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.step-content h3 {
    margin-bottom: 1rem !important;
}

.step-content p {
    flex-grow: 1 !important;
    margin: 0 !important;
}

/* Popular Badge Styling */
.popular-badge {
    position: absolute !important;
    top: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #0b2353 !important;
    color: white !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    z-index: 10 !important;
    white-space: nowrap !important;
}

/* Space Badge for Alignment - Invisible spacer */
.space-badge {
    position: absolute !important;
    top: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    z-index: 10 !important;
    white-space: nowrap !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Add spacing between popular badge and pricing header */
.pricing-card:has(.popular-badge) .pricing-header {
    margin-top: 1.5rem !important;
}

/* Alternative approach for better browser support */
.popular-badge + .pricing-header {
    margin-top: 1.5rem !important;
}

/* Add same spacing for cards with space-badge */
.space-badge + .pricing-header {
    margin-top: 1.5rem !important;
}



/* Cara Kerja Kami Section Styling */
.how-it-works {
    padding: 4rem 0;
    background: #f8fafc;
}

.how-it-works .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.how-it-works .section-badge {
    display: inline-block;
    background: #dbeafe;
    color: #3b82f6;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid #bfdbfe;
}

.how-it-works .section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #1f2937;
    margin: 0;
    font-family: 'Cinzel', serif;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.step-item {
    flex: 1;
    text-align: center;
    max-width: 280px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-family: 'Cinzel', serif;
}

.step-content p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.step-connector {
    position: absolute;
    top: 30px;
    left: 50%;
    width: calc(100% - 120px);
    height: 2px;
    background: #e5e7eb;
    transform: translateX(-50%);
    z-index: 1;
}

.step-connector::before {
    content: '';
    position: absolute;
    top: -4px;
    right: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid #e5e7eb;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Pricing Section Header Styling */
.pricing-modern {
    padding: 4rem 0;
    background: white;
}

.pricing-modern .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-modern .section-badge {
    display: inline-block;
    background: #dbeafe;
    color: #3b82f6;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid #bfdbfe;
}

.pricing-modern .section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #1f2937;
    margin: 0 0 1rem 0;
    font-family: 'Cinzel', serif;
}

.pricing-modern .section-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Roboto', sans-serif;
}

/* CTA Section Styling */
.cta-section {
    background: #0b2353;
    padding: 4rem 0;
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Cinzel', serif;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #d1d5db;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-actions .btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-actions .btn-primary-modern {
    background: #3b82f6;
    color: white;
    border: none;
}

.cta-actions .btn-primary-modern:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.cta-actions .btn-emergency {
    background: #ef4444;
    color: white;
    border: none;
}

.cta-actions .btn-emergency:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

/* About Page Styles */

/* Top Red Banner */
.top-banner {
    background: #dc2626;
    color: white;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-family: 'Roboto', sans-serif;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background: white;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.services-content h2 {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 2rem;
    font-family: 'Cinzel', serif;
}

.services-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

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

.services-list li strong {
    color: #1f2937;
    font-weight: 600;
}

/* Services Closing Section */
.services-closing {
    background: white;
    padding: 3rem 0;
}

.services-closing .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-closing p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.services-closing p:last-child {
    margin-bottom: 0;
}

.services-image {
    background: #e2e8f0;
    border-radius: 12px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.mission-vision-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-card, .vision-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
    padding: 3rem 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.mission-icon, .vision-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.mission-icon {
    background: #3b82f6;
}

.vision-icon {
    background: #10b981;
}

.mission-card h3, .vision-card h3 {
    font-size: 1.75rem;
    color: #2563eb;
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

.mission-card p, .vision-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    text-align: left;
}

/* About Page Responsive Design */
@media (max-width: 768px) {
    .services-container,
    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .services-content h2,
    .mission-card h3,
    .vision-card h3 {
        font-size: 1.5rem;
    }
}

/* Flower Index Page Styles */

/* Flower grid layout */
.flower-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.flower-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flower-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.flower-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #6b7280;
}

.flower-content {
    padding: 1.5rem;
}

.flower-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.btn-order {
    width: 100%;
    background: #059669;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-order:hover {
    background: #047857;
}

/* Framed text section styling */
.framed-text {
    background: #dbeafe;
    color: #1e40af;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-align: center;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #bfdbfe;
}

/* Flower Order Page Styles */

/* Order page specific styles */
.order-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.flower-product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.flower-image-container {
    width: 240px;
    height: 240px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flower-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.flower-image-placeholder {
    font-size: 4rem;
    color: #64748b;
}

.flower-details {
    flex: 1;
}

.flower-title {
    font-family: 'Cinzel', serif;
    font-size: 1.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.flower-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: 1rem;
}

.flower-description {
    color: #6b7280;
    line-height: 1.6;
}

.order-form-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6b7280;
    margin-bottom: 2rem;
}

.order-form-section .form-group {
    margin-bottom: 1.5rem;
}

.order-form-section .form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.order-form-section .form-group input,
.order-form-section .form-group select,
.order-form-section .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.order-form-section .form-group input:focus,
.order-form-section .form-group select:focus,
.order-form-section .form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.order-form-section .form-group textarea {
    resize: vertical;
}

.order-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.summary-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-item {
    font-weight: 500;
    color: #374151;
}

.summary-price {
    font-weight: 600;
    color: #059669;
    font-size: 1.125rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    flex: 1;
    background: #6b7280;
    color: white;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-primary {
    flex: 1;
    background: #059669;
    color: white;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #047857;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    color: #059669;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-danger {
    color: #7f1d1d;
    background-color: #fef2f2;
    border-color: #fecaca;
}

.alert ul {
    margin: 0;
    padding-left: 1.25rem;
}

.alert li {
    margin-bottom: 0.25rem;
}

/* Flower Order Page Responsive Design */
@media (max-width: 768px) {
    .order-container {
        padding: 1rem;
    }

    .flower-product-card {
        flex-direction: column;
        text-align: center;
    }

    .flower-image-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .action-buttons {
        flex-direction: column;
    }
}

/* ============================================
   ROOMS CAROUSEL COMPONENT STYLES
   ============================================ */

/* Main carousel section */
.rooms-carousel-section {
    padding: 4rem 0;
    background: #f9fafb;
    overflow: hidden;
}

.rooms-carousel-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header section */
.rooms-carousel-header {
    text-align: center;
    margin-bottom: 3rem;
}

.rooms-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #1f2937;
    margin-bottom: 1rem;
}

.rooms-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel wrapper */
.carousel-wrapper {
    position: relative;
    margin-bottom: 2rem;
    overflow: visible;
}

.rooms-carousel {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 1.5rem;
}

/* Navigation buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-prev {
    left: -24px;
}

.carousel-next {
    right: -24px;
}

.nav-icon {
    width: 20px;
    height: 20px;
    color: #374151;
}

/* Memorial room cards */
.memorial-room-card {
    flex: 0 0 calc(33.333% - 1rem);
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: visible;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: relative;
}

.memorial-room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

/* Card header */
.room-card-header {
    padding: 1rem 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.room-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-live {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.status-scheduled {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

.status-ended {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.status-tomorrow {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.room-id {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Deceased info section */
.deceased-info {
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.deceased-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    background-color: #f9fafb;
    position: relative;
}

.deceased-avatar img,
.deceased-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}

.deceased-details {
    flex: 1;
    min-width: 0;
}

.deceased-name {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: #111827;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.deceased-dates {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.service-type {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Room statistics */
.room-statistics {
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.stat-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #e5e7eb;
}

/* Card actions */
.room-card-actions {
    padding: 1.25rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.join-btn, .view-btn {
    flex: 1;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.join-btn {
    background: #0b2353;
    color: white;
    border: 1px solid #0b2353;
}

.join-btn:hover {
    background: #1e40af;
    border-color: #1e40af;
    transform: translateY(-1px);
}

.view-btn {
    background: #6b7280;
    color: white;
    border: 1px solid #6b7280;
}

.view-btn:hover {
    background: #4b5563;
    border-color: #4b5563;
    transform: translateY(-1px);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #374151;
}

.share-icon {
    width: 16px;
    height: 16px;
}

/* Share Modal Styles */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-modal.show {
    opacity: 1;
    visibility: visible;
}

.share-modal-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
    margin: 1rem;
}

.share-modal.show .share-modal-content {
    transform: scale(1) translateY(0);
}

.share-modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
    border-radius: 12px 12px 0 0;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-weight: 300;
    line-height: 1;
}

.close-modal:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.share-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
}

.share-title {
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
    color: #6b7280;
    text-align: center;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.share-modal .share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    background: white;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 80px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.share-modal .share-option:active {
    transform: scale(0.95);
    background: #f3f4f6;
}

.share-modal .share-option:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-modal .share-option svg {
    width: 24px;
    height: 24px;
}

.share-modal .share-option span {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.share-modal .share-option.whatsapp:hover {
    border-color: #25d366;
    color: #25d366;
}

.share-modal .share-option.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.share-modal .share-option.twitter:hover {
    border-color: #1da1f2;
    color: #1da1f2;
}

.share-modal .share-option.tiktok:hover {
    border-color: #000000;
    color: #000000;
}

.share-modal .share-option.instagram:hover {
    border-color: #e4405f;
    color: #e4405f;
}

.share-modal .share-option.copy-link:hover {
    border-color: #6366f1;
    color: #6366f1;
}

/* Mobile and Tablet Responsiveness */
@media (max-width: 768px) {
    .share-modal {
        padding: 1rem;
        align-items: flex-end;
    }

    .share-modal-content {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 20px 20px 0 0;
        max-height: 85vh;
        animation: slideUp 0.3s ease-out;
    }

    .share-modal.show .share-modal-content {
        transform: translateY(0);
    }

    .share-modal-header {
        padding: 1rem 1.25rem;
        position: relative;
    }

    .share-modal-header::before {
        content: '';
        position: absolute;
        top: 0.75rem;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #d1d5db;
        border-radius: 2px;
    }

    .share-modal-header h3 {
        font-size: 1.125rem;
        margin-top: 0.5rem;
    }

    .share-modal-body {
        padding: 1rem 1.25rem 2rem;
        max-height: calc(85vh - 100px);
        -webkit-overflow-scrolling: touch;
    }

    .share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .share-modal .share-option {
        padding: 1.25rem 0.75rem;
        min-height: 90px;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    .share-modal .share-option svg {
        width: 28px;
        height: 28px;
    }

    .share-modal .share-option span {
        font-size: 0.75rem;
        margin-top: 0.25rem;
    }

    .close-modal {
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .share-modal {
        padding: 0.5rem;
    }

    .share-modal-content {
        max-height: 90vh;
    }

    .share-modal-header {
        padding: 0.875rem 1rem;
    }

    .share-modal-header h3 {
        font-size: 1rem;
    }

    .share-modal-body {
        padding: 0.875rem 1rem 1.5rem;
        max-height: calc(90vh - 90px);
    }

    .share-options {
        gap: 0.75rem;
    }

    .share-modal .share-option {
        padding: 1rem 0.5rem;
        min-height: 80px;
    }

    .share-modal .share-option svg {
        width: 24px;
        height: 24px;
    }

    .share-modal .share-option span {
        font-size: 0.7rem;
    }

    .share-title {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
}

/* Large Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .share-modal {
        align-items: center;
    }

    .share-modal-content {
        max-height: 80vh;
        border-radius: 16px;
    }

    .share-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .share-modal-content {
        max-width: 600px;
        width: 85%;
    }

    .share-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .share-modal .share-option {
        padding: 1.25rem;
        min-height: 100px;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .share-modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* Share dropdown styles */
.share-dropdown {
    position: relative;
    display: inline-block;
}

.share-dropdown-menu {
    position: fixed;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    min-width: 150px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.share-dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    display: block !important;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    text-decoration: none;
    color: #374151;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.share-option:hover {
    background: #f3f4f6;
    color: #111827;
}

.share-option svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.share-option.whatsapp:hover {
    background: #dcfce7;
    color: #166534;
}

.share-option.facebook:hover {
    background: #dbeafe;
    color: #1e40af;
}

.share-option.twitter:hover {
    background: #e0f2fe;
    color: #0f172a;
}

.share-option.tiktok:hover {
    background: #fef2f2;
    color: #991b1b;
}

.share-option.instagram:hover {
    background: #fdf2f8;
    color: #be185d;
}

/* Carousel controls */
.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex: 1;
    pointer-events: auto;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.indicator.active {
    background: #2563eb;
    transform: scale(1.2);
}

.indicator:hover {
    background: #9ca3af;
}

/* View all button */
.view-all-btn {
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #0b2353;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

.view-all-btn:hover {
    background: rgb(24, 67, 184);
    transform: translateY(-1px);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* Loading, empty, and error states */
.loading-state, .empty-state, .error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 300px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-state p, .empty-state p, .error-state p {
    font-family: 'Roboto', sans-serif;
    color: #6b7280;
    margin-top: 1rem;
}

.empty-icon, .error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h3, .error-state h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.retry-btn {
    font-family: 'Roboto', sans-serif;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.retry-btn:hover {
    background: #1d4ed8;
}

/* Responsive design */
@media (max-width: 1024px) {
    .memorial-room-card {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .carousel-prev {
        left: -20px;
    }

    .carousel-next {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .rooms-carousel-section {
        padding: 2rem 0;
    }

    .rooms-title {
        font-size: 2rem;
    }

    .rooms-subtitle {
        font-size: 1rem;
    }

    .carousel-wrapper {
        margin: 0 1rem;
    }

    .memorial-room-card {
        flex: 0 0 100%;
    }

    .carousel-nav {
        display: none;
    }

    .carousel-controls {
        flex-direction: column;
        gap: 1.5rem;
    }

    .deceased-info {
        padding: 1rem;
    }

    .room-card-actions {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .share-btn {
        align-self: center;
    }

    .share-dropdown-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        min-width: 180px;
    }

    .share-dropdown-menu.show {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .rooms-carousel-section .container {
        padding: 0 0.5rem;
    }

    .carousel-wrapper {
        margin: 0;
    }

    .carousel-track {
        gap: 1rem;
    }

    .deceased-info {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .deceased-avatar {
        align-self: center;
    }

    .room-statistics {
        gap: 0.5rem;
    }
}

/* ============================================
   CONDOLENCE ROOM PAGE STYLES
   ============================================ */

/* Welcome Section */
.condolence-welcome {
    padding: 4rem 0;
    background: #f9fafb;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.welcome-text h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #0b2353;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.welcome-description p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
}

.welcome-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b2353;
    font-size: 4rem;
    border: 2px solid #e5e7eb;
}

/* Virtual Room Features Section */
.virtual-room-features {
    padding: 4rem 0;
    background: white;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #0b2353;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.pricing-features .feature-icon.checkmark:after {
    content: '✓' !important;
    color: #16a34a !important;
}

.pricing-features .feature-icon.close:after {
    content: '✕' !important;
    color: #dc2626 !important;
}


.red-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.blue-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.green-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.purple-icon {
    background: rgba(147, 51, 234, 0.1);
    color: #9333ea;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-content {
    margin-top: 1.5rem;
}

.feature-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 400;
    color: #0b2353;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.feature-item p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.825rem;
    line-height: 1.5;
    color: #6b7280;
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
}

/* Access Guide Section */
.access-guide {
    padding: 4rem 0;
    background: #f9fafb;
}

.steps-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.step-item {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #0b2353;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
}

.step-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #0b2353;
    margin-bottom: 0.5rem;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none;
    white-space: normal;
}

.step-content {
    flex: 1;
    min-width: 0;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.step-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

/* Room Etiquette Section */
.room-etiquette {
    padding: 4rem 0;
    background: white;
}

.etiquette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.etiquette-column h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #0b2353;
    margin-bottom: 1.5rem;
}

.etiquette-list {
    list-style: none;
    padding: 0;
}

.etiquette-list li {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.etiquette-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Technical Support Section */
.technical-support {
    padding: 4rem 0;
    background: white;
}

.support-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #6b7280;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.support-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.support-icon {
    width: 64px;
    height: 64px;
    background: #0b2353;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.support-card:hover .support-icon {
    transform: scale(1.1);
}

.support-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.whatsapp-icon {
    background: #0b2353 !important;
    padding: 1rem !important;
}

.whatsapp-icon img {
    width: 28px !important;
    height: 28px !important;
}

.support-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #0b2353;
    margin-bottom: 1rem;
}

.support-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b7280;
}

.support-card a {
    color: #0b2353;
    text-decoration: none;
    font-weight: 500;
}

.support-card a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .welcome-text h2,
    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .steps-container {
        padding: 0 1.5rem;
    }

    .etiquette-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .support-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .condolence-welcome,
    .virtual-room-features,
    .access-guide,
    .room-etiquette,
    .technical-support {
        padding: 2rem 0;
    }

    .welcome-text h2,
    .section-title {
        font-size: 1.75rem;
    }

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

    .feature-item,
    .support-card {
        padding: 1.5rem 1rem;
    }
}

/* ===== ROOM PAGE STYLES ===== */

/* Red Room Banner */
.room-red-banner {
    background: #dc3545;
    color: white;
    padding: 0.75rem 0;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
}

.room-red-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.room-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.room-status {
    text-transform: capitalize;
}

.room-participants {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Blue Memorial Banner */
.memorial-blue-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
}

.memorial-blue-banner .container {
    max-width: 1200px;
}

.memorial-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.deceased-photo {
    flex-shrink: 0;
}

.photo-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.deceased-details h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: white;
}

.life-dates {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.islamic-prayer {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    direction: rtl;
    text-align: left;
}

.prayer-translation {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Room Main Layout */
.room-main-layout {
    padding: 3rem 0;
    background: #f8fafc;
}

.room-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Live Stream Section */
.live-stream-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stream-placeholder {
    padding: 3rem 2rem;
    text-align: center;
    background: #1f2937;
    color: white;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stream-icon-large {
    margin-bottom: 2rem;
}

.red-circle {
    width: 80px;
    height: 80px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.record-dot {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
}

.stream-placeholder h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: white;
}

.stream-placeholder p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.service-time {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.stream-status-message p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.stream-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.stream-btn:hover {
    background: #2563eb;
}

/* YouTube Stream Container */
.youtube-stream-container {
    background: white;
}

.stream-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stream-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #1f2937;
    margin: 0;
}

.stream-status {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.live-indicator {
    color: #dc3545;
    font-weight: 600;
    font-size: 0.875rem;
}

.service-type {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.youtube-player-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.youtube-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream-controls {
    padding: 1rem 1.5rem;
    background: #f9fafb;
    display: flex;
    gap: 1rem;
}

/* Sidebar */
.room-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #1f2937;
    margin-bottom: 1rem;
}

.sidebar-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-full-width {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s;
    display: block;
}

.btn-full-width:hover {
    background: #2563eb;
    color: white;
    text-decoration: none;
}

/* Contact Info */
.contact-info {
    font-family: 'Roboto', sans-serif;
}

.contact-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contact-relationship {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-details a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: #374151;
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.blue-dot {
    background: #3b82f6;
}

.green-dot {
    background: #10b981;
}

.orange-dot {
    background: #f59e0b;
}

/* Message Cards Styling */
.message-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #3b82f6;
    transition: all 0.2s ease;
}

.message-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.message-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

.author-relationship {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 400;
    margin: 0;
}

.message-timestamp {
    color: #9ca3af;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.message-content p {
    color: #374151;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

/* Condolence Messages Section */
.condolence-messages-section {
    padding: 4rem 0;
    background: white;
}

.condolence-messages-section .section-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
}

.add-message-form {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.add-message-form h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.message-form {
    font-family: 'Roboto', sans-serif;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background: #2563eb;
}

/* Messages List */
.messages-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.message-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.message-author {
    font-family: 'Roboto', sans-serif;
}

.message-author strong {
    color: #1f2937;
    font-weight: 600;
}

.relationship {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 400;
    margin-left: 0.5rem;
}

.message-time {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    color: #9ca3af;
}

.message-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}

/* Memory Gallery Section */
.memory-gallery-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.memory-gallery-section .section-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
}

/* Gallery Carousel */
.gallery-carousel-container {
    max-width: 800px;
    margin: 0 auto;
}

.carousel-main {
    position: relative;
    margin-bottom: 1rem;
}

.carousel-images {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
}

.carousel-caption p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.carousel-caption small {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Carousel controls - removed conflicting absolute positioning */
.rooms-carousel-section .carousel-controls {
    position: static;
    transform: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 0;
    pointer-events: auto;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.2s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    border: 2px solid transparent;
}

.thumbnail.active {
    opacity: 1;
    border-color: #3b82f6;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-info {
    text-align: center;
}

.image-counter {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Empty Gallery */
.empty-gallery {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.empty-gallery-icon {
    width: 64px;
    height: 64px;
    color: #d1d5db;
    margin: 0 auto 1.5rem;
}

.empty-gallery h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #6b7280;
    margin-bottom: 1rem;
}

.empty-gallery p {
    font-family: 'Roboto', sans-serif;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.upload-instruction {
    font-size: 0.875rem !important;
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.modal-info {
    padding: 1rem;
    background: white;
}

.modal-info p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.modal-info small {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    color: #6b7280;
}

.modal-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.modal-nav-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.2s;
}

.modal-nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Room Footer */
.room-footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
}

.room-details p {
    margin-bottom: 0.5rem;
}

.room-details p:last-child {
    margin-bottom: 0;
}

.teduh-branding {
    text-align: right;
}

.teduh-branding p {
    margin-bottom: 0.5rem;
}

.teduh-branding p:last-child {
    margin-bottom: 0;
}

.teduh-branding a {
    color: #93c5fd;
    text-decoration: none;
}

.teduh-branding a:hover {
    text-decoration: underline;
}

/* Responsive Design for Room Page */
@media (max-width: 768px) {
    .room-red-banner .container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .room-info {
        justify-content: center;
    }

    .memorial-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .deceased-details h2 {
        font-size: 2rem;
    }

    .room-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .room-sidebar {
        order: -1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .teduh-branding {
        text-align: center;
    }

    .carousel-images {
        height: 250px;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
}

/* Memory Gallery Carousel */
.memory-gallery-carousel {
    margin-top: 20px;
    margin-bottom: 20px;
}

.memory-gallery-carousel .room-section-title {
    color: #0b2353;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
}

.memory-carousel-container {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.memory-carousel-main {
    position: relative;
    margin-bottom: 15px;
}

.memory-carousel-images {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    display: block;
}

.memory-carousel-images:hover {
    transform: scale(1.02);
}

.memory-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.memory-carousel-nav:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: translateY(-50%) scale(1.1);
}

.memory-carousel-nav.prev {
    left: 15px;
}

.memory-carousel-nav.next {
    right: 15px;
}

.memory-carousel-nav svg {
    width: 20px;
    height: 20px;
    fill: #0b2353;
}

.memory-carousel-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}

.memory-carousel-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: thin;
    scrollbar-color: #0b2353 #f1f1f1;
}

.memory-carousel-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.memory-carousel-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.memory-carousel-thumbnails::-webkit-scrollbar-thumb {
    background: #0b2353;
    border-radius: 3px;
}

.memory-carousel-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    border: 2px solid transparent;
    display: block;
}

.memory-carousel-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.memory-carousel-thumbnail.active {
    opacity: 1;
    border-color: #0b2353;
    box-shadow: 0 2px 6px rgba(11, 35, 83, 0.3);
}

/* Responsive Design for Memory Gallery Carousel */
@media (max-width: 768px) {
    .memory-gallery-carousel .room-section-title {
        font-size: 1.25rem;
        text-align: center;
    }

    .memory-carousel-container {
        padding: 15px;
    }

    .memory-carousel-images {
        height: 250px;
        object-fit: contain;
        background: #f8f9fa;
    }

    .memory-carousel-nav {
        width: 35px;
        height: 35px;
    }

    .memory-carousel-nav.prev {
        left: 10px;
    }

    .memory-carousel-nav.next {
        right: 10px;
    }

    .memory-carousel-nav svg {
        width: 16px;
        height: 16px;
    }

    .memory-carousel-counter {
        font-size: 0.75rem;
        padding: 4px 8px;
        bottom: 10px;
        right: 10px;
    }

    .memory-carousel-thumbnail {
        width: 50px;
        height: 50px;
    }

    .memory-carousel-thumbnails {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .memory-gallery-carousel {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .memory-carousel-container {
        padding: 12px;
    }

    .memory-carousel-images {
        height: 200px;
        object-fit: contain;
        background: #f8f9fa;
    }

    .memory-carousel-nav {
        width: 30px;
        height: 30px;
    }

    .memory-carousel-nav svg {
        width: 14px;
        height: 14px;
    }

    .memory-carousel-thumbnail {
        width: 45px;
        height: 45px;
    }
}

/* Services Section Styles */
.services-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #f3f4f6;
}

.services-card-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.services-icon-wrapper {
    flex-shrink: 0;
}

.services-icon {
    width: 48px;
    height: 48px;
    background: #dbeafe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-icon svg {
    color: #2563eb;
}

.services-text {
    margin-left: 1rem;
}

.services-title {
    font-size: 1.25rem;
    font-weight: normal;
    color: #111827;
    margin-bottom: 0.75rem;
    font-family: 'Cinzel', serif;
}

.services-description {
    color: #6b7280;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
}

/* Mobile responsiveness for services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-card {
        padding: 1.5rem;
    }

    .services-icon {
        width: 40px;
        height: 40px;
    }

    .services-title {
        font-size: 1.1rem;
    }

    .services-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .services-container {
        padding: 0 0.75rem;
    }

    .services-grid {
        gap: 1rem;
    }

    .services-card {
        padding: 1rem;
    }

    .services-card-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }

    .services-text {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Modern Hero Section with Background Slideshow */
.modern-hero {
    position: relative;
    height: 55vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    z-index: 2;
}

.modern-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

.modern-hero-bg.active {
    opacity: 1;
}

.modern-hero-bg.slide1 {
    background-image: url('/images/slide01.jpg');
}

.modern-hero-bg.slide2 {
    background-image: url('/images/slide02.jpg');
}

.modern-hero-bg.slide3 {
    background-image: url('/images/slide03.jpg');
}

.modern-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.hero-content-modern {
    color: white;
    max-width: 600px;
}

.hero-content-modern h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Cinzel', serif;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-family: 'Roboto', sans-serif;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-modern {
    background: #3b82f6;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.btn-primary-modern:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary-modern {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'Roboto', sans-serif;
}

.btn-secondary-modern:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* Mobile responsive for modern hero */
@media (max-width: 768px) {
    .modern-hero {
        height: 50vh;
        min-height: 400px;
    }

    .hero-content-modern h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-primary-modern,
    .btn-secondary-modern {
        justify-content: center;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .modern-hero {
        height: 45vh;
        min-height: 350px;
    }

    .modern-hero .container {
        padding: 0 15px;
    }

    .hero-content-modern h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Register Page Specific Styles */
body.register-page {
    margin: 0;
    padding: 0;
    background: #f7fafc;
    min-height: 50vh;
}

.register-page-container {
    background: #f7fafc;
    min-height: 50vh;
    padding-top: 120px;
    padding-bottom: 40px;
}

.register-page-content {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
}

.register-page-title {
    color: #0b2353;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-align: center;
    font-family: 'Cinzel', serif !important;
}

.register-page-form {
    background: transparent;
}

.register-form-group {
    margin-bottom: 1.5rem;
}

.register-form-label {
    color: #818cf8;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    font-family: 'Roboto', sans-serif !important;
}

.register-form-input {
    width: 100% !important;
    padding: 0.85rem 1.1rem !important;
    border: 2px solid #0b2353 !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: #374151 !important;
    box-shadow: 0 2px 12px rgba(99,102,241,0.1) !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    font-family: 'Roboto', sans-serif !important;
}

.register-form-input:focus {
    outline: none !important;
    border-color: #4f46e5 !important;
    background: white !important;
    box-shadow: 0 4px 18px rgba(99,102,241,0.2) !important;
}

.register-page-button {
    width: 100%;
    background: #0b2353;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
    font-family: 'Roboto', sans-serif !important;
}

.register-page-button:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.register-error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif !important;
}

.register-success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif !important;
}

.register-login-link {
    color: #0b2353 !important;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Roboto', sans-serif !important;
}

.register-login-link:hover {
    text-decoration: underline;
}

.register-login-text {
    color: #0b2353 !important;
    text-align: center;
    margin-top: 1.5rem;
    font-family: 'Roboto', sans-serif !important;
}

/* Register page specific floating contact buttons */
.register-floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.register-contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.register-contact-btn:hover {
    transform: scale(1.1);
}

.register-phone-btn {
    background: #4f46e5;
}

.register-whatsapp-btn {
    background: #25d366;
}

/* Register page reCAPTCHA styling */
.register-recaptcha-container {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

/* Register page error message styling for reCAPTCHA */
.register-form-group .register-recaptcha-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin: 0.5rem 0 0 0;
    display: block;
    font-family: 'Roboto', sans-serif !important;
}

/* ===============================================
   ROOM LIST PAGE STYLES
   =============================================== */

/* Main room list section */
.room-list-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 32px 24px;
    margin-top: -40px;
}

/* Modern table styles */
.room-list-modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.room-list-modern-table thead th {
    background: #f3f4f6;
    color: #222;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
    padding: 14px 12px;
    text-align: left;
}

.room-list-modern-table tbody tr {
    transition: background 0.2s;
}

.room-list-modern-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.room-list-modern-table tbody tr:hover {
    background: #f0f4ff;
}

.room-list-modern-table td {
    padding: 12px 12px;
    border-bottom: 1px solid #f0f1f3;
    text-align: left;
}

.room-list-modern-table td:last-child {
    text-align: center;
}

.room-list-modern-table th:last-child {
    text-align: center;
}

.room-list-modern-table th:first-child,
.room-list-modern-table td:first-child {
    border-top-left-radius: 8px;
}

.room-list-modern-table th:last-child,
.room-list-modern-table td:last-child {
    border-top-right-radius: 8px;
}

/* Button styles for room list */
.room-list-btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.room-list-btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: #ffffff;
}

.room-list-btn-sm {
    padding: 6px 16px;
    font-size: 0.95rem;
    border-radius: 6px;
}

.room-list-btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    background-color: transparent;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    border: 1px solid;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.room-list-btn-outline-secondary:hover {
    color: #ffffff;
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Dark blue Join Now button for live rooms */
.room-list-btn-join-dark {
    background-color: #0b2354 !important;
    border-color: #0b2354 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(11,35,84,0.18);
}

.room-list-btn-join-dark:hover {
    background-color: #091a3b !important;
    border-color: #091a3b !important;
    transform: translateY(-1px);
}

/* Grey View Room button for non-live rooms */
.room-list-btn-view-grey {
    background-color: #6b7280 !important;
    border-color: #6b7280 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(107,114,128,0.18);
}

.room-list-btn-view-grey:hover {
    background-color: #4b5563 !important;
    border-color: #4b5563 !important;
    transform: translateY(-1px);
}

.room-list-btn-view-grey {
    background-color: #6b7280 !important;
    border-color: #6b7280 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(11,35,84,0.18);
}

.room-list-btn-view-grey:hover {
    background-color: #6b7283 !important;
    border-color: #6b7283 !important;
    transform: translateY(-1px);
}

.room-list-btn-outline-secondary {
    border-radius: 6px;
}

/* Status badges for room list */
.room-list-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.room-list-status-badge.room-list-active {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.room-list-status-badge.room-list-scheduled {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.room-list-status-badge.room-list-ended {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

/* Deceased avatar styles for room list */
.room-list-deceased-avatar {
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f9fafb;
    position: relative;
}

.room-list-deceased-avatar img,
.room-list-deceased-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}

/* Search input styles for room list */
.room-list-modern-search-input {
    padding-left: 2.5rem;
    border-radius: 24px;
    border: 1.5px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    height: 38px;
    background: #fafbfc;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-size: 1rem;
}

.room-list-modern-search-input:focus {
    border-color: #b3b8c5;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.room-list-modern-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* ============================================
   ARTICLE SHOW CAROUSEL COMPONENT STYLES
   ============================================ */

/* Article Images Carousel Styles */
.show-article-images {
    margin: 3rem 0;
}

.show-article-carousel-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.show-article-carousel {
    overflow: hidden;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.show-article-carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.show-article-slide {
    flex: 0 0 100%;
    position: relative;
}

.show-article-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.show-article-image-caption {
    background: rgba(11, 35, 83, 0.9);
    color: white;
    padding: 1rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
}

/* Carousel Navigation */
.show-article-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.show-article-carousel-nav:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-50%) scale(1.05);
}

.show-article-carousel-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.show-article-carousel-prev {
    left: -24px;
}

.show-article-carousel-next {
    right: -24px;
}

.show-article-nav-icon {
    width: 20px;
    height: 20px;
    color: #374151;
}

/* Carousel Controls */
.show-article-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.show-article-carousel-indicators {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.show-article-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-article-indicator.active {
    background: #0b2353;
    transform: scale(1.2);
}

.show-article-indicator:hover {
    background: #9ca3af;
}

/* Published Date Section */
.show-published-date-section {
    background: #f8fafc;
    border-left: 4px solid #0b2353;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.show-published-date-section h4 {
    color: #0b2353;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
}

.show-published-date-section p {
    color: #374151;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

/* Article Show Styles */
.show-article-header {
    background: #0b2353 !important;
    padding: 60px 0;
    color: white;
    text-align: center;
}

.show-article-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: 'Cinzel', serif;
    font-weight: 300;
}

.show-article-meta {
    font-size: 1.1rem;
    opacity: 0.9;
    font-family: 'Roboto', sans-serif;
}

.show-article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.show-article-content {
    line-height: 1.8;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
}

.show-article-content h2,
.show-article-content h3,
.show-article-content h4 {
    margin: 2rem 0 1rem 0;
    color: #333;
    font-family: 'Cinzel', serif;
}

.show-article-content p {
    margin-bottom: 1.5rem;
}

.show-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.show-back-to-articles {
    color: #0b2353;
    text-decoration: none;
    margin-bottom: 2rem;
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.show-back-to-articles:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .show-article-title {
        font-size: 2rem;
    }

    .show-article-container {
        padding: 2rem 1rem;
    }

    .show-article-slide img {
        height: 250px;
    }

    .show-article-carousel-prev {
        left: -20px;
    }

    .show-article-carousel-next {
        right: -20px;
    }

    .show-article-carousel-nav {
        width: 40px;
        height: 40px;
    }

    .show-article-nav-icon {
        width: 16px;
        height: 16px;
    }
}

/* Flower Gallery Carousel Styles */
.flower-gallery-carousel {
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.flower-gallery-carousel h3 {
    font-family: 'Cinzel', serif;
    color: #0b2353;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.flower-carousel-container {
    position: relative;
}

.flower-carousel-main {
    position: relative;
    width: 100%;
    height: 280px; /* Reduced from 400px */
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
}

.flower-carousel-slide {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.flower-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain to prevent cropping */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.flower-carousel-image:hover {
    transform: scale(1.02);
}

.flower-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1rem;
    transform: translateY(50%);
    transition: transform 0.3s ease;
}

.flower-carousel-slide:hover .flower-info-overlay {
    transform: translateY(0);
}

.flower-customer-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-family: 'Cinzel', serif;
}

.flower-type {
    font-size: 0.9rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.flower-message {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.flower-date {
    font-size: 0.75rem;
    opacity: 0.7;
}

.flower-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.flower-carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.flower-carousel-nav.prev {
    left: 1rem;
}

.flower-carousel-nav.next {
    right: 1rem;
}

.flower-carousel-nav svg {
    width: 24px;
    height: 24px;
    fill: #0b2353;
}

.flower-carousel-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

.flower-carousel-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.flower-carousel-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.flower-carousel-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.flower-carousel-thumbnails::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.flower-carousel-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 100px; /* Increased to accommodate larger image */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.flower-carousel-thumbnail.active {
    border-color: #0b2353;
    transform: scale(1.05);
}

.flower-carousel-thumbnail img {
    width: 100%;
    flex: 1; /* Take up available space */
    min-height: 0; /* Allow flexbox to shrink */
    object-fit: contain; /* Prevent cropping */
    object-position: center;
}

.thumbnail-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.65rem;
    padding: 0.25rem;
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0; /* Prevent the label from shrinking */
}

.empty-gallery {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.empty-gallery p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Flower Modal Styles */
.flower-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 1rem;
}

.flower-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.flower-modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.flower-modal-info {
    padding: 1.5rem;
    text-align: center;
    width: 100%;
}

.flower-modal-customer {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0b2353;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.flower-modal-type {
    font-size: 1rem;
    color: #f59e0b;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.flower-modal-message {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.flower-modal-date {
    font-size: 0.85rem;
    color: #6b7280;
}

.flower-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s ease;
}

.flower-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Responsive Design for Flower Gallery */
@media (max-width: 768px) {
    .flower-carousel-main {
        height: 220px; /* Reduced from 300px */
    }

    .flower-info-overlay {
        padding: 1.5rem 1rem 0.75rem;
        transform: translateY(30%);
    }

    .flower-carousel-nav {
        width: 40px;
        height: 40px;
    }

    .flower-carousel-nav svg {
        width: 20px;
        height: 20px;
    }

    .flower-carousel-thumbnail {
        width: 60px;
        height: 80px; /* Increased for mobile */
        display: flex;
        flex-direction: column;
    }

    .flower-carousel-thumbnail img {
        flex: 1; /* Take up available space on mobile too */
        min-height: 0;
        object-fit: contain;
        object-position: center;
    }

    .flower-modal-content {
        max-width: 95vw;
    }

    .flower-modal-image {
        max-height: 60vh;
    }

    .flower-modal-info {
        padding: 1rem;
    }
}
