/*
Theme Name: Ramazan Tadilat
Theme URI: https://ankaratadilatdekorasyon.com/
Author: Ankara Tadilat Dekorasyon
Description: Ankara Tadilat Dekorasyon | Ramazan Usta için özel WordPress teması.
Version: 1.0
Text Domain: ramazan-tadilat
*/

/* GENEL */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    width: 100%;
    color: #252525;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: break-word;
}

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

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

h1, h2, h3, p {
    overflow-wrap: break-word;
}

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

/* ÜST MENÜ */
.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    padding: 18px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow: visible;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    overflow: visible;
}

.logo {
    min-width: 0;
    flex-shrink: 0;
}

.logo a {
    display: block;
    color: #263746;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
}

.logo span {
    display: block;
    margin-top: 3px;
    color: #a77938;
    font-size: 13px;
}

/* ANA MENÜ */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 20px;
    overflow: visible;
}

.main-nav > a,
.main-nav .services-menu > a {
    color: #303030;
    font-size: 14px;
    font-weight: 600;
}

.main-nav > a:hover,
.main-nav .services-menu > a:hover {
    color: #a77938;
}

/* HİZMETLERİMİZ AÇILIR MENÜ */
.main-nav .services-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: center;
}

/* Alt menü normalde gizlidir */
.main-nav .services-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .15);
    z-index: 10000;
}

/* Yalnızca üzerine gelince veya klavyeyle odaklanınca açılır */
.main-nav .services-menu:hover > .services-dropdown,
.main-nav .services-menu:focus-within > .services-dropdown {
    display: block;
}

.main-nav .services-dropdown a {
    display: block;
    padding: 11px 16px;
    color: #303030;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

.main-nav .services-dropdown a:hover,
.main-nav .services-dropdown a:focus {
    color: #a77938;
    background: #f5f3ef;
}

/* BUTONLAR */
.call-button,
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 46px;
    padding: 11px 20px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
}

.call-button {
    background: #263746;
}

.whatsapp-button {
    background: #238b57;
}

.call-button:hover {
    background: #354e61;
    color: #fff;
}

.whatsapp-button:hover {
    background: #197347;
    color: #fff;
}

/* ANA KAPAK */
.hero {
    padding: 80px 0;
    color: #fff;
    background-color: #263746;
}

.hero-with-image {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 500px;
    padding: 55px 0;
    overflow: hidden;
    color: #fff;
    background-color: #263746;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

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

.hero-label {
    display: inline-block;
    color: #e4c18b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero h1 {
    max-width: 800px;
    margin: 14px 0 20px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.2;
}

.hero-with-image h1 {
    max-width: 850px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.hero p {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.8;
}

.hero-with-image p {
    max-width: 760px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

.hero-actions .call-button {
    background: #bd875f;
    color: #fff;
}

.hero-actions .call-button:hover {
    background: #9e6946;
    transform: translateY(-2px);
}

.hero-actions .whatsapp-button {
    border: 1px solid rgba(255, 255, 255, .65);
    background: transparent;
    color: #fff;
}

.hero-actions .whatsapp-button:hover {
    background: #fff;
    color: #202a32;
}

.home-trust-points {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 24px;
    line-height: 1.7;
}

/* GENEL BÖLÜMLER */
.section {
    width: 100%;
    padding: 65px 0;
}

.section-title {
    margin: 0 0 14px;
    color: #202a32;
    font-size: clamp(27px, 3vw, 34px);
    line-height: 1.3;
}

.section-intro {
    max-width: 760px;
    margin-bottom: 30px;
}

.home-section-heading {
    width: 100%;
    max-width: 780px;
    margin: 0 auto 35px;
    text-align: center;
}

.home-section-heading h2 {
    margin-top: 10px;
    color: #202a32;
    line-height: 1.3;
}

.home-section-heading p {
    margin-bottom: 0;
    color: #555;
    line-height: 1.8;
}

/* HİZMET ALANI */
.home-services,
.modern-services {
    padding-top: 75px;
    padding-bottom: 80px;
    background: #f7f5f1;
}

.service-grid,
.reference-grid,
.photo-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.service-card,
.reference-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
}

.service-card {
    padding: 24px;
}

.service-card h3,
.reference-card h3 {
    color: #263746;
    line-height: 1.4;
}

.service-card p {
    line-height: 1.8;
}

.service-card a {
    color: #a77938;
    font-weight: 700;
}

.photo-service-card,
.modern-service-card,
.extra-service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    padding: 0;
    border: 1px solid #e9e4de;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(32, 42, 50, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.photo-service-card:hover,
.modern-service-card:hover,
.extra-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(32, 42, 50, .12);
}

.photo-service-card > img {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform .4s ease;
}

.photo-service-card:hover > img {
    transform: scale(1.035);
}

.photo-service-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
}

