/* css/style.css */
:root {
    --purple: #9B1C8F;
    --purple-light: #C451BD;
    --purple-dark: #7A176F;
    --purple-pale: #F8E6F5;
    --gold: #C9A227;
    --gold-light: #E1C15E;
    --gold-dark: #A88720;
    --gold-pale: #F9F3E0;
    --gray-light: #f9f9f9;
    --gray-medium: #777;
    --gray-dark: #333;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px rgba(155, 28, 143, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --border-radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--gray-dark);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: -0.3px;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-title h2 {
    font-size: 3.2rem;
    display: inline-block;
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, var(--purple), var(--gold));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-medium);
    font-size: 1.2rem;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* Logo Image Styles */
.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.9;
}

/* For responsive design */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .logo-image {
        height: 35px;
    }
}


.logo-img {
    display: none;
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 45px;
}

nav a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

nav a:hover {
    color: var(--purple);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--purple), var(--gold));
    bottom: 0;
    left: 0;
    transition: var(--transition);
    border-radius: 2px;
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--purple);
    font-weight: 700;
}

nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--purple);
    cursor: pointer;
    transition: var(--transition);
    padding: 12px;
    border-radius: 8px;
    background-color: var(--purple-pale);
}

.mobile-menu-btn:hover {
    background-color: var(--gold-pale);
    color: var(--purple-dark);
}

/* Hero Section with Background Image */
.hero {
     background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                        url('images/f177fda7-8e57-49ed-a522-93e8cfe9ae43.jpg') fixed;
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 180px 0 120px;
            margin-top: 100px;
}



.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 30px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
}

.hero-tagline {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--gold-light);
    font-weight: 600;
}

.hero-highlight {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 40px;
    display: inline-block;
    margin: 40px 0;
    border: 2px solid rgba(201, 162, 39, 0.3);
}

.hero-price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-period {
    font-size: 1.8rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-coverage {
    background-color: rgba(201, 162, 39, 0.2);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.3rem;
    margin-top: 20px;
    border: 2px solid rgba(201, 162, 39, 0.4);
}

.hero-coverage i {
    margin-right: 15px;
    font-size: 1.8rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: var(--white);
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(155, 28, 143, 0.3);
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(155, 28, 143, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.btn-secondary::before {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}


/* Services Cards with Coffin Images */
.services-section {
    background-color: var(--gray-light);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid var(--purple);
    position: relative;
}

.service-card:hover {
    transform: translateY(-20px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.coffin-image-container {
    height: 250px;
    background-color: var(--purple-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.coffin-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .coffin-image {
    transform: scale(1.05);
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--purple);
    text-align: center;
    padding: 20px;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.service-card-header {
    padding: 30px 25px 20px;
    position: relative;
}

.service-card-header h3 {
    font-size: 1.9rem;
    margin-bottom: 15px;
    color: var(--purple);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.service-card-header h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--purple), var(--gold));
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.service-card-body {
    padding: 0 25px 30px;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(155, 28, 143, 0.1);
}

.service-feature:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gold-pale), var(--purple-pale));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-size: 1.1rem;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 3px;
}

.service-price {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 3px solid var(--gold);
    font-weight: 800;
    color: var(--purple);
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
}

/* Funeral Grocery Support Cards */
.grocery-section {
    background: linear-gradient(135deg, var(--gold-pale) 0%, var(--white) 100%);
    position: relative;
    padding: 100px 0;
}



.grocery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.grocery-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid var(--gold);
    position: relative;
}

.grocery-card:hover {
    transform: translateY(-20px);
    box-shadow: var(--shadow-hover);
    border-color: var(--purple);
}

.grocery-card-header {
    background: var(--purple);
    color: var(--white);
    padding: 35px 25px 25px;
    position: relative;
}

.grocery-card-header h3 {
    font-size: 1.9rem;
    margin-bottom: 15px;
    color: var(--white);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.grocery-card-header h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--white);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.grocery-card-body {
    padding: 30px 25px;
}

.grocery-price {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 3px solid var(--purple);
    font-weight: 800;
    color: var(--purple);
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
}

/* Gallery Page */
.gallery-hero {
    background: linear-gradient(rgba(155, 28, 143, 0.85), rgba(155, 28, 143, 0.9)), 
                url('https://images.unsplash.com/photo-1513475382585-d06e58bcb0e0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 200px 0 150px;
    margin-top: 100px;
    position: relative;
}

.gallery-hero-content {
    position: relative;
    z-index: 1;
}

.gallery-hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 25px;
}

.gallery-container {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.gallery-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 300px;
    border: 3px solid var(--purple);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--purple);
    padding: 30px;
    text-align: center;
}

.gallery-placeholder i {
    font-size: 4rem;
    margin-bottom: 25px;
    color: var(--gold);
}

.gallery-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(rgba(201, 162, 39, 0.85), rgba(201, 162, 39, 0.9)), 
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 200px 0 150px;
    margin-top: 100px;
    position: relative;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 25px;
}

