/* ============================================
   MAESTRO TERZİ - Custom Tailoring Website
   ============================================ */

:root {
    --bordo: #7f1d1d;
    --bordo-light: #991b1b;
    --altin: #b8860b;
    --altin-light: #d4a017;
    --siyah: #111111;
    --krem: #faf5ef;
    --beyaz: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #e5e5e5;
    --gray-600: #6b7280;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.15);
    --transition: all .35s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Raleway', sans-serif;
    color: var(--siyah);
    background: var(--beyaz);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 6rem 0; }
.section-padding-sm { padding: 4rem 0; }
.text-center { text-align: center; }
.bg-krem { background: var(--krem); }
.bg-siyah { background: var(--siyah); color: var(--beyaz); }
.bg-bordo { background: var(--bordo); color: var(--beyaz); }

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--bordo);
    margin-bottom: .5rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 3rem;
}
.gold-line {
    width: 60px;
    height: 3px;
    background: var(--altin);
    margin: 1rem auto 1.5rem;
    border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: .9rem 2.4rem;
    border-radius: 3px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.btn-primary {
    background: var(--bordo);
    color: var(--beyaz);
    border-color: var(--bordo);
}
.btn-primary:hover {
    background: transparent;
    color: var(--beyaz);
    border-color: var(--altin);
}
.btn-outline {
    background: transparent;
    color: var(--beyaz);
    border-color: var(--altin);
}
.btn-outline:hover {
    background: var(--altin);
    color: var(--beyaz);
    border-color: var(--altin);
}
.btn-gold {
    background: var(--altin);
    color: var(--beyaz);
    border-color: var(--altin);
}
.btn-gold:hover {
    background: var(--altin-light);
    border-color: var(--altin-light);
}
.btn-dark {
    background: var(--siyah);
    color: var(--beyaz);
    border-color: var(--siyah);
}
.btn-dark:hover {
    background: var(--bordo);
    border-color: var(--bordo);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.top-bar {
    background: var(--siyah);
    color: var(--gray-200);
    font-size: .82rem;
    padding: .45rem 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.top-bar a { color: var(--altin); }
.top-bar a:hover { color: var(--altin-light); }

.main-header {
    background: var(--beyaz);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: .8rem;
    padding-bottom: .8rem;
}
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--bordo);
    letter-spacing: 1px;
}
.logo span { color: var(--altin); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
    font-size: .88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--siyah);
    position: relative;
    padding: .3rem 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--altin);
    transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--bordo); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: .5rem;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--siyah);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--beyaz);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-top: 2px solid var(--altin);
        box-shadow: var(--shadow-md);
    }
    .main-nav.open { display: flex; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--beyaz);
    background:
        linear-gradient(160deg, rgba(127,29,29,.88) 0%, rgba(17,17,17,.82) 100%),
        url('https://images.unsplash.com/photo-1594938298603-c8148c4dae35?w=1600') center/cover no-repeat;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30 30 60 0 30z' fill='none' stroke='%23b8860b' stroke-width='.3' opacity='.12'/%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 750px; padding: 2rem; }
.hero-badge {
    display: inline-block;
    font-size: .8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--altin);
    border: 1px solid var(--altin);
    padding: .5rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero h1 em {
    font-style: italic;
    color: var(--altin);
}
.hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: .92;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--beyaz);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bordo), var(--altin));
    transform: scaleX(0);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: var(--krem);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.6rem;
    color: var(--bordo);
    transition: var(--transition);
}
.service-card:hover .icon {
    background: var(--bordo);
    color: var(--beyaz);
}
.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: .6rem;
    color: var(--siyah);
}
.service-card p {
    font-size: .92rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   FABRIC / COLLECTION
   ============================================ */
.fabric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.fabric-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 340px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}
.fabric-card img,
.fabric-card .fabric-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.fabric-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--beyaz);
}
.fabric-card:hover img,
.fabric-card:hover .fabric-placeholder { transform: scale(1.08); }
.fabric-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,17,17,.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: var(--beyaz);
}
.fabric-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: .3rem;
}
.fabric-overlay p {
    font-size: .85rem;
    opacity: .8;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--beyaz);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    color: var(--altin);
    opacity: .25;
    position: absolute;
    top: .5rem; left: 1.5rem;
    line-height: 1;
}
.testimonial-card .stars {
    color: var(--altin);
    margin-bottom: 1rem;
    font-size: .9rem;
}
.testimonial-card p {
    font-size: .95rem;
    font-style: italic;
    color: #444;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-author .avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--bordo);
    color: var(--beyaz);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}
.testimonial-author strong { display: block; font-size: .95rem; }
.testimonial-author small { color: var(--gray-600); font-size: .8rem; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background:
        linear-gradient(135deg, rgba(127,29,29,.92), rgba(17,17,17,.88)),
        url('https://images.unsplash.com/photo-1558171813-4c088753af8f?w=1200') center/cover no-repeat;
    color: var(--beyaz);
    text-align: center;
    padding: 5rem 1.5rem;
}
.cta-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}
.cta-banner p {
    max-width: 550px;
    margin: 0 auto 2rem;
    opacity: .9;
}

