/*
Theme Name: Firma Rehberi
Theme URI: https://yagmursoft.com
Author: Samet Kapılı
Author URI: https://yagmursoft.com
Description: Firma rehberi projesi için özel WordPress teması
Version: 1.0
Text Domain: firmarehberi
*/

:root{
    --fr-primary:#111827;
    --fr-secondary:#1f2937;
    --fr-accent:#2563eb;
    --fr-bg:#f8fafc;
    --fr-text:#111827;
    --fr-muted:#6b7280;
    --fr-white:#ffffff;
    --fr-border:#e5e7eb;
    --fr-radius:16px;
    --fr-container:1280px;
}

*{
    box-sizing:border-box;
}

html{
    margin:0;
    padding:0;
}

body{
    margin:0;
    padding:0;
    background:var(--fr-bg);
    color:var(--fr-text);
    font-family:Arial, Helvetica, sans-serif;
    line-height:1.6;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

.fr-container{
    width:100%;
    max-width:var(--fr-container);
    margin:0 auto;
    padding:0 20px;
}

.fr-topbar{
    background:var(--fr-primary);
    color:var(--fr-white);
    font-size:14px;
}

.fr-topbar-inner{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:10px 0;
    flex-wrap:wrap;
}

.fr-header{
    background:var(--fr-white);
    border-bottom:1px solid var(--fr-border);
    position:sticky;
    top:0;
    z-index:100;
}

.fr-header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:18px 0;
}

.fr-logo{
    font-size:28px;
    font-weight:700;
}

.fr-main-nav ul{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    gap:18px;
    align-items:center;
}

.fr-main-nav a{
    font-weight:600;
    color:var(--fr-secondary);
}

.fr-header-action a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--fr-accent);
    color:#fff;
    padding:12px 18px;
    border-radius:12px;
    font-weight:700;
}

.fr-hero{
    position:relative;
    min-height:520px;
    display:flex;
    align-items:center;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.fr-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(17,24,39,.84) 0%, rgba(17,24,39,.58) 45%, rgba(17,24,39,.35) 100%);
}

.fr-hero-content{
    position:relative;
    z-index:2;
    max-width:760px;
    color:#fff;
    padding:70px 0;
}

.fr-hero h1{
    font-size:48px;
    line-height:1.1;
    margin:0 0 16px;
}

.fr-hero p{
    font-size:18px;
    margin:0 0 26px;
    color:rgba(255,255,255,.92);
}

.fr-search-box{
    background:rgba(255,255,255,.98);
    padding:18px;
    border-radius:18px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:12px;
    max-width:720px;
}

.fr-search-box input{
    width:100%;
    border:1px solid var(--fr-border);
    padding:14px 16px;
    border-radius:12px;
    font-size:16px;
}

.fr-search-box button{
    border:0;
    background:var(--fr-accent);
    color:#fff;
    padding:14px 22px;
    border-radius:12px;
    font-weight:700;
    cursor:pointer;
}

.fr-section{
    padding:50px 0;
}

.fr-section-title{
    font-size:30px;
    margin:0 0 22px;
}

.fr-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
}

.fr-card{
    background:#fff;
    border:1px solid var(--fr-border);
    border-radius:var(--fr-radius);
    padding:20px;
    box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.fr-card h3{
    margin:0 0 10px;
    font-size:20px;
}

.fr-card p{
    margin:0;
    color:var(--fr-muted);
}

.fr-cta{
    background:linear-gradient(135deg, #111827 0%, #1d4ed8 100%);
    color:#fff;
    border-radius:24px;
    padding:36px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.fr-cta h2{
    margin:0 0 10px;
    font-size:34px;
}

.fr-cta a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    color:#111827;
    padding:14px 20px;
    border-radius:14px;
    font-weight:700;
}

.fr-footer{
    background:#111827;
    color:#fff;
    margin-top:40px;
}

.fr-footer-top{
    padding:50px 0 25px;
}

.fr-footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);
    padding:16px 0;
    color:rgba(255,255,255,.7);
    font-size:14px;
}

