/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Sansita:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&display=swap');

/* CSS Variables for Color Scheme */
:root {
    --primary-cream: rgb(232, 221, 209);
    --primary-brown: rgb(69, 59, 49);
    --secondary-cream: rgb(243, 240, 232);
    --white: #ffffff;
    --black: #333333;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #f44336;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sansita', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

a {
    text-decoration: none;
    color: var(--primary-brown);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--black);
}

/* Buttons */
.cta-button, .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-brown);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover, .btn:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

/* Add top margin to all content to account for fixed navbar */
#main-content {
    margin-top: 80px; /* Adjust this value based on navbar height */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.nav-logo h2 {
    color: var(--primary-brown);
    font-size: 1.8rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--primary-cream);
    color: var(--primary-brown);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-brown);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px); /* Account for navbar */
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--secondary-cream) 0%, var(--primary-cream) 100%);
}

.hero-content {
    flex: 1;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--gray);
}

.hero-image {
    flex: 1;
    padding: 2rem;
}

.placeholder-image {
    background-color: var(--light-gray);
    border: 2px dashed var(--gray);
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    color: var(--gray);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.placeholder-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

/* Service Images - Style only actual uploaded images, leave placeholders unchanged */
.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-cream) 0%, var(--secondary-cream) 100%);
    padding: 4rem 0 4rem; /* Reduced top padding since navbar margin handles the spacing */
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Section */
.gallery {
    padding: 4rem 0;
    background-color: var(--white);
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--shadow-hover);
}

.gallery-item h3 {
    margin: 1rem 0 0.5rem;
    color: var(--primary-brown);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--secondary-cream);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--primary-cream);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--shadow-hover);
}

.service-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-brown);
}

.service-description {
    margin-bottom: 1.5rem;
    color: var(--gray);
    flex-grow: 1;
}

.service-category {
    margin-bottom: 1rem;
}

.category-tag {
    background-color: var(--primary-cream);
    color: var(--primary-brown);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.order-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-brown);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.order-btn:hover {
    background-color: var(--black);
}

/* Quick Contact Section */
.quick-contact {
    padding: 4rem 0;
    background-color: var(--primary-brown);
    color: var(--white);
    text-align: center;
}

.quick-contact h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.quick-contact p {
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.quick-contact .cta-button {
    background-color: var(--white);
    color: var(--primary-brown);
}

.quick-contact .cta-button:hover {
    background-color: var(--secondary-cream);
    color: var(--primary-brown);
}

/* About Page Styles */
.about-story {
    padding: 4rem 0;
    background-color: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    margin-bottom: 2rem;
}

.story-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.values-section {
    padding: 4rem 0;
    background-color: var(--secondary-cream);
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow);
}

.value-item i {
    font-size: 3rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

/* Process Sections */
.process-section, .process-detail {
    padding: 4rem 0;
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-brown);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.process-steps-detailed {
    margin-top: 1.5rem;
}

.step-detail {
    margin-bottom: 2rem;
}

.step-detail h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-brown);
}

.step-detail i {
    color: var(--primary-brown);
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background-color: var(--secondary-cream);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-content: center;
}

/* When only one team member, center it with max width */
.team-grid:has(.team-member:only-child) {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow);
}

.member-image {
    margin-bottom: 1rem;
    width: 350px;
    height: 350px;
    margin: 0 auto 1rem auto;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--light-gray);
}

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

.member-image .placeholder-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 2rem;
    min-height: auto;
}

.member-role {
    color: var(--primary-brown);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Awards Section */
.awards-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.awards-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.award-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-cream);
    border-radius: 10px;
}

.award-item i {
    font-size: 3rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-brown);
    margin-top: 0.2rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-brown);
}

.social-contact {
    margin-top: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-brown);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--black);
}

/* Forms */
.contact-form h2 {
    margin-bottom: 2rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-brown);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--primary-cream);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-brown);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: var(--secondary-cream);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

/* Emergency Contact */
.emergency-contact {
    padding: 3rem 0;
    background-color: var(--primary-brown);
    color: var(--white);
    text-align: center;
}

.emergency-contact h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.emergency-contact p {
    color: var(--white);
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background-color: var(--primary-brown);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .cta-button {
    background-color: var(--white);
    color: var(--primary-brown);
}

.cta-section .cta-button:hover {
    background-color: var(--secondary-cream);
    color: var(--primary-brown);
}

/* Custom Orders Section */
.custom-orders {
    padding: 4rem 0;
    background-color: var(--secondary-cream);
}

.custom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.custom-text h2 {
    margin-bottom: 2rem;
}

.custom-text h3 {
    margin: 2rem 0 1rem;
    color: var(--primary-brown);
}

.custom-text ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.custom-text li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close {
    color: var(--gray);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close:hover {
    color: var(--black);
}

/* Modal buttons */
.modal-content .cancel-btn,
.modal-content .submit-btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5rem 0.5rem 0 0;
    min-width: 120px;
}

.modal-content .cancel-btn {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    border: 2px solid var(--gray);
}

.modal-content .cancel-btn:hover {
    background-color: var(--gray);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px var(--shadow);
}

.modal-content .submit-btn {
    background-color: var(--primary-brown);
    color: var(--white);
    border: 2px solid var(--primary-brown);
}

.modal-content .submit-btn:hover {
    background-color: var(--black);
    border-color: var(--black);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px var(--shadow);
}

/* Modal button container */
.modal-content .form-actions {
    text-align: right;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

/* Footer */
.footer {
    background-color: var(--primary-brown);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--white);
    opacity: 0.9;
}

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

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

.footer-section ul li a {
    color: var(--white);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Utility Functions */
.scrollToSection {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-content,
    .story-content,
    .process-content,
    .custom-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 5rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .placeholder-image {
        padding: 2rem;
        min-height: 200px;
    }
    
    .placeholder-image i {
        font-size: 3rem;
    }
}

/* 404 Error Page Styles */
.error-section {
    padding: 6rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-cream) 0%, var(--white) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.error-title {
    font-size: 3rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-weight: 700;
}

.error-subtitle {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 400;
}

.error-message {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.error-suggestions {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.error-suggestions h3 {
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.suggestion-list li {
    margin-bottom: 0.8rem;
}

.suggestion-list a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.suggestion-list a::before {
    content: "🍰";
    margin-right: 0.5rem;
}

.suggestion-list a:hover {
    color: var(--primary-brown);
}

.decorative-section {
    padding: 3rem 0;
    background-color: var(--white);
}

.decoration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.decoration-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background-color: var(--secondary-cream);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.decoration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.decoration-item i {
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    display: block;
}

.decoration-item p {
    color: var(--gray);
    font-weight: 500;
    margin: 0;
}

/* Mobile Responsive for 404 Page */
@media (max-width: 768px) {
    .error-title {
        font-size: 2.5rem;
    }
    
    .error-subtitle {
        font-size: 1.3rem;
    }
    
    .error-message {
        font-size: 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .decoration-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .decoration-item {
        padding: 1rem;
    }
    
    .decoration-item i {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-button,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    .hero,
    .page-header {
        page-break-after: avoid;
    }
}

.hero {
  background: url('../images/back.png') center center / cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 2rem;
  color: white; /* Default text color */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Slight dark overlay for readability */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: white;
}

.hero-content h1,
.hero-content p,
.hero-content a {
  color: white !important; /* 🔥 Forces all text white, including links */
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-btn {
  display: inline-block;
  background-color: #5c4433;
  color: #333 !important; /* Keeps button text dark on light button */
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #8a6c54;
}






.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.gallery-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.gallery-item p {
  margin: 0;
  font-weight: 500;
  color: #5c4433;
}