.contact-section {
    background-color: var(--white);
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.contact-info {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 50px 40px;
    box-shadow: var(--shadow);
    border: 3px solid var(--purple);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--purple);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--purple), var(--gold));
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.contact-item {
    display: flex;
    margin-bottom: 35px;
    align-items: flex-start;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--purple-pale), var(--gold-pale));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-size: 1.8rem;
    margin-right: 25px;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--gold-pale), var(--purple-pale));
}

.contact-details h4 {
    margin-bottom: 8px;
    font-size: 1.4rem;
    color: var(--purple);
}

.contact-form {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 50px 40px;
    box-shadow: var(--shadow);
    border: 3px solid var(--gold);
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--purple);
    position: relative;
    padding-bottom: 15px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--gold), var(--purple));
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--purple);
    font-weight: 600;
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 18px 22px;
    border: 2px solid rgba(155, 28, 143, 0.2);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.map-container {
    margin-top: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    height: 400px;
    background-color: var(--purple-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-size: 1.2rem;
    border: 3px solid var(--gold);
}

/* About Page */
.about-hero {
    background: linear-gradient(rgba(155, 28, 143, 0.85), rgba(201, 162, 39, 0.9)), 
                url('https://images.unsplash.com/photo-1582750433449-648ed127bb54?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 200px 0 150px;
    margin-top: 100px;
    position: relative;
}

.about-hero-content {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 25px;
}

.about-section {
    background-color: var(--white);
    position: relative;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--purple);
    position: relative;
    padding-bottom: 20px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--purple), var(--gold));
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 25px 20px;
    background-color: var(--purple-pale);
    border-radius: var(--border-radius);
    border: 2px solid var(--gold);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--purple);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    color: var(--gray-medium);
    font-weight: 600;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    position: relative;
    border: 8px solid var(--white);
    background-color: var(--purple-pale);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--purple);
    color: white;
    padding: 70px 0 30px;
    margin-top: 80px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, var(--gold), var(--purple));
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    color: var(--gold-light);
    margin-bottom: 30px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--gold);
    bottom: 0;
    left: 0;
}

.footer-column p, .footer-column a {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    display: block;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.3rem;
}

.footer-column a:hover {
    color: var(--gold-light);
    padding-left: 10px;
}




.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

/* Base icon style - SIMPLE AND CLEAN */
.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%; /* This makes it a circle */
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    /* Force perfect circle */
    padding: 0;
    margin: 0;
    line-height: 1;
}

/* CRITICAL: Force all icons to stay circles */
.social-icon,
.social-icon:hover,
.social-icon:active {
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
}

/* WhatsApp - GREEN */
.social-icon.whatsapp:hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
    transform: translateY(-3px);
}

/* Facebook - BLUE */
.social-icon.facebook:hover {
    background: #1877F2 !important;
    border-color: #1877F2 !important;
    transform: translateY(-3px);
}

/* Instagram - PINK (simple version, no gradient issues) */
.social-icon.instagram:hover {
    background: #E1306C !important;
    border-color: #E1306C !important;
    transform: translateY(-3px);
}

