﻿/* ══════════════════════════════════════════════
   GALLARDO GROUP — smsbulteni.css
   contact5.css / sektorler4.css ile uyumlu
   ══════════════════════════════════════════════ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ── VARIABLES ───────────────────────────────── */
:root {
    --navy: #0b326d;
    --navy-dark: #071e45;
    --gold: #c8a84b;
    --gold-lt: #e4c97e;
    --gold-dk: #8a6d2f;
    --kc-text: #1a1a2e;
    --muted: #6b7280;
    --danger: #dc2626;
    --danger-lt: #fef2f2;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.sms-hero {
    position: relative;
    min-height: 460px;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, #0d3a80 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 80px;
    overflow: hidden;
}

/* Background rings */
.sms-hero__bg-rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(200,168,75,.12);
}

.ring--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
}

.ring--2 {
    width: 400px;
    height: 400px;
    bottom: -180px;
    left: -100px;
    border-color: rgba(255,255,255,.05);
}

.ring--3 {
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-color: rgba(200,168,75,.05);
}

/* Particles */
.sms-hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

    .sms-hero__particles span {
        position: absolute;
        left: var(--x);
        top: var(--y);
        width: calc(6px * var(--s, 1));
        height: calc(6px * var(--s, 1));
        border-radius: 50%;
        background: rgba(200,168,75,.25);
        animation: particleFloat var(--d,10s) ease-in-out infinite var(--dl,0s);
    }

@keyframes particleFloat {
    0%,100% {
        transform: translateY(0) scale(1);
        opacity: .4;
    }

    50% {
        transform: translateY(-40px) scale(1.4);
        opacity: .9;
    }
}

/* Content */
.sms-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.sms-hero__icon-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: .5rem;
}

