/* ===========================================
   fpvmarket.eu - Main Stylesheet
   =========================================== */

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #ffffff;
    color: #1e1e1e;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #1e1e1e;
}

a:hover {
    /* text-decoration: underline; */
}

/* ===========================================
   Header
   =========================================== */
header {
    background-color: #1E1F25;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
}

nav a:hover {
    /* text-decoration: underline; */
}

/* Mobile Header */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .logo {
        order: 2;
    }

    nav {
        order: 1;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 20px;
    }

    nav a {
        font-size: 0.9rem;
    }
}

/* ===========================================
   Search Section
   =========================================== */
.search-section {
    background: #1E1F25;
    padding: 40px 30px;
}

.search-container {
    max-width: 1000px;
    margin: 0 auto;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 200px 120px;
    gap: 15px;
    align-items: end;
}

@media (max-width: 768px) {
    .search-form {
        grid-template-columns: 1fr;
    }
}

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

.form-group label {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    background: rgba(255, 255, 255, 0.95);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgb(76, 160, 181);
}

.search-btn {
    padding: 12px 25px;
    background: rgb(76, 160, 181);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    height: 52px;
    align-self: end;
}

.search-btn:hover {
    background: rgb(60, 140, 160);
    transform: translateY(-2px);
}

/* ===========================================
   Search Results
   =========================================== */
.search-results {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
}

.search-results-header {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

.google-search-box {
    min-height: 400px;
}

/* ===========================================
   Hero Section
   =========================================== */
.hero {
    text-align: center;
    padding: 60px 20px 0px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e1e1e;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
}

/* ===========================================
   Buttons
   =========================================== */
.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border: 2px solid rgb(76, 160, 181);
    color: rgb(76, 160, 181);
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: rgb(76, 160, 181);
    color: #ffffff;
    text-decoration: none;
}

.submit-btn svg {
    width: 18px;
    height: 18px;
}

/* ===========================================
   Country Navigation
   =========================================== */
.country-nav {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 30px;
    text-align: center;
}

.country-nav a {
    display: inline-block;
    margin: 5px 10px;
    color: rgb(76, 160, 181);
    font-weight: 600;
    font-size: 0.9rem;
}

.country-nav a:hover {
    color: #1e1e1e;
}

.country-nav span {
    color: #999;
    font-size: 0.85rem;
}

/* ===========================================
   Main Content
   =========================================== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px 60px;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
}

@media (max-width: 900px) {
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .countries-grid {
        grid-template-columns: 1fr;
    }
}

.country-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e1e1e;
}

.country-section ul {
    list-style: none;
}

.country-section li {
    margin-bottom: 6px;
}

.country-section a {
    font-size: 0.95rem;
    color: #333;
}

.country-section a:hover {
    color: rgb(76, 160, 181);
}

/* ===========================================
   Bottom CTA
   =========================================== */
.bottom-cta {
    text-align: center;
    padding: 50px 20px;
}

/* ===========================================
   Footer
   =========================================== */
footer {
    background-color: #000000;
    padding: 40px 30px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-author {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.footer-author a {
    color: rgb(76, 160, 181);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.footer-nav a {
    color: #ffffff;
    font-size: 0.9rem;
}

/* ===========================================
   Contact Page
   =========================================== */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-wrapper main {
    flex: 1;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.contact-form .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    resize: vertical;
    min-height: 180px;
    transition: border-color 0.3s ease;
}

.contact-form .form-group textarea:focus {
    outline: none;
    border-color: rgb(76, 160, 181);
}

.form-hint {
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
}

.contact-submit-btn {
    width: 100%;
    padding: 15px 25px;
    background: rgb(76, 160, 181);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.contact-submit-btn:hover {
    background: rgb(60, 140, 160);
    transform: translateY(-2px);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: rgb(76, 160, 181);
    font-weight: 600;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.page-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* ===========================================
   Google CSE Styling
   =========================================== */
.gsc-control-cse {
    background-color: transparent !important;
    border: none !important;
}