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

:root {
    --primary-color: #FF8C00;     /* Saffron/Orange */
    --secondary-color: #B8860B;   /* Dark Golden Rod */
    --accent-color: #DC143C;      /* Crimson */
    --gold-color: #FFD700;        /* Gold */
    --cream-color: #FFF8DC;       /* Cornsilk */
    --brown-color: #8B4513;       /* Saddle Brown */
    --dark-red: #800000;          /* Maroon */
    --text-dark: #2D1B1B;
    --text-light: #6B5B5B;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-gold: linear-gradient(135deg, var(--gold-color), var(--secondary-color));
}

body {
    font-family: 'Noto Sans Devanagari', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream-color);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background: var(--gradient-primary);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.nav-logo i {
    font-size: 2rem;
    margin-right: 0.5rem;
    color: var(--gold-color);
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--cream-color) 0%, #FFF8E7 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(184, 134, 11, 0.1) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.om-symbol {
    color: var(--primary-color);
    font-size: 4rem;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.founder-name {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    font-style: italic;
}

.speciality-highlight {
    background: var(--gradient-gold);
    padding: 0.6rem 1rem;
    border-radius: 15px;
    margin-bottom: 1.2rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
    display: inline-block;
}

.main-speciality {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow);
    border: 5px solid var(--gold-color);
}

.priest-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-frame:hover .priest-image {
    transform: scale(1.1);
}

.image-frame:hover .image-overlay {
    opacity: 0.2;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}





/* Services Section */
.services {
    padding: 80px 0;
    background: var(--cream-color);
}

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

.service-card {
    background: var(--white);
    padding: 1.8rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px var(--shadow);
    border-left: 4px solid var(--primary-color);
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    opacity: 0.05;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow);
    border-left-color: var(--gold-color);
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Gallery Section */
.gallery {
    padding: 70px 0;
    background: linear-gradient(135deg, #FFF8E7 0%, #F5F0E8 100%);
}

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

.gallery-item {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 20px 20px 25px 20px;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.1),
        0 8px 16px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center bottom;
    border: 1px solid rgba(218, 165, 32, 0.2);
}

/* Natural photo rotation effect */
.gallery-item:nth-child(1) { transform: rotate(-2deg); }
.gallery-item:nth-child(2) { transform: rotate(1.5deg); }
.gallery-item:nth-child(3) { transform: rotate(-1deg); }
.gallery-item:nth-child(4) { transform: rotate(2deg); }
.gallery-item:nth-child(5) { transform: rotate(-1.5deg); }
.gallery-item:nth-child(6) { transform: rotate(1deg); }

.gallery-item:hover {
    transform: rotate(0deg) translateY(-12px) scale(1.05);
    box-shadow: 
        0 12px 24px rgba(0,0,0,0.15),
        0 16px 32px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.6);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
    transition: all 0.3s ease;
    filter: sepia(5%) saturate(110%) brightness(102%);
}

.gallery-item:hover img {
    filter: sepia(0%) saturate(120%) brightness(105%);
}

.gallery-overlay {
    position: absolute;
    bottom: 10px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 8px 12px;
    border-radius: 20px;
    transform: translateY(100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--cream-color);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px var(--shadow);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-family: inherit;
    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-color);
}

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



.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    color: #AAA;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--gradient-primary);
        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-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }



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

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .om-symbol {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .founder-name {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-item {
        padding: 15px 15px 20px 15px;
    }
    
    .gallery-item:nth-child(1) { transform: rotate(-1deg); }
    .gallery-item:nth-child(2) { transform: rotate(1deg); }
    .gallery-item:nth-child(3) { transform: rotate(-0.5deg); }
    .gallery-item:nth-child(4) { transform: rotate(1deg); }
    .gallery-item:nth-child(5) { transform: rotate(-1deg); }
    .gallery-item:nth-child(6) { transform: rotate(0.5deg); }

    .image-frame {
        width: 250px;
        height: 250px;
    }


}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .founder-name {
        font-size: 1rem;
    }

    .main-speciality {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.4rem 1.2rem;
        min-height: 160px;
    }

    .contact-form {
        padding: 1.5rem;
    }





    .gallery {
        padding: 40px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .gallery-item {
        padding: 12px 12px 18px 12px;
    }
    
    .gallery-item:nth-child(odd) { transform: rotate(-0.5deg); }
    .gallery-item:nth-child(even) { transform: rotate(0.5deg); }

    .gallery-item img {
        height: 180px;
    }
    
    .gallery-overlay h4 {
        font-size: 0.85rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.feature-card,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
} 

.image-container {
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.image-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} 

.gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
} 