/* Pro Translate Custom CSS */

/* Import Zalando Sans Variable Fonts */
@import url('fonts.css');

:root {
    /* Font Stack */
    --font-ui: 'Zalando Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
    --font-heading: 'Zalando Sans Expanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;

    /* Pro Translate Brand Colors */
    --primary-color: #3356ff;      /* Main brand blue */
    --secondary-color: #5856D6;     /* macOS System Purple */
    --accent-color: #FF9500;        /* macOS System Orange */
    --success-color: #34C759;       /* macOS System Green */
    --danger-color: #FF3B30;        /* macOS System Red */

    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F7;        /* Apple's light gray */
    --bg-tertiary: #E8E8ED;

    /* Text Colors */
    --text-primary: #1A1A1A;        /* Very dark gray for primary text */
    --text-secondary: #4A4A4A;      /* Dark gray for secondary text */
    --text-muted: #5A5A5A;

    /* Dark Mode (future) */
    --dark-bg: #000000;
    --dark-surface: #1C1C1E;
    --dark-text: #FFFFFF;

    /* Gradients */
    --hero-gradient: linear-gradient(360deg, #3356ff, #0729ff);
    --button-gradient: linear-gradient(360deg, #3356ff, #0729ff);
}

/* Typography - Native macOS Fonts */
html {
    height: 100%;
    margin: 0;
    background-color: #F2F2F2;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-size: 17px !important;
    line-height: 1.4705882353;
    font-weight: 400;
    letter-spacing: -0.022em;
    font-family: var(--font-ui);
    color: var(--text-primary);
    background-color: #F2F2F2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    min-height: calc(100vh - 300px); /* footer height */
}

/* Headings - Apple Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
}

h1 {
    font-size: 48px;
    line-height: 1.08;
    font-weight: 800;
}

h2 {
    font-size: 21px;
    line-height: 1.38095238;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 19px;
    line-height: 1.42105263;
    font-weight: 700;
}

/* Bold text */
b, strong {
    font-weight: 700;
}

/* Link colors - Translate PRO blue theme */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Primary text color override */
.text-primary {
    color: var(--primary-color) !important;
}

/* Buttons and CTAs */
.btn-primary,
.contact-btn {
    background: var(--button-gradient);
    color: white !important;
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 10px 24px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
    font-weight: 600;
}

.btn-primary:hover,
.contact-btn:hover {
    opacity: 0.9;
    color: white !important;
    text-decoration: none !important;
}

.btn-outline-primary {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 50px;
    padding: 10px 24px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: white !important;
    text-decoration: none !important;
}

/* Logo Hero */
.logo-hero {
    height: 80px;
    width: auto;
    max-width: 100%;
}

/* App Store Badge */
.app-store-badge {
    display: inline-block;
    transition: transform 0.2s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.app-store-badge img {
    height: 60px;
    width: auto;
}

/* Hero Section */
.display-5 {
    font-family: var(--font-heading) !important;
    font-size: 3.5rem !important;
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    text-transform: uppercase;

    font-weight: 900;
}

/* Lead text - Apple typography system */
.lead {
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: 1.42105263;
    color: var(--text-secondary);
}

/* Features Section */
.py-3 h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.py-3 .lead {
    color: var(--text-secondary);
    padding-left: 2.25rem;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-selector .btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 8px 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.language-selector .dropdown-menu {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    padding: 10px;
}

.language-selector .dropdown-item {
    padding: 5px 10px;
    font-weight: 400;
    transition: all 0.2s ease;
    border-radius: 12px;
    margin-bottom: 4px;
    text-decoration: none !important;
}

.language-selector .dropdown-item:hover {
    background: #E5E5E5;
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

.language-selector .dropdown-item:active,
.language-selector .dropdown-item:focus {
    background: #E5E5E5;
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

/* Footer - SaveTik ile aynı tasarım */
footer {
    flex-shrink: 0;
    margin-top: 55px;
    font-size: 14px !important;
    line-height: 20px;
    background-image: url("../images/footerBackColor.png") !important;
    background-size: cover !important;
    background-position: bottom center !important;
    width: auto !important;
    height: 300px;
}

footer a {
    text-decoration: none !important;
    color: #2D3E50 !important;
}

footer a:hover {
    text-decoration: underline !important;
    color: #4E74FF !important;
}

footer .text-muted {
    color: #6c757d !important;
}

.footerIcon {
    width: auto;
    height: 55px;
    padding: 0 10px 0 20px;
}

/* Screenshot Gallery */
.gallery-section {
    position: relative;
    width: 100%;
}

.gallery-scroll-wrapper {
    position: relative;
}

.gallery-scroll-wrapper::before,
.gallery-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: -120px;
    bottom: -120px;
    width: 80px;
    z-index: 2;
    pointer-events: none;
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
}

.gallery-scroll-wrapper::before {
    left: 0;
    -webkit-mask-image: linear-gradient(to right, black, transparent);
    mask-image: linear-gradient(to right, black, transparent);
}

.gallery-scroll-wrapper::after {
    right: 0;
    -webkit-mask-image: linear-gradient(to left, black, transparent);
    mask-image: linear-gradient(to left, black, transparent);
}

.scroll-container {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 12px;
    background: transparent;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.gridscroll {
    display: inline-flex;
    gap: 16px;
    padding-left: max(20px, 8.3333vw);
    padding-right: max(20px, 8.3333vw);
}

.gridscroll picture {
    display: block;
    height: clamp(380px, 25vw, 600px);
    border-radius: 16px;
    border: 1px solid var(--bg-tertiary);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.gridscroll img {
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.24s ease;
}

.gridscroll picture:hover img {
    transform: scale(1.012);
}

/* Custom Scrollbar */
.custom-scrollbar-wrap {
    display: flex;
    justify-content: center;
    padding: 16px 0 0;
}

.custom-scrollbar-track {
    position: relative;
    width: min(480px, 60vw);
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    cursor: pointer;
}

.custom-scrollbar-thumb {
    position: absolute;
    top: 0;
    height: 100%;
    background: #CCCCCC;
    border-radius: 3px;
    cursor: grab;
    transition: background 0.15s ease;
}

.custom-scrollbar-thumb:hover,
.custom-scrollbar-thumb.dragging {
    background: #999999;
}

.custom-scrollbar-thumb.dragging {
    cursor: grabbing;
}

/* Support Section */
.support-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 20px 0;
}

.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Icon styling */
#icon {
    transition: transform 0.3s ease;
}

#icon:hover {
    transform: scale(1.05) rotate(5deg);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .gridscroll picture { height: 320px; }
    .gridscroll img { height: 320px; }
}

@media (max-width: 768px) {
    .display-5 {
        font-size: 2.5rem !important;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .gridscroll picture { height: 260px; }
    .gridscroll img { height: 260px; }

    .gallery-scroll-wrapper::before,
    .gallery-scroll-wrapper::after { width: 24px; }

    .gallery-section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 1rem !important;
    }

    .custom-scrollbar-wrap { margin-top: 4px; }
    .custom-scrollbar-track { height: 8px; background: rgba(0, 0, 0, 0.1); }
    .custom-scrollbar-thumb { background: rgba(0, 0, 0, 0.3); }
}

@media (max-width: 480px) {
    .gridscroll picture { height: 220px; }
    .gridscroll img { height: 220px; }
}

/* Button styles moved to main button section above */

/* FAQ Heading */
.faq-heading {
    color: var(--text-primary);
    font-size: 2rem;
    margin: 2rem 0;
    text-align: center;
}

/* List styling */
ul li, ol li {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Responsive container */
.responsive {
    max-width: 1200px;
    margin: 0 auto;
}