:root {
    --primary: #c9a227;
    --primary-dark: #a68520;
    --secondary: #1a1a2e;
    --secondary-light: #16213e;
    --accent: #e94560;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --bg-dark: #0f0f1a;
    --bg-card: #1e1e30;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0 auto;
    border-radius: 2px;
}

.divider.light {
    background: linear-gradient(90deg, var(--text-light), var(--primary));
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 40px;
    width: auto;
    border-radius: 5px;
    object-fit: cover;
}

.logo span {
    color: var(--primary);
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('image/home1.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(15, 15, 26, 0.7) 0%, 
        rgba(15, 15, 26, 0.5) 50%,
        rgba(15, 15, 26, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.tagline {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-desc {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.mantra {
    font-size: 24px;
    color: #FFB74D;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.5s both;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    border: 2px solid var(--primary);
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.7s both;
    margin-left: 15px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-indicator i {
    color: var(--primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

/* History Section */
.history-section {
    background: var(--secondary);
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.history-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(201, 162, 39, 0.1);
}

.history-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.history-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.history-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.history-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.history-quote {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, var(--bg-card), var(--secondary-light));
    border-radius: 20px;
    border-left: 4px solid var(--primary);
}

.history-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-style: italic;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Temples Section */
.temples-section {
    background: var(--bg-dark);
}

.temples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.temple-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.temple-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.temple-image {
    height: 220px;
    overflow: hidden;
}

.temple-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.temple-card:hover .temple-image img {
    transform: scale(1.1);
}

.temple-content {
    padding: 30px;
}

.temple-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.temple-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(201, 162, 39, 0.15);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Jyotirlinga Section */
.jyotirlinga-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--secondary) 100%);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 50px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.loop-header {
    margin: 50px 0 30px;
    padding: 20px 30px;
    background: var(--bg-card);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.loop-header h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 8px;
}

.loop-header p {
    font-size: 14px;
    color: var(--text-muted);
}

.jyotirlinga-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.jyotirlinga-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
    gap: 20px;
    border: 1px solid transparent;
}

.jyotirlinga-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.jyotirlinga-card.featured {
    background: linear-gradient(135deg, var(--bg-card), rgba(201, 162, 39, 0.1));
    border-color: var(--primary);
}

.jyotirlinga-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jyotirlinga-icon i {
    font-size: 22px;
    color: var(--secondary);
}

.jyotirlinga-info {
    flex: 1;
}

.jyotirlinga-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.jyotirlinga-info .location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 12px;
}

.jyotirlinga-info .location i {
    font-size: 10px;
}

.jyotirlinga-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.jyotirlinga-info .tag {
    margin-top: 12px;
}

/* Ghats Section */
.ghats-section {
    background: var(--secondary);
}

.ghats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.ghat-card {
    display: flex;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.ghat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.ghat-image {
    flex: 0 0 45%;
    overflow: hidden;
}

.ghat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.ghat-card:hover .ghat-image img {
    transform: scale(1.1);
}

.ghat-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ghat-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.ghat-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Culture Section */
.culture-section {
    background: var(--bg-dark);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culture-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.culture-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.culture-icon i {
    font-size: 32px;
    color: var(--secondary);
}

.culture-card h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--primary);
}

.culture-card ul {
    list-style: none;
    text-align: left;
}

.culture-card li {
    font-size: 14px;
    color: var(--text-muted);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 20px;
}

.culture-card li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
}

.culture-card li:last-child {
    border-bottom: none;
}

/* Offbeat Section */
.offbeat-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--secondary) 100%);
}

.offbeat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offbeat-card {
    background: var(--bg-card);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.offbeat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.offbeat-image {
    height: 200px;
    overflow: hidden;
}

.offbeat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.offbeat-card:hover .offbeat-image img {
    transform: scale(1.1);
}

.offbeat-content {
    padding: 30px;
}

.offbeat-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.offbeat-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Gallery Section */
.gallery-section {
    background: var(--secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 15, 26, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}

/* Why Unexplored Section */
.why-unexplored {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.reason-card {
    background: var(--bg-card);
    padding: 40px 25px;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.reason-card:hover::before {
    transform: scaleX(1);
}

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

.reason-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: rgba(201, 162, 39, 0.2);
    margin-bottom: 15px;
}

.reason-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary);
}

.reason-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.footer-logo p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

.lightbox-caption {
    margin-top: 20px;
    font-size: 18px;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .history-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .temples-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jyotirlinga-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .history-grid,
    .temples-grid,
    .culture-grid,
    .offbeat-grid,
    .gallery-grid,
    .reasons-grid,
    .jyotirlinga-grid {
        grid-template-columns: 1fr;
    }
    
    .ghats-grid {
        grid-template-columns: 1fr;
    }
    
    .ghat-card {
        flex-direction: column;
    }
    
    .ghat-image {
        height: 200px;
        flex: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .history-quote blockquote {
        font-size: 18px;
    }
}