.sms-hero__icon-outer {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(200,168,75,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.sms-hero__icon-inner {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-lt);
}

    .sms-hero__icon-inner svg {
        width: 100%;
        height: 100%;
    }

.sms-hero__icon-glow {
    position: absolute;
    inset: -12px;
    border-radius: 30px;
    background: radial-gradient(circle, rgba(200,168,75,.2) 0%, transparent 70%);
    animation: iconGlow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes iconGlow {
    0%,100% {
        opacity: .4
    }

    50% {
        opacity: 1
    }
}

.sms-hero__eyebrow {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-lt);
    opacity: .85;
}

.sms-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

    .sms-hero__title em {
        color: var(--gold);
        font-style: normal;
    }

.sms-hero__subtitle {
    color: rgba(255,255,255,.75);
    font-size: clamp(.9rem, 2vw, 1.1rem);
    max-width: 520px;
    line-height: 1.6;
}

/* TABS */
.sms-hero__tabs {
    display: flex;
    gap: .75rem;
    margin-top: .5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.sms-tab {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.85);
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    backdrop-filter: blur(10px);
}

    .sms-tab svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .sms-tab:hover {
        background: rgba(255,255,255,.15);
        color: #fff;
        border-color: rgba(255,255,255,.4);
    }

.sms-tab--active {
    background: white;
    color: var(--navy);
    border-color: white;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

    .sms-tab--active:hover {
        background: #f0f0f0;
        color: var(--navy);
    }

/* ══════════════════════════════════════
   FORM SECTION  (keychain layout)
══════════════════════════════════════ */
.sms-form-section {
    position: relative;
    padding: 5rem 2rem 7rem;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, #0d3a80 100%);
    overflow: hidden;
}

.sms-form-section--unsub {
    background: linear-gradient(160deg, #1a0505 0%, #3d0f0f 55%, #5a1a1a 100%);
}

.sms-form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 55% 45% at 15% 25%, rgba(200,168,75,.13) 0%, transparent 60%), radial-gradient(ellipse 45% 55% at 85% 75%, rgba(200,168,75,.09) 0%, transparent 60%);
    animation: bgPulse 9s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% {
        opacity: .5
    }

    100% {
        opacity: 1
    }
}

.sms-form-section__dust {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

    .sms-form-section__dust span {
        position: absolute;
        border-radius: 50%;
        background: rgba(200,168,75,.18);
        animation: dustFloat var(--d,12s) ease-in-out infinite var(--dl,0s);
    }

@keyframes dustFloat {
    0%,100% {
        transform: translateY(0) scale(1);
        opacity: .4;
    }

    50% {
        transform: translateY(-55px) scale(1.3);
        opacity: .85;
    }
}

/* ── Stage ── */
.sms-stage {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 110px;
    z-index: 1;
}

/* ── Ring ── */
.sms-ring-wrap {
    position: relative;
    z-index: 20;
    width: 180px;
    height: 180px;
    margin: 0 auto -58px;
    filter: drop-shadow(0 16px 44px rgba(0,0,0,.55));
    animation: ringBob 4.8s ease-in-out infinite;
    transform-origin: center top;
}

@keyframes ringBob {
    0%,100% {
        transform: rotate(-1.2deg);
    }

    50% {
        transform: rotate(1.2deg) translateY(-11px);
    }
}

.sms-ring-shine {
    position: absolute;
    top: 14%;
    left: 18%;
    width: 38%;
    height: 22%;
    background: radial-gradient(ellipse, rgba(255,255,255,.45) 0%, transparent 70%);
    border-radius: 50%;
    animation: shineFlicker 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shineFlicker {
    0%,100% {
        opacity: .55
    }

    50% {
        opacity: 1
    }
}

/* ── Key assembly ── */
.sms-key-assembly--inline {
    display: none;
}

.sms-key-assembly--absolute {
    position: absolute;
    top: 0;
    left: -10px;
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: assemblyBob 4.8s ease-in-out infinite;
    transform-origin: center top;
}

@keyframes assemblyBob {
    0%,100% {
        transform: rotate(-1.2deg);
    }

    50% {
        transform: rotate(1.2deg) translateY(-11px);
    }
}

.sms-connector {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f0d87a, #8a6d2f);
    box-shadow: 0 3px 10px rgba(0,0,0,.45), inset 0 1px 3px rgba(255,255,255,.4);
    flex-shrink: 0;
}

.sms-chain {
    width: 10px;
    height: 32px;
    background: linear-gradient(to bottom, #e0c060 0%, #c8a84b 20%, #f0d87a 40%, #c8a84b 60%, #e0c060 80%, #c8a84b 100%);
    border-radius: 5px;
    box-shadow: 2px 0 4px rgba(0,0,0,.3), -1px 0 3px rgba(255,255,255,.15);
    flex-shrink: 0;
}

.sms-key-svg {
    width: 72px;
    flex-shrink: 0;
    filter: drop-shadow(5px 8px 18px rgba(0,0,0,.55));
    animation: keyPendulum 4.8s ease-in-out infinite;
    transform-origin: 36px 0;
}

@keyframes keyPendulum {
    0%,100% {
        transform: rotate(-8deg);
    }

    25% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-4deg);
    }
}

/* ── Card ── */
.sms-card {
    position: relative;
    z-index: 10;
    background: #fff;
    border-radius: 26px;
    padding: 5.5rem 2.5rem 2.5rem;
    box-shadow: 0 40px 90px rgba(0,0,0,.38), 0 0 0 1.5px rgba(200,168,75,.22), inset 0 1px 0 rgba(255,255,255,.85);
    animation: cardSway 4.8s ease-in-out infinite;
    transform-origin: top center;
    overflow: hidden;
}

.sms-card--unsub {
    box-shadow: 0 40px 90px rgba(0,0,0,.38), 0 0 0 1.5px rgba(220,38,38,.2), inset 0 1px 0 rgba(255,255,255,.85);
}

@keyframes cardSway {
    0%,100% {
        transform: rotate(-.5deg);
    }

    50% {
        transform: rotate(.5deg) translateY(4px);
    }
}

.sms-card::before, .sms-card::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ddb84a, #7a5d20);
    box-shadow: 0 2px 5px rgba(0,0,0,.35), inset 0 1px 2px rgba(255,255,255,.3);
}

.sms-card::before {
    left: 24px;
}

.sms-card::after {
    right: 24px;
}

.sms-pierce-shadow {
    position: absolute;
    top: 112px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 14px;
    background: linear-gradient(to bottom, rgba(0,0,0,.16), transparent);
    border-radius: 0 0 50% 50%;
    pointer-events: none;
    z-index: 25;
}

/* badge */
.sms-card__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .9rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--navy) 0%, #14417d 100%);
    color: white;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin: 0 auto 1rem;
    display: flex;
    width: fit-content;
}

