/* Default Reset & Variables */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Nunito:wght@400;600;700&display=swap');

:root {
    --primary-color: #d32f2f; /* Dark Red */
    --secondary-color: #2e7d32; /* Green */
    --accent-color: #fbc02d; /* Yellow/Gold for Mai */
    --text-color: #333;
    --light-bg: #fffcf4; /* Warm yellowish bg */
    --white: #fff;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    color: var(--accent-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    font-weight: 600;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a:hover, nav ul li a.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Banner */
.banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-image: url('https://images.unsplash.com/photo-1611089201389-72c0c7a52eec?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.banner-content h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 64px;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: var(--shadow);
    border: 2px solid var(--accent-color);
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 42px;
}

.section-desc {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 18px;
}

/* Grid layout for cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards */
.card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 22px;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(211, 47, 47, 0.85); /* Primary color w/ opacity */
    color: var(--white);
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Footer */
footer {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 5px solid var(--primary-color);
}

/* Quotes */
.quote-box {
    background-color: var(--white);
    border-left: 5px solid var(--accent-color);
    padding: 30px;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: var(--shadow);
    font-style: italic;
    font-size: 22px;
    text-align: center;
    position: relative;
    border-radius: 0 8px 8px 0;
}

.quote-box::before {
    content: '\201C';
    font-size: 60px;
    color: var(--primary-color);
    position: absolute;
    top: 5px; left: 15px;
    line-height: 1;
    opacity: 0.3;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Maps */
.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Lists styling */
.custom-list {
    list-style: none;
}
.custom-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 18px;
}
.custom-list li::before {
    content: '🧧';
    position: absolute;
    left: 0; top: 0;
    color: var(--primary-color);
    font-size: 18px;
}

/* Image blocks */
.content-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 20px 0;
    max-height: 400px;
    object-fit: cover;
}

.flex-container {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.flex-half {
    flex: 1;
    min-width: 300px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .banner-content h1 { font-size: 42px; }
}
