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

:root {
    --primary-color: #D4AF37;
    --secondary-color: #8B4513;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --accent-red: #C41E3A;
    --accent-gold: #FFD700;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
    margin: 0;
}

.logo p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

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

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav a:hover,
.nav a.active {
    opacity: 0.8;
    border-bottom: 2px solid white;
    padding-bottom: 3px;
}

.nav-auth {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-auth:hover {
    background: rgba(255, 255, 255, 0.3);
    border-bottom: none;
    padding-bottom: 8px;
}

.nav-register {
    background: white !important;
    color: #1a237e !important;
    font-weight: 600;
    border-radius: 4px;
    padding: 8px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-register:hover {
    background: #f5f5f5 !important;
    color: #283593 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.8) 0%, rgba(139, 69, 19, 0.8) 100%), 
                url('images/pushkar.png') center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
    color: white;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Buttons */
.cta-btn {
    background: white;
    color: var(--accent-red);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--accent-gold);
    color: var(--dark-color);
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
}

/* Event Card (now Boy Card) */
.event-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.boy-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.boy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gotra {
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-header {
    padding: 2rem;
    color: white;
}

.event-header h3 {
    font-size: 1.5rem;
}

.event-body {
    padding: 2rem;
}

.event-body p {
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery {
    padding: 60px 20px;
}

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

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.gallery-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
}

/* Services Section */
.services {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .header .container {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 100;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
        text-align: left;
    }

    .nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav a {
        display: block;
        padding: 15px 10px;
    }

    .nav a:hover,
    .nav a.active {
        background: rgba(255, 255, 255, 0.1);
        border-bottom: none;
        padding: 15px 10px;
    }

    .nav-auth {
        margin: 5px 0;
    }

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

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

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

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

    .events-grid,
    .gallery-grid,
    .services-grid,
    .business-grid,
    .profiles-grid {
        grid-template-columns: 1fr;
    }

    .members-table {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 45px;
    }

    .nav {
        width: 100%;
        right: -100%;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        gap: 0;
    }

    .hero {
        padding: 50px 20px;
        min-height: auto;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

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

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

/* About Section */
.about-section {
    padding: 60px 20px;
}

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

.about-text h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.about-text h4 {
    color: var(--dark-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-text ul {
    list-style: none;
    margin-left: 0;
}

.about-text ul li {
    padding: 0.5rem 0;
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
}

/* Gotra Section */
.gotra-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.gotra-search-box {
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: center;
}

.gotra-search {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.gotra-search:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.gotra-table-container {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gotra-table {
    width: 100%;
    border-collapse: collapse;
}

.gotra-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.gotra-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.gotra-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.gotra-table tbody tr:hover {
    background-color: #f9f9f9;
}

.gotra-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

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

.gotra-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gotra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gotra-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.gotra-count {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Matrimony Section */
.matrimony-section {
    padding: 60px 20px;
}

.search-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.search-box h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.search-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.search-form input,
.search-form select {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    min-width: 150px;
}

/* Profile Cards */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.profile-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.profile-header {
    padding: 1.5rem;
    color: white;
    position: relative;
}

.profile-header h4 {
    font-size: 1.3rem;
    margin: 0;
}

.profile-header .age {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.profile-body {
    padding: 1.5rem;
}

.profile-body p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

/* Members Section */
.members-section {
    padding: 60px 20px;
}

.filter-box {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.filter-box h4 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

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

.filters input,
.filters select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.members-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.members-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.members-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.members-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.members-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* Business Section */
.business-section {
    padding: 60px 20px;
}

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

.business-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.business-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1.5rem;
    color: white;
}

.business-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.business-body {
    padding: 1.5rem;
}

.business-body p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 20px;
}

.gallery-filter {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--dark-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

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

/* Videos Section */
.videos-section {
    padding: 60px 20px;
}

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

.video-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

.play-button {
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .play-button {
    transform: scale(1.2);
}

.video-info {
    padding: 1rem;
    background: white;
}

.video-info h4 {
    margin: 0.5rem 0;
    color: var(--dark-color);
}

.video-info p {
    color: #666;
    font-size: 0.9rem;
}

/* News Section */
.news-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

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

.news-card {
    background: white;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.news-card > div,
.news-card > h3,
.news-card > p,
.news-card > button {
    padding: 0 2rem;
}

.news-card > div:first-of-type {
    padding-top: 1.5rem;
}

.news-card > button {
    margin: 1.5rem 2rem 2rem 2rem;
    padding: 0.6rem 1.2rem;
}

.news-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    padding-top: 0.5rem;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 3rem 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    color: white;
}

.newsletter-section h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-section p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    min-width: 200px;
}

/* Events/Boys Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.events {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form input,
    .search-form select {
        min-width: 100%;
    }

    .filters {
        grid-template-columns: 1fr;
    }

    .gallery-filter {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }
}