.fr-ad-box{
    background:#fff;
    border:1px dashed #cbd5e1;
    border-radius:16px;
    padding:20px;
}

@media (max-width: 991px){
    .fr-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .fr-hero h1{
        font-size:38px;
    }

    .fr-header-inner{
        flex-wrap:wrap;
    }
}

@media (max-width: 640px){
    .fr-grid{
        grid-template-columns:1fr;
    }

    .fr-hero{
        min-height:460px;
    }

    .fr-hero h1{
        font-size:30px;
    }

    .fr-search-box{
        grid-template-columns:1fr;
    }

    .fr-main-nav ul{
        flex-wrap:wrap;
        gap:10px;
    }

    .fr-cta h2{
        font-size:26px;
    }
}
.fr-company-card p{
    margin:0 0 10px;
}

.fr-company-card h3{
    margin-bottom:12px;
}

@media (max-width: 991px){
    .single-firma .fr-card > div[style*="grid-template-columns:2fr 1fr"]{
        grid-template-columns:1fr !important;
    }
}
.fr-features-grid{
    grid-template-columns: repeat(4, 1fr);
}

.fr-feature-card{
    text-align: left;
    transition: all .25s ease;
}

.fr-feature-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, .08);
}

.fr-feature-icon{
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: #eff6ff;
    margin-bottom: 16px;
}

.fr-feature-card h3{
    font-size: 22px;
    margin-bottom: 10px;
}

.fr-feature-card p{
    color: var(--fr-muted);
    margin: 0;
}

@media (max-width: 991px){
    .fr-features-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px){
    .fr-features-grid{
        grid-template-columns: 1fr;
    }
}
.fr-contact-form-wrap{
    margin-top: 10px;
}

.fr-form-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:18px;
}

.fr-form-group{
    display:flex;
    flex-direction:column;
}

.fr-form-group-full{
    grid-column: 1 / -1;
}

.fr-form-group label{
    font-weight:700;
    margin-bottom:8px;
}

.fr-form-group input,
.fr-form-group textarea{
    width:100%;
    border:1px solid var(--fr-border);
    border-radius:12px;
    padding:14px 16px;
    font-size:15px;
    background:#fff;
}

.fr-form-group textarea{
    resize:vertical;
    min-height:160px;
}

.fr-form-button{
    margin-top:18px;
    border:0;
    background:var(--fr-accent);
    color:#fff;
    padding:14px 22px;
    border-radius:12px;
    font-weight:700;
    cursor:pointer;
}

.fr-form-alert{
    padding:14px 16px;
    border-radius:12px;
    margin-bottom:18px;
    font-weight:600;
}

.fr-form-success{
    background:#dcfce7;
    color:#166534;
}

.fr-form-error{
    background:#fee2e2;
    color:#991b1b;
}

@media (max-width: 640px){
    .fr-form-grid{
        grid-template-columns: 1fr;
    }
}
.fr-contact-section{
    padding: 10px 0 20px;
}

.fr-contact-shell{
    display:grid;
    grid-template-columns: 1.05fr 1.2fr;
    gap: 28px;
    align-items: stretch;
}

.fr-contact-info{
    background: linear-gradient(135deg, #111827 0%, #1d4ed8 100%);
    color: #fff;
    border-radius: 24px;
    padding: 34px;
    position: relative;
    overflow: hidden;
}

.fr-contact-info::before{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    border-radius:50%;
    background: rgba(255,255,255,.08);
    top:-70px;
    right:-70px;
}

.fr-contact-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 14px;
    border-radius:999px;
    background: rgba(255,255,255,.12);
    font-size:13px;
    font-weight:700;
    margin-bottom:18px;
}

.fr-contact-info h2{
    margin:0 0 14px;
    font-size:36px;
    line-height:1.15;
    position:relative;
    z-index:1;
}

.fr-contact-info p{
    margin:0 0 26px;
    color: rgba(255,255,255,.88);
    font-size:16px;
    position:relative;
    z-index:1;
}

