/*
Theme Name: CeyCey Dekorasyon
Theme URI: https://ceyceydekorasyon.com
Author: Bilal BALCA
Author URI: https://ceyceydekorasyon.com
Description: Profesyonel dekorasyon firması için özel WordPress teması. Lüks, modern ve kurumsal tasarım.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: ceycey
*/

/* =============================================
   CSS VARIABLES & RESET
============================================= */
:root {
    --cream: #FAF7F2;
    --warm-dark: #1A1510;
    --gold: #B8923A;
    --gold-light: #D4AC5A;
    --warm-brown: #6B4E2C;
    --soft-gray: #E8E4DC;
    --text-body: #3D3228;
    --text-muted: #6B5E52;
    --text-hint: #9B8E84;
    --white: #FFFFFF;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --transition: all 0.3s ease;
    --shadow-soft: 0 8px 40px rgba(26,21,16,0.08);
    --shadow-medium: 0 16px 60px rgba(26,21,16,0.14);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text-body);
    overflow-x: hidden;
    line-height: 1.7;
}

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

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

ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--warm-dark);
    line-height: 1.15;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-tag::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--warm-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-title em { font-style: italic; color: var(--gold); }

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--warm-dark);
    color: var(--cream);
}

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

.btn-gold {
    background: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background: var(--gold-light);
}

.btn-outline {
    background: transparent;
    color: var(--warm-dark);
    border: 1.5px solid var(--warm-dark);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

/* =============================================
   NAVIGATION
============================================= */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250,247,242,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(184,146,58,0.15);
    transition: var(--transition);
}

#site-header.scrolled {
    box-shadow: var(--shadow-soft);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--warm-dark);
    letter-spacing: 1px;
    flex-shrink: 0;
}

.site-logo span { color: var(--gold); }
.site-logo .sub { font-weight: 300; font-size: 17px; color: var(--text-hint); }

.primary-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.primary-nav a {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: var(--text-body);
    position: relative;
    padding-bottom: 4px;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.primary-nav a:hover,
.primary-nav a.current { color: var(--gold); }

.primary-nav a:hover::after,
.primary-nav a.current::after { width: 100%; }

.nav-phone {
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--warm-dark);
    transition: var(--transition);
}

/* =============================================
   HERO SECTION
============================================= */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px 80px 80px;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    font-weight: 500;
}

.hero-badge::before {
    content: '';
    width: 32px; height: 1px;
    background: var(--gold);
}

.hero-title {
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 28px;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-muted);
    max-width: 420px;
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--soft-gray);
}

.stat-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--warm-dark);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-hint);
    margin-top: 6px;
    letter-spacing: 0.3px;
}

.hero-visual {
    position: relative;
    overflow: hidden;
    background: var(--warm-dark);
}

.hero-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 100%;
    gap: 4px;
}

.hero-img-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.82);
    transition: filter 0.4s ease, transform 0.5s ease;
}

.hero-img-grid img:hover {
    filter: brightness(1);
    transform: scale(1.03);
}

/* =============================================
   SERVICES SECTION
============================================= */
#services {
    background: var(--white);
    padding: 100px 80px;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
    gap: 32px;
}

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

.service-card {
    background: var(--cream);
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    transition: background 0.35s ease;
    cursor: default;
}

.service-card:hover { background: var(--warm-dark); }

.service-num {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 700;
    color: var(--soft-gray);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
    transition: color 0.35s ease;
}

.service-card:hover .service-num { color: rgba(184,146,58,0.2); }

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--warm-dark);
    margin-bottom: 14px;
    transition: color 0.35s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-title { color: var(--cream); }

.service-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
    transition: color 0.35s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-desc { color: rgba(250,247,242,0.65); }

/* =============================================
   ABOUT SECTION
============================================= */
#about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 80px;
    max-width: 1280px;
    margin: 0 auto;
}

.about-img-wrap { position: relative; padding-bottom: 60px; padding-right: 40px; }

.about-img-main {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.about-img-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-medium);
}

