:root {
    --primary-color: #F47216; /* Saffron/Orange */
    --secondary-color: #138808; /* India Green */
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e65100;
}

/* Navbar social icons */
.social-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-nav a {
    font-size: 1.2rem;
    color: var(--text-color);
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-nav a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
}

.hero-image-container {
    text-align: center;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    max-width: 800px; /* Limit width to keep portrait image reasonable */
    margin: 0 auto;
}

.hero-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Search Section */
.search-section {
    flex: 1;
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.search-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.search-card h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.search-card p {
    color: #666;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #0e6b05;
}

.hidden {
    display: none;
}

#loadingSpinner {
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Results */
.results-container {
    margin-top: 2rem;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.result-item {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.result-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.result-item p {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    color: #555;
}

/* Footer */
.footer {
    background-color: #333;
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 0.5rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Copyright Button */
.copyright-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    padding: 0;
    cursor: default;
    text-align: center;
    line-height: 1.6;
    width: 100%;
    transition: opacity 0.2s ease;
}

.copyright-btn:hover {
    cursor: pointer;
    opacity: 0.9;
}