/* ============================================
   ABOUT / STATS
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 480px;
    background: linear-gradient(135deg, var(--bordo), var(--siyah));
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image i { font-size: 6rem; color: var(--altin); opacity: .4; }
.about-image::after {
    content: '';
    position: absolute;
    bottom: -10px; right: -10px;
    width: 120px; height: 120px;
    border: 3px solid var(--altin);
    border-radius: 8px;
    z-index: -1;
}
.about-text h2 { font-size: 2.4rem; color: var(--bordo); margin-bottom: .5rem; }
.about-text .gold-line { margin: 1rem 0 1.5rem; }
.about-text p { margin-bottom: 1rem; color: #444; font-size: .95rem; }

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.stat-item { text-align: center; }
.stat-item .number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--altin);
    line-height: 1;
}
.stat-item .label {
    font-size: .88rem;
    color: var(--gray-600);
    margin-top: .3rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
}
.form-group { margin-bottom: 1.5rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: .88rem;
    margin-bottom: .4rem;
    color: var(--siyah);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-size: .92rem;
    background: var(--beyaz);
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--altin);
    box-shadow: 0 0 0 3px rgba(184,134,11,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--beyaz);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}
.contact-info-item .icon-box {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--krem);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bordo);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-item h4 {
    font-size: 1.1rem;
    margin-bottom: .2rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}
.contact-info-item p {
    font-size: .9rem;
    color: var(--gray-600);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--krem);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1rem;
    margin-top: 2rem;
    border: 1px solid var(--gray-200);
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
    background:
        linear-gradient(135deg, rgba(127,29,29,.9), rgba(17,17,17,.85)),
        url('https://images.unsplash.com/photo-1594938298603-c8148c4dae35?w=1200') center/cover no-repeat;
    color: var(--beyaz);
    text-align: center;
    padding: 5rem 1.5rem 4rem;
}
.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: .5rem;
}
.page-header p {
    font-size: 1.05rem;
    opacity: .85;
    max-width: 500px;
    margin: 0 auto;
}
.breadcrumb {
    font-size: .82rem;
    margin-top: 1rem;
    opacity: .7;
}
.breadcrumb a { color: var(--altin); }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================
   SEASONAL COLLECTION
   ============================================ */
.season-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.season-tab {
    padding: .7rem 1.8rem;
    border: 2px solid var(--gray-200);
    border-radius: 30px;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    font-family: 'Raleway', sans-serif;
}
.season-tab:hover,
.season-tab.active {
    border-color: var(--bordo);
    background: var(--bordo);
    color: var(--beyaz);
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    counter-reset: step;
}
.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}
.process-step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--altin);
    opacity: .25;
    display: block;
    margin-bottom: .5rem;
    line-height: 1;
}
.process-step h4 {
    font-size: 1.15rem;
    margin-bottom: .5rem;
    color: var(--siyah);
}
.process-step p {
    font-size: .88rem;
    color: var(--gray-600);
}

/* ============================================
   FEATURES LIST
   ============================================ */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.feature-item i {
    color: var(--altin);
    font-size: 1.3rem;
    margin-top: .3rem;
    flex-shrink: 0;
}
.feature-item h4 {
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin-bottom: .2rem;
}
.feature-item p {
    font-size: .85rem;
    color: var(--gray-600);
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.team-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--beyaz);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card .avatar-lg {
    width: 100px; height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--bordo), var(--siyah));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--altin);
    font-size: 2.5rem;
}
.team-card h4 { font-size: 1.2rem; margin-bottom: .2rem; }
.team-card .role {
    font-size: .85rem;
    color: var(--altin);
    font-weight: 600;
    margin-bottom: .8rem;
}
.team-card p { font-size: .88rem; color: var(--gray-600); }

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--siyah);
    color: var(--gray-200);
    padding-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
    color: var(--beyaz);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}
.footer-col p {
    font-size: .88rem;
    line-height: 1.8;
    opacity: .75;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a {
    font-size: .88rem;
    opacity: .75;
    transition: var(--transition);
}
.footer-col ul li a:hover { opacity: 1; color: var(--altin); padding-left: 4px; }
.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--beyaz);
    margin-bottom: .8rem;
}
.footer-logo span { color: var(--altin); }

.footer-social {
    display: flex;
    gap: .8rem;
    margin-top: 1rem;
}
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: var(--gray-200);
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--altin);
    border-color: var(--altin);
    color: var(--beyaz);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: .82rem;
    opacity: .5;
}

/* ============================================
   MISC / ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--krem); }
::-webkit-scrollbar-thumb { background: var(--bordo); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--altin); }

/* Selection */
::selection { background: var(--bordo); color: var(--beyaz); }

/* ---------- Overflow / Tasma Korumasi ---------- */
*, *::before, *::after {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

table {
    max-width: 100%;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
