/* ========================================================== */
/* ==== MASTER STYLESHEET FOR RECIPECONVERTER (global.css) ==== */
/* ========================================================== */

/* Logo */
.logo-link {
    display: inline-block;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* Header mein logo aur nav ko align karne ke liye */
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============== 1. LIGHT THEME VARIABLES & GENERAL SETUP ============== */
:root {
    --bg-color: #f8fafc;         
    --text-color: #1e293b;       
    --text-muted: #64748b;       
    --primary-color: #2563eb;    
    --secondary-color: #059669;  
    --border-color: #e2e8f0;     
    --card-bg: rgba(255, 255, 255, 0.6); /* Thoda transparent card */
    --input-bg: rgba(255, 255, 255, 0.5);
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(104deg, #eff0f6, #95bed0, #9b9797);
    color: var(--text-color);
    line-height: 1.7;
    background-attachment: fixed;
    background-size: cover;
}

/* ============== 2. SHARED & REUSABLE COMPONENTS ============== */
.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}

/* --- Header & Navigation --- */
.site-header { 
    padding: 1.5rem 0; 
    border-bottom: 1px solid var(--border-color); 
    background: transparent; /* gradient visible rahe */
    backdrop-filter: blur(6px);
}
.site-header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.main-nav { 
    display: flex; 
    gap: 1.5rem; 
}
.main-nav a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-weight: 600; 
    transition: color 0.3s ease;
}
.main-nav a:hover { 
    color: var(--primary-color); 
}

/* --- Buttons --- */
.btn-primary { 
    display: inline-block;
    background-color: var(--primary-color); 
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1); 
}

/* --- Cards --- */
.tool-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-color);
    display: block;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tool-card:hover { 
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07);
    border-color: var(--primary-color);
}
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.tool-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.tool-card p { color: var(--text-muted); font-size: 1rem; }

/* --- Footer --- */
.site-footer {
    background: transparent;
    color: var(--text-muted);
    padding-top: 4rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding: 0 1.5rem;
}

.footer-column h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 250px;
}

.footer-column p {
    font-size: 0.9rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul a,
.footer-email {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-column ul a:hover,
.footer-email:hover {
    color: var(--primary-color);
}

.footer-email {
    display: inline-block;
    margin-top: 0.5rem;
}

.footer-bottom-bar {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* ================================================ */
/* ==== FAQ SECTION STYLES (in global.css) ==== */
/* ================================================ */

.faq-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden; 
    backdrop-filter: blur(6px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Alpine ke saath rotate karne ke liye */
.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    color: var(--text-muted);
    padding: 0 1.5rem 1.5rem 1.5rem;
}
