/* Global Styles */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --text-color: #2C3E50;
    --background-color: #F7F9FC;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #8B0000 0%, #FF6B00 60%, #FFE066 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 6rem 1rem 2rem 1rem;
}

.hero-content {
    margin-top: 4rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Georgia', serif;
    position: relative;
    padding: 0.5rem 0;
}

.tagline::before,
.tagline::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    left: 50%;
    transform: translateX(-50%);
}

.tagline::before {
    top: 0px;
}

.tagline::after {
    bottom: 0px;
}

.tagline em {
    font-style: italic;
    background: linear-gradient(45deg, var(--accent-color), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-description {
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-description p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.hero-description p:last-child {
    margin-bottom: 0;
}

.hero-description strong {
    color: var(--accent-color);
    font-weight: bold;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 2rem;
}

.cta-button:hover {
    background-color: #ff5252;
}

/* Services Section */
.services {
    padding: 8rem 5% 5rem 5%;
    text-align: center;
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Pujas Section */
.pujas {
    padding: 5rem 5%;
    background-color: var(--white);
    text-align: center;
}

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

.puja-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.book-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.book-button:hover {
    background-color: #3dbeb6;
}

/* Priests Section */
.priests {
    padding: 5rem 5%;
    text-align: center;
}

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

.priest-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.priest-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    text-align: left;
}

.stars {
    margin-bottom: 1rem;
}

.stars i {
    color: #FFD700;
    font-size: 1.2rem;
    margin-right: 0.2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--white);
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 1rem;
}

.author-info h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.author-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Gallery Filter */
.gallery-filter {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Prevent download features */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.gallery-content {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Prevent download features */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
}

.gallery-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Prevent download features */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
}

.gallery-item:hover .gallery-content img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-content video {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: var(--white);
    padding: 1rem;
}

.gallery-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.gallery-info p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.gallery-info i {
    font-size: 2rem;
    color: var(--accent-color);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-info i:hover {
    transform: scale(1.2);
}

/* Video Items */
.video-item .gallery-info i {
    color: #ff4444;
}

/* Review Form Section */
.review-form-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #f5f6fa 0%, #e0e1e6 100%);
    color: #222;
}

.review-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.review-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
    text-shadow: 2px 2px 4px rgba(180,180,180,0.08);
}

.review-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.review-form {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid #e0e1e6;
    text-align: left;
    box-shadow: 0 4px 24px rgba(180,180,180,0.10);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    background: #f5f6fa;
    color: #222;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #bdbdbd;
    background: #fff;
    box-shadow: 0 0 10px rgba(180,180,180,0.10);
}

.form-group select option {
    background: #f5f6fa;
    color: #222;
}

/* File Upload Styles */
.form-group input[type="file"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    background: #f5f6fa;
    color: #222;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-group input[type="file"]:focus {
    outline: none;
    border-color: #bdbdbd;
    background: #fff;
    box-shadow: 0 0 10px rgba(180,180,180,0.10);
}

.form-group input[type="file"]::-webkit-file-upload-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 1rem;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.form-group input[type="file"]::-webkit-file-upload-button:hover {
    background: #ff5252;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* File Preview Styles */
.file-preview-container {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.file-preview {
    position: relative;
    background: #f5f6fa;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    padding: 0.5rem;
    max-width: 200px;
    text-align: center;
}

.file-preview img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.file-preview video {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.file-name {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.remove-file {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.remove-file:hover {
    background: #cc0000;
}

.video-preview {
    max-width: 250px;
}

/* Rating Stars */
.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.rating-stars input[type="radio"] {
    display: none;
}

.star-label {
    cursor: pointer;
    font-size: 2rem;
    color: #FFD700;
    transition: color 0.3s ease;
}

.star-label:hover,
.star-label:hover ~ .star-label,
.rating-stars input[type="radio"]:checked ~ .star-label {
    color: #FFD700;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #555;
}

/* Submit Button */
.submit-review-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #4ECDC4, #FF6B6B);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(180,180,180,0.10);
}

.submit-review-btn:hover {
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(180,180,180,0.15);
}

.submit-review-btn i {
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background-color: var(--white);
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 3rem auto;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

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

.submit-button {
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #ff5252;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .testimonial-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonials h2 {
        font-size: 2rem;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

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

    .review-form {
        padding: 1.5rem;
    }

    .review-container h2 {
        font-size: 2rem;
    }

    .star-label {
        font-size: 1.5rem;
    }

    .submit-review-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

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

    .gallery h2 {
        font-size: 2rem;
    }

    .gallery-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .gallery-content {
        height: 200px;
    }
}

/* Loading and Error States for Reviews */
.loading-reviews,
.error-reviews {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading-reviews i,
.error-reviews i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.loading-reviews i {
    color: var(--primary-color);
}

.error-reviews i {
    color: #ff4444;
}

.loading-reviews p,
.error-reviews p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.retry-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.retry-btn:hover {
    background: #ff5252;
}

/* Additional review information styles */
.service-type,
.priest-name {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.service-type {
    color: var(--primary-color);
    font-weight: 500;
}

.priest-name {
    color: #888;
    font-style: italic;
} 