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

body {
    font-family: 'Merriweather', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Layout */
.container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Hero styles */
.custom-hero {
    position: relative;
    min-height: 60vh;
    background-image: url('/assets/hero-image.jpg');
    background-position: center 75%;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.custom-hero-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    color: white;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: black;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.availability-text {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: rgba(212, 237, 218, 0.9);
    color: #155724;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .custom-hero-title {
        font-size: 3.5rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .cta-button {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    .availability-text {
        font-size: 1rem;
    }
}

/* Increase font size for larger screens */
@media (min-width: 1200px) {
    .hero-tagline {
        font-size: 2.25rem;
    }
}

.availability-text::before {
    content: '•';
    color: #28a745;
    margin-right: 0.5rem;
    font-size: 1.2em;
    vertical-align: middle;
}

.cta-button:hover {
    background-color: white;
    color: black;
}

.phone-icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.cta-button:hover .phone-icon {
    filter: invert(1);
}

/* Main content */
main {
    padding: 3rem 0;
}

.main-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Main content spacing and styling */
.main-content > div {
    margin-bottom: 2rem;  /* Reduced from 3rem */
    padding-top: 1rem;    /* Reduced from 1.5rem */
    padding-bottom: 1rem; /* Reduced from 1.5rem */
}

.main-content > div:last-child {
    margin-bottom: 0;
}

.main-content h2 {
    margin-bottom: 0.75rem; /* Reduced from 1rem */
}

/* Call-out box for main_content_2 */
.main-content > div:nth-child(2) {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 0.25rem;
    padding: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Added drop shadow */
}

.main-content > div:nth-child(2) h2 {
    color: #664d03; /* Darker text color for better contrast */
    margin-bottom: 0.75rem;
}

.main-content > div:nth-child(2) ul {
    color: #664d03; /* Darker text color for better contrast */
    padding-left: 1.25rem;
    margin-bottom: 0; /* Remove bottom margin from the list */
}

.main-content > div:nth-child(2) li {
    margin-bottom: 0.5rem; /* Add space between list items */
}

.main-content > div:nth-child(2) li:last-child {
    margin-bottom: 0; /* Remove margin from last list item */
}

/* Updated Footer styles */
footer {
    background-color: #000;
    color: #aaa;
    padding: 2rem 5%;
    font-size: 0.9rem;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info, .footer-links {
    flex-basis: 48%;
    margin-bottom: 1rem;
}

.footer-info {
    text-align: left;
}

.footer-links {
    text-align: right;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    flex-basis: 100%;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-right: 1rem;
}

.copyright {
    font-size: 0.8rem;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .footer-info, .footer-links {
        flex-basis: 100%;
        text-align: center;
    }

    .footer-links a {
        margin: 0 0.5rem;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* FAQ styles */
.faq-section {
    margin-top: 3rem;
}

.faq-section h2 {
    margin-bottom: 1.5rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background-color: #f5f5f5;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.faq-question::after {
    content: '\25BC';
    float: right;
    transform: rotate(0);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.faq-answer p, .faq-answer ul, .faq-answer ol {
    margin-bottom: 15px;
}

.faq-answer p:last-child, .faq-answer ul:last-child, .faq-answer ol:last-child {
    margin-bottom: 0;
}

.faq-answer ul, .faq-answer ol {
    margin-left: 20px;
}

.faq-answer li {
    margin-bottom: 5px;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 15px 20px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 5px 5px 0 0;
    text-align: left;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.faq-question[aria-expanded="true"] {
    border-radius: 5px 5px 0 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

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

/* Image Grid */
.image-grid {
    margin: 3rem 0;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4 / 3;
    transform: rotate(var(--rotation));
}

.grid-item:nth-child(1) { --rotation: -2deg; }
.grid-item:nth-child(2) { --rotation: 1deg; }
.grid-item:nth-child(3) { --rotation: 2deg; }
.grid-item:nth-child(4) { --rotation: -1deg; }

.grid-item:hover {
    transform: translateY(-5px) scale(1.05) rotate(var(--rotation));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.grid-item img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.grid-item:hover img {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-container {
        gap: 1rem;
    }
}

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

.map-section {
    margin-top: 3rem;
}

.map-section h2 {
    margin-bottom: 1rem;
}

.map-container {
    position: relative;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Main content */
.main-content h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.main-content p {
    margin-bottom: 1rem;
}

.main-content ul, .main-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.main-content li {
    margin-bottom: 0.5rem;
}

/* Call-out box styling */
.main-content > div:nth-child(2) {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    padding: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-content > div:nth-child(2) h2 {
    color: #495057;
    margin-top: 0;
}

.main-content > div:nth-child(2) ul {
    color: #495057;
}

/* Adjust spacing for all content sections */
.main-content > div {
    margin-bottom: 2rem;
}

.main-content > div:last-child {
    margin-bottom: 0;
}

.location-text {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}