/* Design System - All colors are HSL based */
:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(215, 25%, 15%);
    
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(215, 25%, 15%);
    
    --primary: hsl(215, 45%, 25%);
    --primary-foreground: hsl(0, 0%, 100%);
    
    --secondary: hsl(40, 85%, 55%);
    --secondary-foreground: hsl(215, 45%, 25%);
    
    --muted: hsl(215, 15%, 95%);
    --muted-foreground: hsl(215, 15%, 45%);
    
    --accent: hsl(40, 85%, 55%);
    --accent-foreground: hsl(215, 45%, 25%);
    
    --border: hsl(215, 15%, 90%);
    --input: hsl(215, 15%, 90%);
    --ring: hsl(215, 45%, 25%);
    
    --radius: 0.75rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background-color: var(--background);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary);
    text-decoration: none;
}

.nav.scrolled .nav-brand {
    color: var(--primary);
}

.nav-menu {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--primary-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav.scrolled .nav-link {
    color: var(--foreground);
}

.nav-link:hover {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: flex;
    background: none;
    border: none;
    color: var(--primary-foreground);
    cursor: pointer;
    padding: 0.5rem;
}

.nav.scrolled .mobile-menu-btn {
    color: var(--foreground);
}

.menu-icon, .close-icon {
    width: 24px;
    height: 24px;
}

.hidden {
    display: none;
}

.mobile-menu {
    background-color: var(--background);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--foreground);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: var(--muted);
    color: var(--secondary);
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-menu {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/hero-church.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsla(215, 45%, 25%, 0.95), hsla(215, 35%, 35%, 0.9));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 2rem;
    background: linear-gradient(135deg, hsl(40, 85%, 55%), hsl(35, 80%, 60%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--primary-foreground);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    box-shadow: 0 10px 40px hsla(40, 85%, 55%, 0.3);
}

.btn-primary:hover {
    background-color: hsl(40, 85%, 50%);
    transform: scale(1.05);
}

.btn-full {
    width: 100%;
}

.icon {
    width: 20px;
    height: 20px;
}

.icon-large {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.icon-secondary {
    color: var(--secondary);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.bg-background {
    background-color: var(--background);
}

.bg-muted {
    background-color: var(--muted);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-description {
    text-align: center;
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

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

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

/* Cards */
.card {
    background-color: var(--card);
    color: var(--card-foreground);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

/* About Section */
.about-card {
    max-width: 64rem;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    gap: 2rem;
}

.about-image-container {
    display: flex;
    justify-content: center;
    align-items: start;
}

.about-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px hsla(40, 85%, 55%, 0.3);
}

.about-heading {
    font-size: 1.875rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.about-subheading {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 3rem;
    }
}

/* Services Section */
.services-container {
    max-width: 42rem;
    margin: 0 auto;
}

.services-card {
    border: 2px solid hsla(215, 45%, 25%, 0.1);
}

.services-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.services-city {
    font-size: 1.5rem;
    color: var(--primary);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--muted);
    border-radius: var(--radius);
}

.service-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.service-time {
    font-size: 1.875rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--primary);
}

.service-contact {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: hsla(215, 45%, 25%, 0.05);
    border-radius: var(--radius);
    border: 1px solid hsla(215, 45%, 25%, 0.2);
}

.highlight {
    font-weight: 600;
    color: var(--primary);
}

/* Audio Section */
.audio-container {
    max-width: 56rem;
    margin: 0 auto;
}

.audio-card {
    padding: 2rem;
}

.audio-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.audio-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--muted);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
}

.audio-item:hover {
    background-color: hsla(215, 45%, 25%, 0.05);
}

.audio-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.audio-title h3 {
    font-weight: 500;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.audio-item:hover .audio-title h3 {
    color: var(--primary);
}

/* Contact Section */
.contact-container {
    max-width: 42rem;
    margin: 0 auto;
}

.contact-card {
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--foreground);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--input);
    border-radius: var(--radius);
    background-color: var(--background);
    color: var(--foreground);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px hsla(215, 45%, 25%, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    text-align: center;
}

.form-message.success {
    background-color: hsl(142, 76%, 90%);
    color: hsl(142, 76%, 30%);
    border: 1px solid hsl(142, 76%, 70%);
}

.form-message.error {
    background-color: hsl(0, 84%, 90%);
    color: hsl(0, 84%, 30%);
    border: 1px solid hsl(0, 84%, 70%);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 2rem 0;
}

.footer-content {
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-description {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .section {
        padding: 3rem 0;
    }
    
    .card {
        padding: 1.5rem;
    }
}