.fr-contact-info-list{
    display:flex;
    flex-direction:column;
    gap:16px;
    position:relative;
    z-index:1;
}

.fr-contact-info-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    border-radius:18px;
    padding:16px;
}

.fr-contact-info-icon{
    width:46px;
    height:46px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(255,255,255,.14);
    font-size:20px;
    flex-shrink:0;
}

.fr-contact-info-item strong{
    display:block;
    margin-bottom:4px;
    font-size:15px;
}

.fr-contact-info-item span{
    display:block;
    color: rgba(255,255,255,.82);
    font-size:14px;
    line-height:1.5;
}

.fr-contact-form-card{
    background:#fff;
    border:1px solid var(--fr-border);
    border-radius:24px;
    padding:32px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.fr-contact-form-wrap{
    margin-top:10px;
}

.fr-form-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:18px;
}

.fr-form-group{
    display:flex;
    flex-direction:column;
}

.fr-form-group-full{
    grid-column:1 / -1;
}

.fr-form-group label{
    font-weight:700;
    margin-bottom:8px;
    font-size:14px;
    color:#111827;
}

.fr-form-group input,
.fr-form-group textarea{
    width:100%;
    border:1px solid #dbe2ea;
    border-radius:16px;
    padding:15px 16px;
    font-size:15px;
    background:#f8fafc;
    transition: all .2s ease;
    outline:none;
}

.fr-form-group input:focus,
.fr-form-group textarea:focus{
    border-color:#2563eb;
    background:#fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.fr-form-group textarea{
    resize:vertical;
    min-height:170px;
}

.fr-form-button{
    margin-top:18px;
    border:0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color:#fff;
    padding:15px 24px;
    border-radius:16px;
    font-weight:700;
    cursor:pointer;
    font-size:15px;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .22);
    transition: all .2s ease;
}

.fr-form-button:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(37, 99, 235, .28);
}

.fr-form-alert{
    padding:14px 16px;
    border-radius:14px;
    margin-bottom:18px;
    font-weight:600;
    font-size:14px;
}

.fr-form-success{
    background:#dcfce7;
    color:#166534;
}

.fr-form-error{
    background:#fee2e2;
    color:#991b1b;
}

@media (max-width: 991px){
    .fr-contact-shell{
        grid-template-columns:1fr;
    }

    .fr-contact-info h2{
        font-size:30px;
    }
}

@media (max-width: 640px){
    .fr-form-grid{
        grid-template-columns:1fr;
    }

    .fr-contact-info,
    .fr-contact-form-card{
        padding:22px;
        border-radius:20px;
    }
}
.fr-company-layout{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
}

.fr-company-sidebar{
    padding:20px;
    background:#f8fafc;
}

.fr-company-sidebar p{
    margin:0 0 16px;
}

.fr-company-btn{
    display:block;
    text-align:center;
    padding:12px 16px;
    border-radius:12px;
    font-weight:700;
    margin-top:12px;
}

.fr-company-btn-primary{
    background:#2563eb;
    color:#fff;
}

.fr-company-btn-success{
    background:#16a34a;
    color:#fff;
}

.fr-company-socials{
    margin-top:22px;
    padding-top:18px;
    border-top:1px solid #e5e7eb;
}

.fr-company-socials h3{
    margin:0 0 12px;
    font-size:18px;
}

.fr-company-socials a{
    display:block;
    background:#fff;
    border:1px solid #e5e7eb;
    padding:10px 12px;
    border-radius:10px;
    margin-bottom:10px;
    font-weight:600;
}

.fr-company-block{
    margin-top:30px;
}

.fr-company-block h2{
    margin:0 0 16px;
    font-size:26px;
}

.fr-company-gallery{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:16px;
}

.fr-company-gallery-item img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:16px;
    display:block;
}

.fr-company-map{
    border-radius:18px;
    overflow:hidden;
    border:1px solid #e5e7eb;
}

.fr-company-map iframe{
    width:100%;
    min-height:380px;
    border:0;
    display:block;
}

