/* ==== RESET & VARIABLES ==== */
:root {
    --primary-blue: #0b3d88;
    --secondary-blue: #164f99;
    --accent-orange: #f39c12;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f4f6f9;
    --white: #ffffff;
    --border-color: #eaeaea;
    
    /* Box Colors */
    --box-1: #11366b;
    --box-2: #128c9b;
    --box-3: #e67e22;
    --box-4: #e0aa34;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==== TOP BAR ==== */
.top-bar {
    background-color: var(--secondary-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-right {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-bar-right a {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.top-bar-right a:hover {
    color: var(--accent-orange);
}

.btn-login {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 10px;
    border-radius: 4px;
}

/* ==== HEADER ==== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text i {
    color: var(--accent-orange);
    margin-right: 5px;
}

.logo-text span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
}

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

.main-nav a {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent-orange);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-orange);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
}

/* ==== HERO SECTION ==== */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a5ea8 100%);
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    border-bottom-left-radius: 50% 20px;
    border-bottom-right-radius: 50% 20px;
}

/* Hero Background Image - Mock */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 15px 25px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: inherit;
    outline: none;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: none;
    border: none;
    width: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--primary-blue);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #d68910;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* ==== QUICK ACCESS ==== */
.quick-access {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-card {
    border-radius: 10px;
    padding: 25px 20px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 160px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.quick-card:hover {
    transform: translateY(-5px);
}

.quick-card.color-1 { background-color: var(--box-1); }
.quick-card.color-2 { background-color: var(--box-2); }
.quick-card.color-3 { background-color: var(--box-3); }
.quick-card.color-4 { background-color: var(--box-4); }

.quick-card i {
    font-size: 32px;
    margin-bottom: 15px;
}

.quick-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.quick-card p {
    font-size: 13px;
    opacity: 0.9;
}

.quick-card .number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 48px;
    font-weight: 800;
    opacity: 0.1;
}

/* ==== SECTIONS COMMON ==== */
.section-padding {
    padding: 60px 0;
}

.section-title {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ==== FEATURED SECTORS ==== */
.sector-card {
    border-radius: 10px;
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s;
}

.sector-card:hover {
    transform: scale(1.03);
}

.sector-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.sector-info span {
    font-size: 12px;
    opacity: 0.9;
}

.sector-icon {
    font-size: 40px;
    opacity: 0.8;
}

/* Color variations for sectors based on image */
.sector-card:nth-child(1) { background-color: var(--box-3); } /* Züccaciye - Orange */
.sector-card:nth-child(2) { background-color: var(--box-1); } /* Tekstil - Blue */
.sector-card:nth-child(3) { background-color: var(--box-4); } /* Ambalaj - Light Orange */
.sector-card:nth-child(4) { background-color: var(--box-2); } /* Elektrik - Teal */

/* ==== FOOTER ==== */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-orange);
}

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

.footer-col ul li a {
    color: #cccccc;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-orange);
}

.contact-info li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #cccccc;
}

.contact-info i {
    color: var(--accent-orange);
    margin-top: 5px;
}

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

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

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

.footer-bottom {
    background-color: var(--secondary-blue);
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
    color: #aaaaaa;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* Will be toggled by JS in real app */
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-title {
        font-size: 32px;
    }
    .top-bar {
        display: none;
    }
}

@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
}

/* ==== FIRMA REHBERI & DETAY ==== */
.page-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.company-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.company-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.company-logo-wrap {
    height: 180px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.company-logo-wrap img {
    max-width: 80%;
    max-height: 120px;
    object-fit: contain;
}

.company-body {
    padding: 20px;
}

.company-body h3 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.company-body p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-body p i {
    color: var(--accent-orange);
    width: 16px;
    text-align: center;
}

.btn-block {
    display: block;
    text-align: center;
    width: 100%;
}

/* Firma Detay Layout */
.company-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.company-main-info {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.company-sidebar {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary-blue);
    outline: none;
}
