/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* --- Variables (Ultra Professional Palette) --- */
:root {
    --primary-color: #d97706; /* Rich Amber/Spicy Orange */
    --primary-dark: #b45309;
    --bg-light: #fdfbf7; /* Warm off-white */
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 70px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

/* --- Sticky Navigation (Matches About Page) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.nav-logo img {
    height: 40px;
    width: auto;
    border-radius: 50%;
}

.nav-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* --- Hero Section with Background Logo --- */
.hero-section {
    position: relative;
    height: 35vh;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://sylhetbites.pages.dev/img/logo-512.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 41, 55, 0.85);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 10px;
}

/* --- Contact Layout (Grid) --- */
.contact-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info takes 1 part, Form takes 1.5 parts */
    gap: 50px;
}

/* --- Left Column: Contact Info --- */
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.info-card p, .info-card a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
}

.info-card a:hover {
    color: var(--primary-color);
}

/* --- Right Column: Contact Form --- */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.styled-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--bg-light);
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1); /* Soft glowing focus ring */
    background-color: var(--white);
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- Footer (Matches About Page) --- */
.site-footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-content p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.powered-by {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

.debate-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.debate-link:hover {
    opacity: 0.8;
}

.debate-logo {
    height: 30px;
    width: auto;
    border-radius: 4px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr; /* Stacks info and form on top of each other */
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: none; 
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

