/* =========================================================
   CUNAY YAPI MALZEMELERİ — Premium Landing Page Stylesheet
   ========================================================= */

/* ---------- Yerel (self-hosted) fontlar ----------
   Google Fonts CDN'e bağımlılığı kaldırmak için fontlar
   assets/webfonts içine indirilip burada tanımlandı. */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../webfonts/manrope-400-v2.woff') format('woff');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../webfonts/manrope-500-v2.woff') format('woff');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../webfonts/manrope-600-v2.woff') format('woff');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../webfonts/manrope-700-v2.woff') format('woff');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../webfonts/manrope-800-v2.woff') format('woff');
}

:root {
    --navy-950: #0a1a2b;
    --navy-900: #0f2338;
    --navy-800: #14314f;
    --navy-700: #1b3f63;
    --navy-600: #2a5482;
    --gold-500: #c9a24a;
    --gold-400: #dcb968;
    --gold-100: #f4e9d2;
    --cream-50: #faf7f0;
    --cream-100: #f3ede0;
    --ink-700: #2b2f36;
    --ink-500: #5a6270;
    --white: #ffffff;

    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 20px 50px -20px rgba(10, 26, 43, 0.35);
    --shadow-card: 0 12px 30px -14px rgba(10, 26, 43, 0.25);
    --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink-700);
    background: var(--cream-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

h1, h2, h3, h4 {
    font-family: var(--font-body);
    color: var(--navy-900);
    margin: 0 0 .5em;
    font-weight: 600;
    line-height: 1.15;
}

.icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: .2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--navy-950);
    box-shadow: 0 14px 30px -12px rgba(201, 162, 74, 0.55);
}
.btn-gold:hover { box-shadow: 0 18px 36px -12px rgba(201, 162, 74, 0.7); }

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--gold-400); }

.btn-whatsapp {
    background: var(--navy-900);
    color: var(--white);
    padding: 11px 20px;
}
.btn-whatsapp:hover { background: var(--navy-700); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 247, 240, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(20, 49, 79, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 28px;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}
.brand-logo { height: 42px; }
.brand-est {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-500);
    padding-left: 2px;
}

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

.main-nav a {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--navy-800);
    position: relative;
    padding: 4px 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--gold-500);
    transition: right .25s ease;
}
.main-nav a:hover::after { right: 0; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy-800);
    font-size: 0.95rem;
}
.header-phone .icon { color: var(--gold-500); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-900);
    transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding-top: 120px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(201,162,74,0.18), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(42,84,130,0.35), transparent 50%),
        linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
    z-index: -1;
}
.hero-inner {
    max-width: 780px;
    padding-bottom: 90px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(201,162,74,0.12);
    border: 1px solid rgba(201,162,74,0.4);
    color: var(--gold-400);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: .3px;
    margin-bottom: 24px;
}
.hero-badge .icon { width: 16px; height: 16px; fill: var(--gold-400); }
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-400);
    margin-bottom: 18px;
}
.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    margin-bottom: 22px;
}
.hero-lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-strip {
    background: var(--navy-950);
    border-top: 1px solid rgba(201,162,74,0.25);
    overflow: hidden;
    padding: 16px 0;
}
.hero-strip-track {
    display: flex;
    width: max-content;
    gap: 14px;
    white-space: nowrap;
    animation: scroll-strip 34s linear infinite;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    color: var(--gold-400);
    letter-spacing: 1.5px;
}
.hero-strip-track span:nth-child(odd) { color: var(--cream-100); }
@keyframes scroll-strip {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Sections (generic) ---------- */
.section { padding: 100px 0; }
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-500);
    margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--gold-400); }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section-head.light h2 { color: var(--white); }

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
    align-items: center;
}
.about-frame {
    background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
    border-radius: var(--radius-lg);
    padding: 56px 40px;
    box-shadow: var(--shadow-soft);
    position: relative;
}
.about-frame::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(201,162,74,0.4);
    border-radius: 12px;
    pointer-events: none;
}
.about-logo { filter: brightness(0) invert(1); }

.about-points { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.about-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--navy-800);
}
.about-points .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold-500);
    flex-shrink: 0;
}

/* ---------- Products ---------- */
.products { background: var(--cream-100); }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    box-shadow: var(--shadow-card);
    transition: transform .25s ease, box-shadow .25s ease;
    border: 1px solid rgba(20,49,79,0.06);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -18px rgba(10,26,43,0.3);
}
.product-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
}
.product-icon svg { width: 26px; height: 26px; fill: var(--gold-400); }
.product-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.product-card p { color: var(--ink-500); font-size: 0.95rem; margin: 0; }

/* ---------- Why us ---------- */
.why {
    background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
    color: rgba(255,255,255,0.85);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 32px 26px;
    transition: background .25s ease, transform .25s ease;
}
.why-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); }
.why-icon {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(201,162,74,0.15);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.why-icon svg { width: 22px; height: 22px; fill: var(--gold-400); }
.why-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { margin: 0; font-size: 0.92rem; color: rgba(255,255,255,0.65); }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
    padding: 64px 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); margin-bottom: 10px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-inner p { color: rgba(255,255,255,0.75); margin: 0; max-width: 480px; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: stretch;
}
.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 8px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(20,49,79,0.06);
}
.contact-list li {
    display: flex;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(20,49,79,0.06);
}
.contact-list li:last-child { border-bottom: none; }
.contact-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--cream-100);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; fill: var(--navy-800); }
.contact-list h4 { font-size: 1rem; margin: 0 0 4px; }
.contact-list p { margin: 0; color: var(--ink-500); font-size: 0.92rem; }
.text-link {
    color: var(--navy-800);
    font-weight: 700;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--gold-500);
    padding-bottom: 1px;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    min-height: 340px;
    border: 1px solid rgba(20,49,79,0.06);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-950);
    color: rgba(255,255,255,0.7);
    padding-top: 72px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 40px;
    padding-bottom: 56px;
}
.footer-logo { height: 38px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--gold-400);
    font-size: 0.9rem;
}
.footer-social .icon { width: 18px; height: 18px; }

.site-footer h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-links li { font-size: 0.92rem; color: rgba(255,255,255,0.65); }
.footer-links a:hover { color: var(--gold-400); }

.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; }
.footer-contact .icon { width: 18px; height: 18px; fill: var(--gold-400); margin-top: 2px; }
.footer-contact a:hover { color: var(--gold-400); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; text-align: center; color: rgba(255,255,255,0.45); }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #1da851);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px -10px rgba(29, 168, 81, 0.6);
    z-index: 90;
    transition: transform .25s ease;
}
.whatsapp-float .icon { width: 28px; height: 28px; fill: var(--white); }
.whatsapp-float:hover { transform: scale(1.08); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .main-nav {
        position: fixed;
        top: 78px;
        left: 0; right: 0;
        background: var(--cream-50);
        border-bottom: 1px solid rgba(20,49,79,0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .main-nav.open { max-height: 400px; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 8px 28px 20px; }
    .main-nav a { display: block; padding: 12px 0; }
    .header-phone span { display: none; }
    .nav-toggle { display: flex; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .section { padding: 70px 0; }
    .product-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .hero { padding-top: 100px; }
    .header-actions .btn-whatsapp span { display: none; }
}