.sms-card__badge--unsub {
    background: linear-gradient(135deg, var(--danger) 0%, #b91c1c 100%);
}

.sms-card__badge svg {
    width: 14px;
    height: 14px;
}

.sms-card__title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy-dark);
    text-align: center;
    margin-bottom: .3rem;
    line-height: 1.3;
}

.sms-card__sub {
    text-align: center;
    color: var(--muted);
    font-size: .85rem;
    margin-bottom: 1.75rem;
    line-height: 1.55;
}

/* ── Form elements ── */
.sms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

    .sms-grid .fw {
        grid-column: 1 / -1;
    }

.sms-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

    .sms-field label {
        font-size: .7rem;
        font-weight: 600;
        color: var(--navy);
        text-transform: uppercase;
        letter-spacing: .9px;
    }

.sms-input {
    padding: .78rem 1rem;
    border: 2px solid #e6eaf3;
    border-radius: 11px;
    font-family: inherit;
    font-size: max(.92rem, 16px);
    color: var(--kc-text);
    background: #f7f9fc;
    transition: border-color .25s, box-shadow .25s, background .25s;
    outline: none;
    width: 100%;
    -webkit-appearance: none;
}

    .sms-input:focus {
        border-color: var(--gold);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(200,168,75,.13);
    }

.sms-card--unsub .sms-input:focus {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(220,38,38,.1);
}

/* ── Checks ── */
.sms-checks {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.sms-check-row {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.55;
    cursor: pointer;
}

    .sms-check-row input[type="checkbox"] {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        accent-color: var(--navy);
        margin-top: 2px;
        cursor: pointer;
    }

    .sms-check-row a {
        color: var(--navy);
        font-weight: 600;
        text-decoration: underline;
    }

.sms-error {
    color: var(--danger);
    font-size: .78rem;
    margin-top: .2rem;
    display: block;
}

.sms-result {
    display: block;
    margin-top: .75rem;
    font-size: .9rem;
    text-align: center;
}

/* ── Unsub notice ── */
.sms-unsub-notice {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: var(--danger-lt);
    border: 1px solid rgba(220,38,38,.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: .5rem;
}

    .sms-unsub-notice svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        color: var(--danger);
        margin-top: 1px;
    }

    .sms-unsub-notice p {
        font-size: .83rem;
        color: #991b1b;
        line-height: 1.5;
        margin: 0;
    }

/* ── Buttons ── */
.sms-btn {
    margin-top: 1.6rem;
    width: 100%;
    padding: 1rem 2rem;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    -webkit-appearance: none;
    touch-action: manipulation;
}

    .sms-btn::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(200,168,75,.28) 0%, transparent 55%);
        opacity: 0;
        transition: opacity .3s;
    }

    .sms-btn:hover {
        transform: translateY(-2px);
    }

        .sms-btn:hover::after {
            opacity: 1;
        }

    .sms-btn:active {
        transform: translateY(0);
    }