.photo-service-content h3 {
    margin: 0 0 10px;
    color: #202a32;
    font-size: 20px;
    line-height: 1.4;
}

.photo-service-content p {
    width: 100%;
    margin: 0 0 12px;
    color: #69747c;
    font-size: 14px;
    line-height: 1.8;
}

.photo-service-content a {
    display: inline-block;
    margin-top: auto;
    padding-top: 8px;
    color: #a56f49;
    font-size: 14px;
    font-weight: 700;
}

.photo-service-content a:hover {
    color: #202a32;
}

.service-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin: 20px 20px 0;
    border-radius: 8px;
    background: #f3f5f6;
    color: #a77938;
    font-size: 38px;
}

/* NEDEN RAMAZAN USTA */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.why-us-card {
    min-width: 0;
    padding: 25px;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    background: #fff;
}

.why-us-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #263746;
    color: #fff;
    font-weight: 700;
}

.why-us-card h3 {
    margin: 0 0 10px;
    color: #263746;
    line-height: 1.4;
}

.why-us-card p {
    margin: 0;
    color: #555;
    line-height: 1.8;
}

/* ÇALIŞMA AŞAMALARI */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.process-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
}

.process-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #263746;
    color: #fff;
    font-weight: 700;
}

.process-card h3 {
    margin: 0 0 10px;
    color: #263746;
    font-size: 18px;
    line-height: 1.4;
}

.process-card p {
    margin: 0;
    color: #555;
    line-height: 1.8;
}

/* HİZMET BÖLGELERİ */
.service-area-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.service-area-list span {
    display: inline-block;
    padding: 9px 15px;
    border: 1px solid #e3e6e8;
    border-radius: 6px;
    background: #f7f8f9;
    color: #263746;
    font-size: 14px;
    font-weight: 600;
}

.area-note {
    margin: 22px auto 0;
    color: #555;
    text-align: center;
}

/* SIK SORULAN SORULAR */
.faq-list {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-list details {
    margin-bottom: 12px;
    padding: 18px 20px;
    border: 1px solid #e6e8eb;
    border-radius: 8px;
    background: #fff;
}

.faq-list summary {
    color: #263746;
    font-weight: 700;
    line-height: 1.6;
    cursor: pointer;
}

.faq-list details p {
    margin: 14px 0 0;
    color: #555;
    line-height: 1.8;
}

/* İLETİŞİM ÇAĞRISI */
.cta-section {
    width: 100%;
    padding: 55px 20px;
    color: #fff;
    background: #263746;
    text-align: center;
}

.cta-section h2 {
    margin: 10px 0;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.3;
}

.cta-section p {
    max-width: 650px;
    margin: 12px auto 24px;
    line-height: 1.8;
}

.cta-actions {
    justify-content: center;
}

/* REFERANSLAR */
.reference-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.reference-card-content {
    padding: 18px;
}

/* NORMAL SAYFALAR */
.page-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.page-text {
    line-height: 1.9;
}

.page-text img {
    height: auto;
}

/* ANA SAYFA SEO YAZISI */
.home-seo-content {
    padding: 65px 0;
    background: #fff;
}

.home-seo-inner {
    max-width: 960px;
    margin: 0 auto;
}

.home-seo-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #a66f49;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.home-seo-inner h2 {
    margin: 0 0 24px;
    color: #202a32;
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.3;
}

.home-seo-inner h3 {
    margin: 30px 0 12px;
    color: #283741;
    font-size: 22px;
    line-height: 1.4;
}

.home-seo-inner p {
    margin: 0 0 17px;
    color: #58636b;
    font-size: 15px;
    line-height: 1.95;
}

.home-seo-inner strong {
    color: #303b43;
}

.home-seo-contact {
    margin-top: 28px !important;
    padding: 22px 24px;
    border-left: 4px solid #bd875f;
    border-radius: 4px;
    background: #f7f5f1;
}

.home-seo-contact a {
    color: #9e6946;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.home-seo-contact a:hover {
    color: #202a32;
}

/* ALT BİLGİ */
.site-footer {
    padding: 35px 0;
    color: #eee;
    background: #17232d;
}

.site-footer h2 {
    line-height: 1.4;
}

.site-footer a {
    color: #e4c18b;
}

/* TABLET */
@media (max-width: 1000px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .photo-service-grid,
    .service-grid,
    .reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-with-image {
        min-height: 440px;
    }
}