/* Center the icon properly */
.social-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

/* Remove any transforms that might distort */
.social-icon i,
.social-icon * {
    transform: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
        gap: 15px;
    }
    
    .social-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .social-icons {
        gap: 12px;
    }
    
    .social-icon {
        width: 42px !important;
        height: 42px !important;
        font-size: 1.1rem;
    }
}

/* Fix for mobile */
@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
        gap: 12px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .social-icons {
        justify-content: center;
        gap: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
        min-height: 400px;
    }
    
    .hero h1, .gallery-hero h1, .contact-hero h1, .about-hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .services-grid, .grocery-grid, .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 25px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        border-top: 3px solid var(--purple-pale);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav li {
        margin: 18px 0;
    }
    
    .hero, .gallery-hero, .contact-hero, .about-hero {
        padding: 180px 0 120px;
        margin-top: 80px;
        background-attachment: scroll;
    }
    
    .hero h1, .gallery-hero h1, .contact-hero h1, .about-hero h1 {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .hero-price {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1, .gallery-hero h1, .contact-hero h1, .about-hero h1 {
        font-size: 2.3rem;
    }
    
    .hero-price {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .services-grid, .grocery-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Owner Section */
.owner-section {
    padding: 100px 0;
    background: white;
}

.owner-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

.owner-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.owner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(155, 28, 143, 0.15);
}

.owner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* FIXED OWNER IMAGE - Now uses contain instead of cover */
.owner-image-container {
    position: relative;
    overflow: hidden;
}

.owner-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background: url('images/7c94e77c-a53a-4f6d-b61f-bfa69e99473a.jpg');
    background-size: contain; 
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f8f9fa; 
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px;
}

.owner-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                transparent 40%,
                rgba(0, 0, 0, 0.1) 60%,
                rgba(0, 0, 0, 0.3) 80%,
                rgba(0, 0, 0, 0.6) 100%);
}

.owner-name {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
}

.owner-name h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 10px;
    line-height: 1.2;
}

.owner-name .position {
    font-size: 1.4rem;
    color: var(--gold-light);
    font-weight: 600;
    line-height: 1.3;
}

/* FIXED OWNER INFO TEXT - Added proper text wrapping */
.owner-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.owner-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--purple);
    margin-bottom: 30px;
    line-height: 1.8;
    position: relative;
    padding-left: 40px;
    border-left: 4px solid var(--gold);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.owner-quote::before {
    content: '"';
    position: absolute;
    left: 10px;
    top: -10px;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
}

.owner-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 30px;
}

.owner-bio p {
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: justify;
}

.owner-bio p:last-child {
    margin-bottom: 0;
}

.owner-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(155, 28, 143, 0.1);
}

