/* Color Palette: #2C3E50 (dark blue), #ECF0F1 (light gray), #E74C3C (red) */
:root {
    --primary: #2C3E50;
    --secondary: #ECF0F1;
    --accent: #E74C3C;
    --text: #333;
    --light-text: #777;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 0;
}

/* Header styles */
header {
    background-color: var(--primary);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo h1 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent);
}

.mobile-menu {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main content */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://coolkits.in/sacredarts/images/church2.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 20px 20px;
    margin: 20px 0;
    border-radius: 10px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #c0392b;
}

/* Section styles */
.section-title {
    text-align: center;
    margin: 40px 0 30px;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

/* Artworks grid */
.artworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.artwork-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.artwork-card:hover {
    transform: translateY(-10px);
}

.artwork-image-container {
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            display: flex;
            justify-content: center;
            align-items: center;
        }

.artwork-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.artwork-fullimage {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.artwork-details {
    padding: 20px;
}

.artwork-header {
            text-align: left;
            margin-bottom: 20px;
	        width: 90%;
    		margin: 0 auto;
    		padding: 20px 0;
        }

.artwork-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.artwork-artist {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 15px;
}

.artwork-description {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.artwork-info {
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

.sizes-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.sizes-table th, .sizes-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.sizes-table th {
    background-color: #f8f8f8;
    font-weight: 600;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

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

/* FAQ */
.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 15px 0 0;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-section p {
    color: #ddd;
    display: flex;
    align-items: center;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Admin specific */
.admin-header {
    background-color: var(--primary);
    color: white;
    padding: 15px 0;
}

.admin-container {
    width: 90%;
    max-width: 1000px;
    margin: 30px auto;
}

.admin-menu {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.admin-menu ul {
    display: flex;
    list-style: none;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-menu a {
    display: block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.admin-menu a:hover {
    background-color: var(--accent);
}

.artwork-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        padding: 50px 20px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    nav ul.show {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 15px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .artworks-grid {
        grid-template-columns: 1fr;
    }
}
