/* ============================
   Cool Chicken's QR Landing Page
   Mobile-first design
   ============================ */

/* --- CSS Custom Properties --- */
:root {
    --color-bg: #FAF5EF;
    --color-bg-warm: #F5EDE0;
    --color-primary: #CC0000;
    --color-primary-dark: #A30000;
    --color-primary-light: #E53935;
    --color-accent: #F5C518;
    --color-cream: #FFF9F0;
    --color-text: #1A1A1A;
    --color-text-light: #555555;
    --color-gold: #F5C518;
    --color-card-bg: rgba(255, 255, 255, 0.18);
    --color-card-border: rgba(255, 255, 255, 0.35);
    --shadow-card:
        0 4px 30px rgba(204, 0, 0, 0.06),
        0 1px 3px rgba(255, 255, 255, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);
    --shadow-card-hover:
        0 8px 40px rgba(204, 0, 0, 0.12),
        0 2px 6px rgba(255, 255, 255, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    --radius-card: 22px;
    --radius-icon: 16px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100dvh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* --- Background Decorations --- */
.bg-decoration {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.deco-line {
    position: absolute;
    color: rgba(204, 0, 0, 0.07);
    height: 100%;
    width: auto;
}

.deco-line-1 {
    left: -20px;
    animation: floatLine 20s ease-in-out infinite;
}

.deco-line-2 {
    right: -20px;
    animation: floatLine 25s ease-in-out infinite reverse;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(204, 0, 0, 0.06);
}

.deco-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -80px;
    animation: pulseCircle 8s ease-in-out infinite;
}

.deco-circle-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: -60px;
    border-color: rgba(204, 0, 0, 0.05);
    animation: pulseCircle 10s ease-in-out infinite 2s;
}

.deco-circle-3 {
    width: 150px;
    height: 150px;
    bottom: 5%;
    right: -40px;
    border-color: rgba(204, 0, 0, 0.04);
    animation: pulseCircle 12s ease-in-out infinite 4s;
}

/* --- Container --- */
.container {
    position: relative;
    z-index: 1;
    max-width: 440px;
    margin: 0 auto;
    padding: 28px 24px 20px;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Screen reader only (SEO h1) --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Header --- */
.header {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--transition-smooth) forwards;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    position: relative;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.04) 0%, transparent 70%);
    animation: pulseCircle 4s ease-in-out infinite;
}

.logo-img {
    width: auto;
    height: 160px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
}

.brand-tagline {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 2px;
}

.header-divider {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

.header-divider svg {
    width: 120px;
    height: 16px;
}

/* --- Cards --- */
.cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0;
}

.card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--color-card-bg);
    backdrop-filter: blur(40px) saturate(1.8) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(1.8) brightness(1.1);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all 0.45s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
}

/* Liquid Glass - specular top highlight */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.08) 40%,
            transparent 100%);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    pointer-events: none;
    transition: opacity 0.45s var(--transition-smooth);
}

/* Liquid Glass - shimmer sweep */
.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(105deg,
            transparent 40%,
            rgba(255, 255, 255, 0.12) 45%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.12) 55%,
            transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.7s var(--transition-smooth);
    pointer-events: none;
}

.card:hover::after,
.card:active::after {
    transform: translateX(40%);
}

.card:hover,
.card:active {
    transform: translateY(-2px) scale(1.015);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.28);
}

.card:active {
    transform: translateY(0) scale(0.98);
    background: rgba(255, 255, 255, 0.32);
}

/* Staggered animation */
.card:nth-child(1) {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.2s forwards;
}

.card:nth-child(2) {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.35s forwards;
}

.card:nth-child(3) {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.5s forwards;
}

.card:nth-child(4) {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.65s forwards;
}

/* --- Card Icon --- */
.card-icon-wrapper {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--transition-smooth);
}

.card:hover .card-icon-wrapper,
.card:active .card-icon-wrapper {
    transform: scale(1.08) rotate(-3deg);
}

.card-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

.card-icon-google {
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.12), rgba(204, 0, 0, 0.06));
    color: #CC0000;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.card-icon-trip {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.2), rgba(245, 197, 24, 0.08));
    color: #D4A800;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.card-icon-menu {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.1), rgba(26, 26, 26, 0.04));
    color: #1A1A1A;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.card-icon-insta {
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.1), rgba(245, 197, 24, 0.1));
    color: #CC0000;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* --- Card Content --- */
.card-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.card-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.card-desc {
    font-size: 0.82rem;
    font-weight: 500;
    color: #666666;
    letter-spacing: 0.01em;
}

/* --- Card Arrow --- */
.card-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CC0000;
    opacity: 0.4;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.card-arrow svg {
    width: 20px;
    height: 20px;
}

.card:hover .card-arrow,
.card:active .card-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* --- Footer --- */
.footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 12px;
    opacity: 0;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.9s forwards;
}

.footer-decoration {
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    opacity: 0.5;
}

.footer-decoration svg {
    width: 100px;
    height: 24px;
}

.footer-text {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
}

.footer-credit {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.6;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatLine {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

@keyframes pulseCircle {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}

/* --- Haptic-like ripple on touch --- */
.card .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(204, 0, 0, 0.08);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
    z-index: 0;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* --- Grain texture overlay --- */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* --- Media Queries --- */
@media (max-width: 380px) {
    .container {
        padding: 16px 16px 12px;
    }

    .logo-img {
        height: 130px;
    }

    .card {
        padding: 12px 14px;
        gap: 10px;
    }

    .card-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .card-icon-wrapper svg {
        width: 20px;
        height: 20px;
    }

    .cards {
        gap: 8px;
    }
}

@media (min-width: 441px) {
    .container {
        padding: 32px 32px 24px;
    }
}

/* Dark mode desteği kaldırıldı — site her zaman açık temada kalır */

/* Smooth scroll and touch optimization */
@supports (overflow: overlay) {
    body {
        overflow: overlay;
    }
}

/* Safe area for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .container {
        padding-top: calc(48px + env(safe-area-inset-top));
    }
}