.owner-contact p {
    color: var(--gray-medium);
    margin-bottom: 10px;
    font-size: 1.1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.owner-contact i {
    color: var(--purple);
    margin-right: 10px;
    width: 20px;
}

/* RESPONSIVE FIXES FOR MOBILE */
@media (max-width: 992px) {
    .owner-content {
        grid-template-columns: 1fr;
    }
    
    .owner-image {
        min-height: 400px;
    }
    
    .owner-info {
        padding: 40px;
    }
    
    .owner-name h2 {
        font-size: 2.4rem;
    }
    
    .owner-name .position {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .owner-image {
        min-height: 350px;
        padding: 30px;
        background-size: contain; /* Ensure contain on mobile too */
    }
    
    .owner-name h2 {
        font-size: 2.2rem;
    }
    
    .owner-name .position {
        font-size: 1.1rem;
    }
    
    .owner-info {
        padding: 35px 30px;
    }
    
    .owner-quote {
        font-size: 1.3rem;
        padding-left: 30px;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    
    .owner-quote::before {
        font-size: 3rem;
        left: 8px;
    }
    
    .owner-bio {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Ensure text doesn't overflow on mobile */
    .owner-quote,
    .owner-bio p,
    .owner-contact p {
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .owner-image {
        min-height: 300px;
        padding: 20px;
    }
    
    .owner-name {
        padding: 15px;
    }
    
    .owner-name h2 {
        font-size: 2rem;
    }
    
    .owner-name .position {
        font-size: 1rem;
    }
    
    .owner-info {
        padding: 30px 20px;
    }
    
    .owner-quote {
        font-size: 1.1rem;
        padding-left: 25px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .owner-quote::before {
        font-size: 2.5rem;
        left: 5px;
        top: -5px;
    }
    
    .owner-bio {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .owner-contact p {
        font-size: 1rem;
    }
    
    /* For very small screens, make image full width with auto height */
    .owner-image {
        background-size: contain;
        background-position: center top;
        height: auto;
        aspect-ratio: 3/4; 
    }
}

/* EXTRA FIX FOR IMAGE ON VERY WIDE SCREENS */
@media (min-width: 1400px) {
    .owner-image {
        background-size: contain;
    }
}

/* FIX FOR SPECIFIC TEXT ISSUES */
.owner-bio p:first-child {
    text-align: left;
}

.owner-bio p:nth-child(2) {
    text-align: left;
}

.owner-bio p:last-child {
    text-align: left;
}


.owner-contact p:first-child {
    word-break: break-all;
}


@media (max-width: 768px) {
    /* Gallery arrow fix */
    .carousel-control-prev { left: 10px ; }
    .carousel-control-next { right: 10px ; }
    .swiper-button-prev { left: 10px ; }
    .swiper-button-next { right: 10px ; }
    [class*="arrow"], [class*="prev"], [class*="next"] { z-index: 1000 ; }
}


/* Add these styles to your existing CSS file */

/* Fix mobile menu display */
nav ul.show {
    display: flex !important;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close button for mobile menu */
.close-menu-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--purple);
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .close-menu-btn {
        display: block;
    }
    
    /* Mobile menu overlay */
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 80px 25px 25px;
        box-shadow: none;
        border-top: none;
        z-index: 1000;
        overflow-y: auto;
    }
    
    nav ul.show {
        display: flex;
        animation: fadeIn 0.3s ease;
    }
    
    nav li {
        margin: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s ease forwards;
    }
    
    nav li:nth-child(1) { animation-delay: 0.1s; }
    nav li:nth-child(2) { animation-delay: 0.2s; }
    nav li:nth-child(3) { animation-delay: 0.3s; }
    nav li:nth-child(4) { animation-delay: 0.4s; }
    nav li:nth-child(5) { animation-delay: 0.5s; }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Header scroll effect styles */
.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

/* Scroll to top button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(155, 28, 143, 0.3);
}

#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
}

#scrollTopBtn:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(155, 28, 143, 0.4);
}

/* Form validation styles */
.error-message {
    color: #ff3860;
    font-size: 0.875rem;
    margin-top: 5px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-control.error {
    border-color: #ff3860;
    background-color: rgba(255, 56, 96, 0.05);
}

/* Success message animation */
.success-message {
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: 350px;
}

.toast.success {
    background: linear-gradient(135deg, #48c78e, #2ea672);
}

.toast.error {
    background: linear-gradient(135deg, #ff3860, #e63946);
}

.toast.info {
    background: linear-gradient(135deg, #485fc7, #3a4fc1);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Accessibility improvements */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--purple);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1001;
}

.skip-to-content:focus {
    top: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* Disabled button state */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(155, 28, 143, 0.3) !important;
}

/* Better responsive tables */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(155, 28, 143, 0.1);
}

th {
    background: linear-gradient(135deg, var(--purple-pale), var(--gold-pale));
    color: var(--purple);
    font-weight: 700;
}

tr:hover {
    background-color: rgba(155, 28, 143, 0.05);
}

/* Image lazy loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Print styles */
@media print {
    header, footer, .btn, .mobile-menu-btn, #scrollTopBtn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --purple: #7A176F;
        --gold: #A88720;
    }
    
    .btn {
        border: 2px solid black;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .service-card:hover,
    .grocery-card:hover,
    .gallery-item:hover {
        transform: none;
    }
}

/* Additional responsive fixes */
@media (max-width: 480px) {
    .hero-price {
        font-size: 2.2rem;
    }
    
    .hero-period {
        font-size: 1.4rem;
    }
    
    .hero-coverage {
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    .contact-form,
    .contact-info {
        padding: 30px 20px;
    }
    
    .map-container {
        height: 300px;
    }
}

/* Fix for iOS Safari input zoom */
@media screen and (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px;
    }
}

/* Fix for Firefox focus outline */
::-moz-focus-inner {
    border: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--purple), var(--gold));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--purple-dark), var(--gold-dark));
}

/* Smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Fix for fixed header overlapping anchor links */
:target {
    scroll-margin-top: 100px;
}

/* Notification badge for cart/notifications (if needed) */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gold);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--purple);
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
    font-weight: normal;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--purple) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Override lightbox hiding styles */
.gallery-container img {
  display: block !important;
  visibility: visible !important;
}

/* If using a grid */
.gallery-grid .gallery-item img {
  opacity: 1 !important;
  transform: none !important;
}

/* Mobile-specific fix */
@media (max-width: 768px) {
  .gallery img {
    display: block !important;
    max-width: 100% !important;
  }
}

/* ===== EMERGENCY FIX FOR BLANK MOBILE MENU - SERVICES PAGE ===== */
/* This will force the mobile menu to show its links */

@media (max-width: 992px) {
    /* 1. FIRST: Completely reset the mobile navigation */
    #mainNavigation {
        all: initial !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 400px !important;
        height: 100vh !important;
        background: white !important;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15) !important;
        padding: 80px 30px 40px !important;
        z-index: 1000 !important;
        transition: right 0.3s ease !important;
        overflow-y: auto !important;
    }
    
    #mainNavigation.active {
        right: 0 !important;
    }
    
    /* 2. FORCE the navigation list to show */
    #mainNav {
        all: initial !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* 3. FORCE list items to show */
    #mainNav li {
        all: initial !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(155, 28, 143, 0.1) !important;
    }
    
    #mainNav li:last-child {
        border-bottom: none !important;
    }
    
    /* 4. FORCE links to show - THIS IS THE KEY FIX */
    #mainNav li a {
        all: initial !important;
        font-family: 'Montserrat', sans-serif !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #9B1C8F !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        padding: 18px 20px !important;
        text-decoration: none !important;
        width: 100% !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    #mainNav li a:hover {
        background: rgba(155, 28, 143, 0.05) !important;
        color: #7A176F !important;
        padding-left: 25px !important;
    }
    
    #mainNav li a.active {
        color: #C9A227 !important;
        border-left: 4px solid #C9A227 !important;
        background: rgba(201, 162, 39, 0.05) !important;
        padding-left: 25px !important;
    }
    
    /* 5. Make mobile menu button visible */
    .mobile-menu-btn {
        display: flex !important;
    }
    
    /* 6. Make close button visible */
    .mobile-menu-close {
        display: block !important;
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        background: none !important;
        border: none !important;
        font-size: 1.8rem !important;
        color: #9B1C8F !important;
        cursor: pointer !important;
        padding: 10px !important;
        z-index: 1002 !important;
    }
    
    

/* Keep desktop navigation working */
@media (min-width: 993px) {
    #mainNavigation {
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        right: 0 !important;
    }
    
    #mainNav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 30px !important;
    }
    
    #mainNav li {
        border-bottom: none !important;
        margin-left: 45px !important;
    }
    
    #mainNav li a {
        display: inline !important;
        padding: 8px 0 !important;
        font-size: 1.1rem !important;
        border-left: none !important;
        background: none !important;
        width: auto !important;
    }
    
    #mainNav li a.active {
        border-bottom: 3px solid #C9A227 !important;
        border-left: none !important;
        background: none !important;
        padding-left: 0 !important;
    }
}


