:root {
    --primary: #003366;
    --primary-dark: #001a33;
    --accent: #2da9ff;
    --accent-soft: #e6f4ff;
    --text: #1f2933;
    --muted: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f3f4f6;
    --radius-lg: 16px;
    --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.16);
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

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

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148,163,184,0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    gap: 1rem;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    color: var(--primary);
}

.logo-subtitle {
    font-size: 0.72rem;
    color: var(--muted);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
    background: var(--accent-soft);
    color: var(--primary);
}

/* Hamburger */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: var(--accent-soft);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
    padding: 3.5rem 0 2.5rem;
}

.hero-home {
    background: radial-gradient(circle at top left, #e0f3ff 0, #ffffff 55%);
}

.hero-kaporta {
    background: radial-gradient(circle at top left, #e0f2ff 0, #ffffff 55%);
}

.hero-sigorta {
    background: radial-gradient(circle at top left, #e0f7ff 0, #ffffff 55%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(1.9rem, 2.7vw + 1rem, 3rem);
    line-height: 1.13;
    margin-bottom: 0.85rem;
    color: var(--primary-dark);
}

.hero-text h1 span {
    color: var(--accent);
}

.hero-text p {
    color: var(--muted);
    font-size: 0.98rem;
    max-width: 34rem;
}

.hero-actions {
    margin: 1.5rem 0 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 35px rgba(15,23,42,0.22);
}

.btn-outline {
    background: #fff;
    color: var(--primary);
    border-color: rgba(148,163,184,0.5);
}

.btn-outline:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.hero-phone {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.hero-phone a {
    font-weight: 700;
    color: var(--primary-dark);
}

.hero-image {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #000;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-logos img {
    object-fit: contain;
    background: #000;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.section-intro {
    color: var(--muted);
    max-width: 38rem;
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 1.2rem;
}

.info-card,
.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.2rem;
    border: 1px solid rgba(148,163,184,0.35);
    box-shadow: 0 14px 30px rgba(15,23,42,0.04);
}

.info-card h3,
.service-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.info-card p,
.service-card p {
    font-size: 0.95rem;
    color: var(--muted);
}

.service-cards .service-card:nth-child(odd) {
    background: linear-gradient(135deg,#e6f4ff,#ffffff);
}

.service-cards .service-card:nth-child(even) {
    background: linear-gradient(135deg,#eef2ff,#ffffff);
}

.btn-call-card {
    margin-top: 0.8rem;
    width: 100%;
    background: var(--accent);
    color: #fff;
    border-color: transparent;
    font-size: 0.9rem;
}

.btn-call-card:hover {
    background: var(--primary);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1.2rem;
}

.testimonial {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.2rem;
    border: 1px solid rgba(148,163,184,0.3);
}

.testimonial p {
    font-size: 0.95rem;
    color: var(--muted);
}

.testimonial .author {
    margin-top: 0.7rem;
    font-weight: 600;
    color: var(--primary);
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 1.2rem;
}

.step {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.1rem 1.1rem;
    border: 1px solid rgba(148,163,184,0.35);
    position: relative;
}

.step-number {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--primary);
}

.step p {
    font-size: 0.93rem;
    color: var(--muted);
}

/* Location */
.location-grid {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
    gap: 2rem;
    align-items: center;
}

.location-steps {
    list-style: decimal;
    padding-left: 1.3rem;
    margin: 0.75rem 0 1.1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 260px;
}

.map-wrapper iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: #d1d5db;
    padding: 2.4rem 0 1.6rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1.75rem;
    font-size: 0.9rem;
}

.site-footer h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

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

.footer-bottom {
    margin-top: 1.6rem;
    text-align: center;
    border-top: 1px solid rgba(148,163,184,0.35);
    padding-top: 1rem;
    font-size: 0.82rem;
    color: #9ca3af;
}

/* Floating action buttons bottom-right */
.fab-container {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-end;
}

.fab-whatsapp {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px rgba(15,23,42,0.38);
}

.fab-whatsapp-icon {
    font-size: 26px;
    color: #fff;
}

.fab-call {
    background: var(--accent);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 16px 32px rgba(15,23,42,0.38);
}

.fab-whatsapp:hover {
    background: #1ebe5d;
}

.fab-call:hover {
    background: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0,1fr);
    }
    .hero-image {
        order: -1;
        max-width: 520px;
        margin: 0 auto 0.75rem;
    }
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .testimonials-grid,
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .location-grid {
        grid-template-columns: minmax(0,1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 720px) {
    .main-nav {
        position: absolute;
        inset-inline: 0;
        top: 56px;
        background: rgba(255,255,255,0.98);
        border-bottom: 1px solid rgba(148,163,184,0.3);
        display: none;
    }
    .main-nav.open {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem 1.25rem 1rem;
    }
    .main-nav a {
        padding-inline: 0.4rem;
    }
    .hamburger {
        display: flex;
    }
    .cards-grid,
    .testimonials-grid,
    .steps-grid {
        grid-template-columns: minmax(0,1fr);
    }
    .footer-grid {
        grid-template-columns: minmax(0,1fr);
    }
}

/* Hamburger active state */
.main-nav-open .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.main-nav-open .hamburger span:nth-child(2) {
    opacity: 0;
}
.main-nav-open .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Video Intro */
.video-intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-intro.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.video-intro video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.3;
  animation: textFade 1.2s ease 1.8s forwards;
  opacity: 0;
}

.video-text p {
  font-size: 2rem;
}

.video-text strong {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: #2da9ff;
}

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