/* Modern CSS for Bhagyanagar Tourism Website */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #87ceeb;
    --accent-color: #e6f7ff;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-cyan: #f0f8ff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--white) 0%, var(--light-cyan) 100%);
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Header and Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
}

.nav-logo i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--accent-color);
}

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 100vh;
    padding-top: 100px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #1e3f73;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

/* Image Placeholders */
.image-placeholder {
    background: var(--accent-color);
    border: 2px dashed var(--secondary-color);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    color: var(--text-light);
    margin: 2rem 0;
    transition: var(--transition);
}

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

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.hero-image .image-placeholder {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 80px;
}

.page-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.introduction,
.attractions-content,
.food-culture-content,
.travel-guide-content,
.history-content,
.contact-content {
    padding: 80px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.main-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.intro-content,
.culture-section,
.guide-section,
.history-section,
.attraction-section {
    margin-bottom: 3rem;
}

.intro-content h2,
.culture-section h3,
.guide-section h3,
.history-section h3,
.attraction-section h3 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.intro-lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 2rem;
}

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

/* Quick Links */
.quick-links {
    background: var(--white);
    padding: 80px 0;
}

.quick-links h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.link-card {
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: var(--secondary-color);
    color: var(--white);
}

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

.link-card:hover i {
    color: var(--white);
}

.link-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: var(--transition);
}

.link-btn:hover {
    background: #1e3f73;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.sidebar-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.quick-nav,
.related-links,
.food-list,
.contact-list {
    list-style: none;
}

.quick-nav li,
.related-links li,
.food-list li,
.contact-list li {
    margin-bottom: 0.5rem;
}

.quick-nav a,
.related-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.quick-nav a:hover,
.related-links a:hover {
    color: var(--primary-color);
}

.food-list li,
.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.food-list i,
.contact-list i {
    color: var(--secondary-color);
}

/* Attractions Page Specific */
.attraction-image,
.food-image,
.guide-image,
.history-image {
    height: 300px;
    margin: 2rem 0;
}

.visitor-tips {
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.visitor-tips h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.visitor-tips ul {
    list-style: none;
}

.visitor-tips li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
}

.visitor-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Food & Culture Page Specific */
.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.recommendation-card {
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.recommendation-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.recommendation-card ul {
    list-style: none;
}

.recommendation-card li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.cultural-tips {
    background: var(--light-cyan);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

/* Travel Guide Page Specific */
.practical-tips {
    margin-top: 3rem;
}

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

.tip-category {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary-color);
}

.tip-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.planning-info p,
.cultural-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.planning-info i,
.cultural-info i {
    color: var(--secondary-color);
    width: 20px;
}

/* History Page Specific */
.timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--accent-color);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.timeline-date {
    font-weight: bold;
    color: var(--primary-color);
    min-width: 120px;
}

.timeline-content {
    color: var(--text-light);
}

.period-list,
.sites-list {
    list-style: none;
}

.period-list li,
.sites-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.period-list i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.contact-main {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-section {
    margin-bottom: 3rem;
}

.contact-section h3 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.info-centers {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.center-card {
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.center-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.emergency-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.emergency-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.emergency-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 1rem 0;
}

.healthcare-list,
.consulate-list {
    margin-top: 1.5rem;
}

.healthcare-item,
.consulate-item {
    background: var(--light-cyan);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary-color);
}

.healthcare-item h4,
.consulate-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.banking-info,
.communication-info,
.online-resources {
    margin-top: 1.5rem;
}

.bank-category,
.comm-category,
.resource-category {
    margin-bottom: 2rem;
}

.bank-category h4,
.comm-category h4,
.resource-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.travel-tips {
    margin-top: 1.5rem;
}

.feedback-info {
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

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

.sidebar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hours-info p,
.languages-info li,
.downloads-info p {
    margin-bottom: 0.8rem;
}

.languages-info {
    list-style: none;
}

.languages-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.languages-info i {
    color: var(--secondary-color);
}

.downloads-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.downloads-info p:hover {
    color: var(--primary-color);
}

.downloads-info i {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--white);
}

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

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

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

.footer-bottom p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

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

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

    .sidebar {
        order: -1;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .main-content {
        padding: 2rem;
    }

    .links-grid,
    .recommendation-grid,
    .tips-grid,
    .emergency-grid {
        grid-template-columns: 1fr;
    }

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

    .btn {
        padding: 0.8rem 1.5rem;
    }
}

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

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

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

    .main-content,
    .contact-main {
        padding: 1.5rem;
    }

    .sidebar-section,
    .sidebar-card {
        padding: 1.5rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .sidebar,
    .nav-toggle {
        display: none;
    }

    .main-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    body {
        background: white;
    }
}