:root {
    --primary: #D95A2B;
    --primary-hover: #E86A3B;
    --secondary: #2C6E49;
    --bg-color: #FAF8F5;
    --text-main: #2D2A26;
    --text-muted: #6B6561;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Glass Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(250, 248, 245, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    letter-spacing: 0.5px;
}

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

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

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

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Keep hero dark for cinematic feel, but everything below is light */
    background: linear-gradient(to bottom, rgba(10,10,10,0.3), rgba(10,10,10,0.8)), 
                url('images/hero.png') center/cover;
    z-index: -1;
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: var(--font-body);
}

.cta-button.small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.cta-button.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(217, 90, 43, 0.3);
}

.cta-button.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 90, 43, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.cta-button.secondary:hover {
    background: var(--text-main);
    color: var(--bg-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s forwards 1.5s;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

.arrow-down {
    width: 20px;
    height: 20px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

/* Sections */
.section-padding {
    padding: 6rem 5%;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.glass-card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 2.5rem 2rem;
    flex-grow: 1;
}

.tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: inline-block;
    font-weight: 600;
}

.card-body h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-body p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Ghats Section */
.alt-bg-section {
    background-color: #F0EBE1;
    border-radius: 40px;
    margin: 2rem auto;
    max-width: 95%;
}

.ghats-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ghats-temple {
    background: linear-gradient(to right, rgba(250,248,245,0.85), rgba(250,248,245,0.2)), 
                url('images/temple.png') center/cover;
}

.ghats-craft {
    background: linear-gradient(to right, rgba(250,248,245,0.85), rgba(250,248,245,0.2)), 
                url('https://images.unsplash.com/photo-1605389659021-93d395a63968?auto=format&fit=crop&q=80&w=1600') center/cover;
}

.featured-card {
    border-radius: 24px;
    padding: 4rem 3rem;
    min-height: 380px;
    display: flex;
    align-items: center;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.featured-content {
    max-width: 500px;
}

.featured-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.featured-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Form inputs */
.light-input {
    flex-grow: 1;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
}

.search-box {
    display: flex;
    gap: 10px;
}

/* Footer */
footer {
    background: #F3EFEA;
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s;
    padding: 5px 0;
}

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

.newsletter label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.developed-by {
    margin-top: 10px;
    font-size: 0.95rem;
}

.developed-by a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.developed-by a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transition: transform 0.3s;
    transform-origin: right;
    transform: scaleX(0);
}

.developed-by a:hover::after {
    transform-origin: left;
    transform: scaleX(1);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

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

/* Responsive */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .featured-card {
        padding: 3rem 2rem;
        background-position: left;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(250,248,245,0.98);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-menu a {
        font-size: 1.5rem;
        font-family: var(--font-heading);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
