/* 
 * En Uygun POS - Main Stylesheet
 * Modern and clean design for a bank POS commission comparison website
 */

/* ========== Base Styles ========== */
:root {
    --primary-color: #003366;
    --primary-light: #004d99;
    --primary-dark: #00264d;
    --secondary-color: #ff9900;
    --secondary-light: #ffad33;
    --secondary-dark: #cc7a00;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #222222;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #e9ecef;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    color: #fff;
}

.btn-apply {
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--radius);
    display: inline-block;
    transition: var(--transition);
}

.btn-apply:hover {
    background-color: var(--secondary-light);
    color: #fff;
    transform: translateY(-2px);
}

/* ========== Forms ========== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.25);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M1.41 0L6 4.59L10.59 0L12 1.42L6 7.42L0 1.42L1.41 0Z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ========== Header ========== */
.site-header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.site-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.site-nav ul {
    display: flex;
    gap: 20px;
}

.site-nav a {
    font-weight: 600;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

.site-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.site-nav a:hover {
    color: var(--primary-color);
}

.site-nav a:hover:after {
    width: 100%;
}

/* ========== Hero Section ========== */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #fff;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.revenue-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.revenue-form label {
    color: #fff;
    font-size: 1.1rem;
}

.revenue-form .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 15px;
    font-size: 1.1rem;
}

.revenue-form .btn {
    margin-top: 10px;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    background-color: var(--secondary-color);
}

.revenue-form .btn:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
}

/* ========== POS List Section ========== */
.pos-list-section {
    padding: 60px 0;
}

.pos-list-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.pos-list-section > .container > p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.bank-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.bank-card {
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.bank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.bank-logo {
    padding: 20px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.bank-logo img {
    max-height: 60px;
    max-width: 180px;
    object-fit: contain;
}

.bank-details {
    padding: 20px;
    flex-grow: 1;
}

.bank-details h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.rate-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    font-weight: 600;
    color: var(--text-light);
}

.info-item .value {
    font-weight: 700;
    color: var(--text-dark);
}

.bank-action {
    padding: 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.no-results {
    text-align: center;
    padding: 50px;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ========== Application Form ========== */
.application-section {
    padding: 60px 0;
}

.application-section h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.application-section > .container > p {
    text-align: center;
    margin-bottom: 2rem;
}

.bank-summary {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.bank-summary .bank-logo {
    padding: 0;
    background-color: transparent;
    width: 150px;
    height: auto;
    margin-right: 20px;
}

.bank-summary .bank-details {
    padding: 0;
}

.application-form {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.form-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.consent-group {
    display: flex;
    align-items: flex-start;
}

.consent-group input[type="checkbox"] {
    margin-top: 5px;
    margin-right: 10px;
}

.required {
    color: var(--danger-color);
}

/* ========== Success Page ========== */
.success-section {
    padding: 80px 0;
}

.success-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-details {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin: 20px 0;
}

.success-actions {
    margin-top: 30px;
}

/* ========== Footer ========== */
.site-footer {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
}

.contact-info li {
    display: flex;
    align-items: center;
}

.contact-info li i {
    margin-right: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* ========== Responsive Styles ========== */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .bank-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .bank-summary .bank-logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .site-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .bank-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .bank-card {
        flex-direction: column;
    }
    
    .revenue-form {
        padding: 20px;
    }
    
    .application-form {
        padding: 20px;
    }
    
    .success-card {
        padding: 20px;
    }
}