/* TELEFON */
@media (max-width: 600px) {
    .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .site-header {
        padding: 15px 0;
    }

    .header-inner {
        gap: 14px;
    }

    .logo a {
        font-size: 20px;
    }

    .main-nav {
        width: 100%;
        justify-content: flex-start;
        gap: 10px 14px;
    }

    .main-nav > a,
    .main-nav .services-menu > a {
        font-size: 13px;
    }

    .main-nav .call-button {
        padding: 10px 12px;
    }

    .main-nav .services-dropdown {
        min-width: 220px;
    }

    .hero,
    .hero-with-image {
        min-height: 0;
        padding: 42px 0;
    }

    .hero-with-image {
        background-position: center;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.25;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.75;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-top: 22px;
    }

    .hero-actions a {
        width: 100%;
        text-align: center;
    }

    .home-trust-points {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .section,
    .home-services,
    .why-us-section,
    .work-process-section,
    .service-areas-section,
    .faq-section {
        padding: 42px 0;
    }

    .home-services,
    .modern-services {
        padding-top: 48px;
        padding-bottom: 50px;
    }

    .home-section-heading {
        margin-bottom: 25px;
        text-align: left;
    }

    .section-title {
        font-size: 27px;
    }

    .photo-service-grid,
    .service-grid,
    .reference-grid,
    .why-us-grid,
    .process-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .photo-service-card > img {
        height: 220px;
    }

    .photo-service-content {
        padding: 18px;
    }

    .photo-service-content h3 {
        font-size: 19px;
    }

    .why-us-card,
    .process-card {
        padding: 20px;
    }

    .service-area-list {
        justify-content: flex-start;
        gap: 9px;
    }

    .service-area-list span {
        padding: 8px 11px;
    }

    .area-note {
        text-align: left;
    }

    .faq-list details {
        padding: 15px;
    }

    .cta-section {
        padding: 42px 16px;
    }

    .home-seo-content {
        padding: 42px 0;
    }

    .home-seo-inner h2 {
        font-size: 28px;
    }

/* ANA SAYFA SEO YAZISI - MOBİL */
@media (max-width: 600px) {
    .home-seo-inner h3 {
        margin-top: 25px;
        font-size: 22px;
    }
}

/* HİZMETLERİMİZ AÇILIR MENÜ */
.main-nav .services-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.main-nav .services-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 250px;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .15);
    z-index: 99999;
}

/* Yalnızca fare üzerine gelince açılır */
@media (hover: hover) and (pointer: fine) {
    .main-nav .services-menu:hover > .services-dropdown {
        display: block;
    }
}

/* Klavyeyle erişilebilirlik */
.main-nav .services-menu:focus-within > .services-dropdown {
    display: block;
}

.main-nav .services-dropdown a {
    display: block;
    padding: 11px 16px;
    color: #303030;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

.main-nav .services-dropdown a:hover,
.main-nav .services-dropdown a:focus {
    color: #a77938;
    background: #f5f3ef;
}

    
   
/* ANA SAYFA SEO YAZISI - MOBİL */
@media (max-width: 600px) {
    .home-seo-inner h3 {
        margin-top: 25px;
        font-size: 22px;
    }
}

/* HİZMETLERİMİZ AÇILIR MENÜ */
.main-nav .services-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.main-nav .services-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 250px;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .15);
    z-index: 99999;
}

/* Yalnızca fare üzerine gelince açılır */
@media (hover: hover) and (pointer: fine) {
    .main-nav .services-menu:hover > .services-dropdown {
        display: block;
    }
}

/* Klavyeyle erişilebilirlik */
.main-nav .services-menu:focus-within > .services-dropdown {
    display: block;
}

.main-nav .services-dropdown a {
    display: block;
    padding: 11px 16px;
    color: #303030;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

.main-nav .services-dropdown a:hover,
.main-nav .services-dropdown a:focus {
    color: #a77938;
    background: #f5f3ef;
}

/* MOBİL MENÜ DÜZENİ */
@media (max-width: 768px) {
    .main-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .main-nav > a,
    .main-nav > .services-menu {
        width: 100%;
        box-sizing: border-box;
    }

    .main-nav > .services-menu {
        display: block;
    }

    .main-nav > .services-menu > a {
        display: block;
        width: 100%;
    }

    .main-nav .services-dropdown {
        position: static !important;
        width: 100%;
        min-width: 0;
        box-shadow: none;
    }
}

/* ANA MENÜ: BAŞLIKLARI ALT ALTA DİZ */
.site-header .header-inner {
    display: flex;
    flex-wrap: wrap;
}

.site-header .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.site-header .main-nav > a,
.site-header .main-nav > .services-menu {
    display: block;
    width: 100%;
    margin: 0;
}

.site-header .main-nav > a {
    padding: 10px 12px;
}

.site-header .main-nav > .services-menu > a {
    display: block;
    padding: 10px 12px;
}

.site-header .main-nav .services-dropdown {
    left: 0;
}
