/* Global styles for Casa Amrita */

/* Base spacing for better readability */
html, body {
    overflow-x: hidden;
}

/* Add more breathing room to all containers */
.mud-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Modern header styling - FIXED */
.header-appbar {
    transition: box-shadow 0.3s ease-in-out;
    height: 70px;
    padding: 0 1.5rem;
    z-index: 1100;
    background-color: var(--mud-palette-primary) !important;
    color: white !important;
}

.header-appbar a,
.header-appbar .mud-button,
.header-appbar .mud-icon-button {
    color: white !important;
}

.header-transparent {
    box-shadow: none;
}

.header-nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-nav-item {
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    color: white !important;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    position: relative;
    transition: all 0.3s ease;
}

.header-nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 22px;
    left: 50%;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-nav-item:hover::after,
.header-nav-item.active::after {
    width: 24px;
}

/* Fix for main content area */
.mud-main-content {
    padding-top: 70px;
}

/* Homepage padding adjustment */
.home-page .mud-main-content {
    padding-top: 70px;
}

/* Common page section styles */
.page-section {
    margin-top: 4rem; /* Increased from 2rem */
    margin-bottom: 4rem; /* Increased from 2rem */
    padding: 2rem 0;
}

/* Special case for first section after hero */
.first-section {
    margin-top: 6rem; /* Increased from 4rem */
}

/* Common spacing classes */
.section-spacing {
    margin-top: 4rem; /* Increased from 2.5rem */
    margin-bottom: 4rem; /* Increased from 2.5rem */
}

/* Card consistency */
.card-equal-height {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 2rem; /* Added bottom margin */
}

/* Common image styles */
.cover-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* Section title styles */
.section-title {
    margin-bottom: 2.5rem; /* Increased from 1.5rem */
    font-size: 2.5rem; /* Larger title */
}

/* Custom divider spacing */
.section-divider {
    margin-top: 4rem; /* Increased from 2.5rem */
    margin-bottom: 4rem; /* Increased from 2.5rem */
}

/* Style for block quotes and testimonials */
.testimonial-container {
    padding: 3rem; /* Increased from 1.5rem */
    background-color: var(--mud-palette-background-grey);
    border-radius: 8px;
    font-style: italic;
    margin: 4rem 0; /* Added vertical margin */
}

/* Global hero section styles to ensure white text on ALL pages */
.hero-section .mud-typography,
.hero-section span,
.hero-section p,
.hero-section div,
.hero-text-container .mud-typography {
    color: white !important;
}

/* This will override ALL MudText components inside any hero section */
.hero-section .mud-typography,
.hero-text-container .mud-typography {
    color: white !important;
}

/* Hero section styles */
.hero-section {
    position: relative;
    margin-bottom: 2rem; /* Added bottom margin */
}

.hero-section .hero-paper {
    min-height: 70vh;
}

.hero-section.full-screen .mud-appbar {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
}

/* Footer styles */
.footer-section {
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    padding: 4rem 0; /* Increased from 2rem */
    margin-top: 4rem; /* Added top margin */
}

/* Call to action section */
.cta-section {
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    padding: 4rem; /* Increased from 2rem */
    border-radius: 8px;
    margin: 5rem 0; /* Increased from 2.5rem */
}

/* Custom spacing classes */
.mt-lg {
    margin-top: 5rem !important;
}

.mb-lg {
    margin-bottom: 5rem !important;
}

.py-lg {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.px-lg {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

/* Grid item spacing */
.mud-grid-item {
    padding: 1rem;
}

/* Element spacing */
h1, h2, h3, h4, h5, h6, p {
    margin-bottom: 1.5rem;
}

/* Ensure buttons are larger and have more padding */
.mud-button-large {
    padding: 0.75rem 1.75rem !important;
    font-size: 1rem !important;
} 