.sms-btn--subscribe {
    background: linear-gradient(135deg, var(--navy) 0%, #14417d 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(11,50,109,.35);
}

    .sms-btn--subscribe:hover {
        box-shadow: 0 10px 28px rgba(11,50,109,.5);
    }

.sms-btn--unsubscribe {
    background: linear-gradient(135deg, var(--danger) 0%, #b91c1c 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(220,38,38,.35);
}

    .sms-btn--unsubscribe:hover {
        box-shadow: 0 10px 28px rgba(220,38,38,.5);
    }

/* ── Modal ── */
.modal-content {
    padding: 2rem;
}

    .modal-content h4 {
        color: var(--navy);
        font-size: 1.6rem;
        margin-bottom: 1.4rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .modal-content h5 {
        color: var(--navy);
        font-size: 1.15rem;
        margin: 1.5rem 0 .75rem;
        font-weight: 600;
    }

    .modal-content p {
        margin-bottom: .9rem;
        line-height: 1.8;
        color: #495057;
    }

/* ══════════════════════════════════════
   TABLET (max 1024px)
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .sms-hero {
        min-height: 400px;
    }
}

/* ══════════════════════════════════════
   MOBİL (max 768px)
══════════════════════════════════════ */
@media (max-width: 768px) {
    .sms-hero {
        padding: 100px 1.25rem 70px;
        min-height: 380px;
    }

    .sms-hero__icon-wrap {
        width: 76px;
        height: 76px;
    }

    .sms-hero__icon-outer {
        width: 76px;
        height: 76px;
        border-radius: 20px;
    }

    .sms-hero__icon-inner {
        width: 46px;
        height: 46px;
    }

    .sms-tab {
        padding: .65rem 1.35rem;
        font-size: .85rem;
    }

    .sms-form-section {
        padding: 4rem 1.25rem 5.5rem;
        overflow: hidden;
    }

    /* inline key */
    .sms-key-assembly--inline {
        display: flex;
        position: absolute;
        left: 0;
        top: 0;
        flex-direction: column;
        align-items: center;
        width: 56px;
        z-index: 30;
        animation: assemblyBob 4.8s ease-in-out infinite;
        transform-origin: center top;
    }

        .sms-key-assembly--inline .sms-key-svg {
            width: 50px;
        }

        .sms-key-assembly--inline .sms-connector {
            width: 16px;
            height: 16px;
        }

        .sms-key-assembly--inline .sms-chain {
            width: 8px;
            height: 22px;
        }

    .sms-key-assembly--absolute {
        display: none !important;
    }

    .sms-stage {
        padding-left: 0;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .sms-ring-wrap {
        width: 130px;
        height: 130px;
        margin: 0 auto -44px;
    }

    .sms-card {
        padding: 5rem 1.75rem 2.5rem;
        border-radius: 22px;
        width: 100%;
    }

    .sms-card__title {
        font-size: 1.25rem;
    }

    .sms-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ══════════════════════════════════════
   KÜÇÜK MOBİL (max 480px)
══════════════════════════════════════ */
@media (max-width: 480px) {
    .sms-hero {
        padding: 88px 1rem 60px;
    }

    .sms-hero__icon-wrap {
        width: 66px;
        height: 66px;
    }

    .sms-hero__icon-outer {
        width: 66px;
        height: 66px;
        border-radius: 16px;
    }

    .sms-hero__icon-inner {
        width: 38px;
        height: 38px;
    }

    .sms-hero__tabs {
        gap: .5rem;
    }

    .sms-tab {
        padding: .6rem 1.1rem;
        font-size: .8rem;
    }

        .sms-tab svg {
            width: 15px;
            height: 15px;
        }

    .sms-form-section {
        padding: 3.5rem 1rem 5rem;
    }

    .sms-ring-wrap {
        width: 110px;
        height: 110px;
        margin: 0 auto -38px;
    }

    .sms-key-assembly--inline {
        width: 46px;
    }

        .sms-key-assembly--inline .sms-key-svg {
            width: 44px;
        }

    .sms-card {
        padding: 4.5rem 1.25rem 2.25rem;
        border-radius: 18px;
    }

    .sms-card__title {
        font-size: 1.1rem;
    }

    .sms-card__sub {
        font-size: .8rem;
    }

    .sms-grid {
        grid-template-columns: 1fr;
    }

        .sms-grid .fw {
            grid-column: 1;
        }
}

/* ══════════════════════════════════════
   ÇOK KÜÇÜK (max 360px)
══════════════════════════════════════ */
@media (max-width: 360px) {
    .sms-hero {
        padding: 80px .85rem 55px;
    }

    .sms-ring-wrap {
        width: 96px;
        height: 96px;
        margin: 0 auto -32px;
    }

    .sms-key-assembly--inline {
        width: 40px;
    }

        .sms-key-assembly--inline .sms-key-svg {
            width: 38px;
        }

    .sms-card {
        padding: 3.8rem 1rem 1.75rem;
    }

    .sms-card__title {
        font-size: 1rem;
    }
}