.about-years-badge {
    position: absolute;
    top: 32px;
    left: -20px;
    background: var(--gold);
    color: var(--white);
    padding: 20px 24px;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.badge-num {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.badge-text {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 6px;
    display: block;
    opacity: 0.85;
}

.about-features {
    margin: 28px 0 40px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: var(--text-body);
    padding: 12px 0;
    border-bottom: 1px solid var(--soft-gray);
}

.about-features li:last-child { border-bottom: none; }

.feature-check {
    width: 26px;
    height: 26px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* =============================================
   PORTFOLIO SECTION
============================================= */
#portfolio {
    background: var(--warm-dark);
    padding: 100px 80px;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 52px;
    gap: 32px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 8px;
}

.portfolio-grid .port-item:first-child {
    grid-row: 1 / 3;
}

.port-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--warm-dark);
}

.port-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
    transition: transform 0.5s ease, filter 0.4s ease;
}

.port-item:hover img {
    transform: scale(1.06);
    filter: brightness(0.45);
}

.port-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(to top, rgba(26,21,16,0.7) 0%, transparent 60%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.port-item:hover .port-overlay {
    opacity: 1;
    transform: translateY(0);
}

.port-overlay h3 {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 6px;
}

.port-overlay p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
}

/* =============================================
   CONTACT SECTION
============================================= */
#contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
}

.contact-left {
    background: var(--gold);
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-left .section-tag { color: rgba(255,255,255,0.75); }
.contact-left .section-title { color: var(--white); font-size: 38px; }

.contact-info { margin-top: 48px; }

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}

.contact-value {
    font-size: 16px;
    color: var(--white);
    font-weight: 500;
    margin-top: 5px;
}

.contact-right {
    background: var(--white);
    padding: 80px 64px;
}

.contact-right h3 {
    font-size: 28px;
    margin-bottom: 36px;
    color: var(--warm-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-hint);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--soft-gray);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-body);
    background: var(--cream);
    outline: none;
    transition: border-color 0.2s ease;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--warm-dark);
    color: var(--cream);
    border: none;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.btn-submit:hover { background: var(--gold); }

/* =============================================
   FOOTER
============================================= */
#site-footer {
    background: var(--warm-dark);
}

.footer-top {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 80px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-logo span { color: var(--gold); }

.footer-desc {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(250,247,242,0.5);
    max-width: 280px;
    margin-bottom: 28px;
}

.footer-phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold-light);
}

.footer-col h4 {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(250,247,242,0.4);
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 500;
}

.footer-col ul { list-style: none; }

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

.footer-col ul li a {
    font-size: 14px;
    color: rgba(250,247,242,0.65);
    transition: color 0.2s ease;
}

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

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

.footer-copy {
    font-size: 13px;
    color: rgba(250,247,242,0.3);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(250,247,242,0.4);
}

.footer-bottom-links a:hover { color: var(--gold-light); }

/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-up { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-up.in-view { opacity: 1; transform: translateY(0); }

/* =============================================
   WORDPRESS SPECIFIC
============================================= */
.wp-block { margin: 0; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1100px) {
    .nav-inner { padding: 0 40px; }
    #hero { grid-template-columns: 1fr; }
    .hero-visual { height: 50vh; }
    .hero-content { padding: 60px 40px; }
    #services { padding: 80px 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    #about { grid-template-columns: 1fr; padding: 80px 40px; gap: 60px; }
    .about-img-wrap { max-width: 500px; margin: 0 auto; }
    #portfolio { padding: 80px 40px; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px 240px; }
    .portfolio-grid .port-item:first-child { grid-row: auto; }
    #contact { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px 40px; }
    .footer-bottom { padding: 24px 40px; }
}

@media (max-width: 768px) {
    .nav-inner { padding: 0 24px; }
    .primary-nav { display: none; }
    .primary-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0; right: 0;
        background: var(--cream);
        padding: 24px;
        border-bottom: 1px solid var(--soft-gray);
        gap: 20px;
        box-shadow: var(--shadow-soft);
    }
    .menu-toggle { display: flex; }
    #hero { padding-top: 80px; }
    .hero-content { padding: 48px 24px; }
    .hero-title { font-size: 40px; }
    .hero-stats { gap: 28px; }
    .services-header { flex-direction: column; align-items: flex-start; }
    #services { padding: 60px 24px; }
    .services-grid { grid-template-columns: 1fr; }
    #portfolio { padding: 60px 24px; }
    .portfolio-header { flex-direction: column; align-items: flex-start; }
    .portfolio-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .port-item { height: 220px; }
    .contact-left { padding: 60px 24px; }
    .contact-right { padding: 60px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; padding: 40px 24px; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; padding: 20px 24px; text-align: center; }
    #about { padding: 60px 24px; }
}
