/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-color: #3d1b1b;
    --brand-color-hover: #d45c5c;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6,
.display-4, .display-5, .h1, .h2, .h3, .h4, .h5, .h6,
.text-body-emphasis, .fs-1, .fs-2, .fs-3, .fs-4, .fs-5, .fs-6 {
    font-family: 'Alfa Slab One', cursive;
    color: var(--brand-color) !important;
}

/* Feature Icons */
.feature-icon {
    background-color: var(--brand-color) !important;
}

.feature-icon i {
    color: #fff !important;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--brand-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--brand-color-hover);
}

.company-name {
    font-family: 'Alfa Slab One', cursive;
    font-size: clamp(1.0em, 2vw, 1.4em);
    color: var(--brand-color);
    margin-left: 2em;
}

/* Footer Styles */
.site-footer {
    background-color: #3d1b1b;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.site-footer h3 {
    color: #d45c5c !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--brand-color) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--brand-color-hover) !important;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* About Page Styles */
.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.values-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.values-list li {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    text-align: center;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 5px;
}

.contact-info h3 {
    margin: 1.5rem 0 0.5rem;
    color: #333;
}

.contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.submit-button {
    background-color: #007bff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0056b3;
}

/* Services Page Styles */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h2 {
    color: #333;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.services-cta {
    text-align: center;
    background-color: #f8f9fa;
    padding: 3rem;
    border-radius: 5px;
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* Privacy Policy Page Styles */
.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.privacy-section h3 {
    color: #555;
    margin: 1.5rem 0 1rem;
}

.privacy-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom styles to complement Bootstrap */

/* Add padding to main content to account for fixed navbar */
.main-content {
    padding-top: 100px;
}

/* Custom navbar padding */
.navbar {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    background-color: #e5c2c2 !important;
}

/* Hero image responsive styles */
@media (max-width: 991px) {
    .hero-image {
        width: 100%;
        height: auto;
        margin: 2rem 0;
    }
    
    .hero-image-container {
        width: 100%;
        padding: 0;
    }
    
    .hero-image-container img {
        width: 100%;
        height: auto;
    }
}

/* Hero section padding */
.hero-section {
    padding-top: 100px !important;
}

/* Hero image overlay */
.hero-image-container {
    position: relative;
    display: inline-block;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #a34646;
    opacity: 0.5;
    pointer-events: none;
}

/* Center hamburger menu on mobile */
@media (max-width: 991px) {
    .navbar-toggler {
        margin: 0 auto;
        display: block;
    }
}

/* Custom link hover effects */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
    color: #000000 !important;
}

.nav-link:hover {
    color: var(--brand-color-hover) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Custom footer link hover effects */
footer .text-light:hover {
    color: var(--brand-color-hover) !important;
}

/* Custom button styles */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Custom card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Custom form styles */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Custom heading styles */
.display-4 {
    font-weight: 600;
}

/* Custom spacing utilities */
.section-padding {
    padding: 5rem 0;
}

/* Custom background colors */
.bg-light-gray {
    background-color: #f8f9fa;
}

/* Custom text colors */
.text-primary {
    color: #007bff !important;
}

/* Custom border radius */
.rounded-lg {
    border-radius: 1rem;
}

/* Custom shadow */
.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

/* Custom Brand Colors */
:root {
    --brand-color: #a34646;
    --brand-color-hover: #8a3838;  /* Darker shade for hover states */
}

/* Button Styles */
.btn-primary {
    background-color: var(--brand-color) !important;
    border-color: var(--brand-color) !important;
}

.btn-primary:hover {
    background-color: var(--brand-color-hover) !important;
    border-color: var(--brand-color-hover) !important;
}

.btn-outline-primary {
    color: var(--brand-color);
    border-color: var(--brand-color);
}

.btn-outline-primary:hover {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
}

/* Link Styles */
a {
    color: var(--brand-color);
    text-decoration: none;
}

a:hover {
    color: var(--brand-color-hover);
    text-decoration: underline;
}

/* Navbar Active State */
.navbar .nav-link.active {
    color: var(--brand-color) !important;
}

/* Footer Links */
footer a {
    color: var(--brand-color) !important;
}

footer a:hover {
    color: var(--brand-color-hover) !important;
}

/* Cemetery Records Styles */
.cemetery-records p {
    margin-bottom: 0.25rem;
} 