@media (max-width: 991px){
    .fr-company-layout{
        grid-template-columns:1fr;
    }

    .fr-company-gallery{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width: 640px){
    .fr-company-gallery{
        grid-template-columns:1fr;
    }

    .fr-company-gallery-item img{
        height:200px;
    }
}
.fr-review-list{
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-bottom:24px;
}

.fr-review-item{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:18px;
}

.fr-review-top{
    display:flex;
    justify-content:space-between;
    gap:14px;
    margin-bottom:10px;
    font-weight:700;
}

.fr-review-item p{
    margin:0;
    color:var(--fr-muted);
}

.fr-review-form-wrap{
    margin-top:24px;
    padding:22px;
    border:1px solid #e5e7eb;
    border-radius:18px;
    background:#f8fafc;
}

.fr-review-form-wrap h3{
    margin-top:0;
}
@media (max-width: 768px){

    /* Firma detay layout mobilde dikey olacak */
    .fr-company-layout{
        display:flex;
        flex-direction:column;
    }

    /* Sidebar (firma bilgileri) üste gelsin */
    .fr-company-layout aside{
        order: 1;
    }

    /* Ana içerik (açıklama, galeri, harita, yorumlar) alta gelsin */
    .fr-company-layout > div{
        order: 2;
    }

    /* Yorumlar en alta insin */
    .fr-company-block:last-child{
        margin-top: 30px;
    }

}
.fr-post-content img{
    max-width:100%;
    height:auto;
    border-radius:16px;
    margin:18px 0;
}

.fr-post-content p{
    margin:0 0 18px;
    line-height:1.8;
}

.fr-post-content h2,
.fr-post-content h3,
.fr-post-content h4{
    margin:28px 0 14px;
}

.fr-post-content ul,
.fr-post-content ol{
    padding-left:22px;
    margin:0 0 18px;
}
@media (max-width: 768px){

    /* HEADER genel padding küçült */
    .fr-header-inner{
        padding: 10px 0 !important;
    }

    /* Logo küçült */
    .fr-logo img{
        max-height: 40px !important;
    }

    /* Menü yazılarını küçült */
    .fr-main-nav ul li a{
        font-size: 14px;
        padding: 6px 8px;
    }

    /* Menü arası boşluk azalt */
    .fr-main-nav ul{
        gap: 10px;
    }

    /* Sağdaki buton küçült */
    .fr-header-action a{
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 10px;
    }

}
@media (max-width: 768px){

    /* Üst bilgi barını mobilde kapat */
    .fr-topbar{
        display:none;
    }

    /* Header daha kompakt olsun */
    .fr-header-inner{
        padding:8px 0 !important;
        gap:10px !important;
        align-items:center;
    }

    /* Logo küçülsün */
    .fr-logo img{
        max-height:38px !important;
        width:auto;
    }

    .fr-logo{
        font-size:22px;
    }

    /* Menü daha sıkı dursun */
    .fr-main-nav ul{
        gap:6px !important;
        row-gap:6px !important;
        flex-wrap:wrap;
    }

    .fr-main-nav a,
    .fr-main-nav ul li a{
        font-size:13px !important;
        line-height:1.2;
        padding:4px 6px !important;
    }

    /* Buton küçülsün */
    .fr-header-action a{
        padding:8px 10px !important;
        font-size:12px !important;
        border-radius:10px;
    }
}
.fr-footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr;
    gap:30px;
}

.fr-footer-grid h3{
    margin-top:0;
    margin-bottom:14px;
    font-size:20px;
}

.fr-footer-links{
    list-style:none;
    margin:0;
    padding:0;
}

.fr-footer-links li{
    margin-bottom:10px;
}

.fr-footer-links a{
    color:rgba(255,255,255,.85);
}

.fr-footer-socials{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.fr-footer-socials a{
    display:inline-flex;
    align-items:center;
    width:fit-content;
    padding:10px 14px;
    border-radius:12px;
    background:rgba(255,255,255,.08);
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
}

@media (max-width: 991px){
    .fr-footer-grid{
        grid-template-columns:1fr;
    }
}