/* ── Preveze Teknoloji Theme Styles ── */

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

:root {
    --navy-900: #0a0e1a;
    --navy-800: #0f1629;
    --navy-700: #151d38;
    --navy-600: #1b2547;
    --navy-500: #243056;
    --gold-400: #d4a843;
    --gold-500: #c9952e;
    --gold-300: #e8c36a;
    --blue-400: #4a90d9;
    --blue-500: #2e6db4;
    --blue-300: #6baaf0;
    --slate-300: #b0bec5;
    --slate-400: #8a9bae;
    --slate-500: #6b7d91;
    --white: #f0f4f8;
    --white-pure: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy-900);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ── Animated Background ── */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(42, 82, 152, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(212, 168, 67, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(74, 144, 217, 0.05) 0%, transparent 50%);
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 144, 217, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 217, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* ── Floating Particles ── */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float linear infinite;
    opacity: 0;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* ── Main Container ── */
.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 40px 24px;
}

/* ── Header / Logo ── */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 48px;
    animation: fadeInDown 1s ease-out;
}

.logo-wrapper {
    width: 130px;
    height: 130px;
    margin-bottom: 24px;
    position: relative;
}

.logo-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.15) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 1; }
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 20px rgba(212, 168, 67, 0.3));
}

.company-name {
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: 8px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--white-pure) 0%, var(--gold-300) 50%, var(--white-pure) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 10s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.company-tagline {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--slate-400);
    margin-top: 8px;
    text-transform: uppercase;
}

/* ── Hero Section ── */
.hero {
    text-align: center;
    width: 100%;
    margin-bottom: 56px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid rgba(212, 168, 67, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold-300);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-400);
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white-pure);
    white-space: nowrap;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate-300);
    max-width: 620px;
    margin: 0 auto;
}

/* ── Sectors Section ── */
.sectors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 780px;
    width: 100%;
    margin-bottom: 56px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.sector-card {
    background: linear-gradient(135deg, rgba(21, 29, 56, 0.8), rgba(15, 22, 41, 0.9));
    border: 1px solid rgba(74, 144, 217, 0.1);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sector-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.2), transparent, rgba(74, 144, 217, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sector-card:hover::before {
    opacity: 1;
}

.sector-card:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 144, 217, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(74, 144, 217, 0.05);
}

.sector-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(74, 144, 217, 0.1);
    border: 1px solid rgba(74, 144, 217, 0.15);
}

.sector-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--blue-300);
    stroke-width: 1.5;
    fill: none;
}

.sector-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white-pure);
}

.sector-card p {
    font-size: 0.78rem;
    color: var(--slate-400);
    line-height: 1.5;
}

/* ── Services Banner ── */
.services-banner {
    max-width: 780px;
    width: 100%;
    background: linear-gradient(135deg, rgba(21, 29, 56, 0.6), rgba(15, 22, 41, 0.7));
    border: 1px solid rgba(74, 144, 217, 0.08);
    border-radius: 16px;
    padding: 36px 40px;
    margin-bottom: 56px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.services-banner h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-300);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-banner h2 svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold-400);
    fill: none;
    stroke-width: 2;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 32px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--slate-300);
}

.service-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-400);
    flex-shrink: 0;
}

/* ── Contact Section ── */
.contact {
    text-align: center;
    margin-bottom: 56px;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.contact h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white-pure);
    margin-bottom: 8px;
}

.contact p {
    color: var(--slate-400);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.25);
    position: relative;
    overflow: hidden;
}

.contact-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.35);
}

.contact-btn:hover::after {
    opacity: 1;
}

.contact-btn svg,
.contact-btn span {
    position: relative;
    z-index: 1;
}

.contact-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--navy-900);
}

.email-text {
    display: block;
    margin-top: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--slate-400);
    letter-spacing: 1px;
}

/* ── Footer ── */
.footer {
    margin-top: auto;
    padding-top: 32px;
    text-align: center;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.footer-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
    margin: 0 auto 20px;
}

.footer p {
    font-size: 0.78rem;
    color: var(--slate-500);
    letter-spacing: 1px;
}

/* ── Animations ── */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .container {
        padding: 32px 20px;
    }

    .company-name {
        font-size: 2.2rem;
        letter-spacing: 5px;
    }

    .company-tagline {
        font-size: 0.72rem;
        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.92rem;
    }

    .sectors {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .services-banner {
        padding: 28px 24px;
    }

    .logo-wrapper {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 1.6rem;
        letter-spacing: 4px;
    }

    .hero h1 {
        font-size: 1.1rem;
    }

    .badge {
        font-size: 0.7rem;
    }
}
