/*
Theme Name: ZestNumbers Theme
Description: Beautiful WordPress theme for dating app phone verification services. Features responsive design, ACF integration, and modern UX focused on dating apps verification.
Version: 1.0.0
Author: Fisnik Murati
Author URI: https://fisnik-murati.com
Text Domain: zestnumbers-theme
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: dating-apps, verification, responsive, modern, business, custom-post-types
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

.site-title::before {
    content: "📱";
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

/* ZestNumbers Brand Colors */
:root {
    --zest-primary: #ff6b9d;
    --zest-secondary: #c44569;
    --zest-accent: #8b5cf6;
    --zest-success: #28a745;
    --zest-warning: #ffc107;
    --zest-danger: #dc3545;
    --zest-dark: #2d1b3d;
    --zest-light: #f8f9fa;
}

/* Homepage Grid */
.datingapps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.datingapp-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.datingapp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.datingapp-card:hover::before {
    left: 100%;
}

.datingapp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.2);
    text-decoration: none;
    color: inherit;
}

.datingapp-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--zest-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.datingapp-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.datingapp-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--zest-dark);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

/* Single Post */
.single-datingapp {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.single-datingapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--zest-primary), var(--zest-secondary));
    border-radius: 12px 12px 0 0;
}

.single-datingapp .post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--zest-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.single-datingapp .post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Twillo Branding Elements */
.twillo-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--zest-dark);
    text-decoration: none;
}

.twillo-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--zest-primary), var(--zest-secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.twillo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, var(--zest-primary), var(--zest-secondary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Loading States */
.twillo-loading {
    position: relative;
    overflow: hidden;
}

.twillo-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Buttons */
.twillo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--zest-primary), var(--zest-secondary));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.twillo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    color: white;
}

.twillo-btn-outline {
    background: transparent;
    color: var(--zest-primary);
    border: 2px solid var(--zest-primary);
}

.twillo-btn-outline:hover {
    background: var(--zest-primary);
    color: white;
}

/* Cards and Components */
.twillo-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(255, 107, 157, 0.1);
    transition: all 0.3s ease;
}

.twillo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.15);
    border-color: var(--zest-primary);
}

/* Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(40, 167, 69, 0.1);
    color: var(--zest-success);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: var(--zest-warning);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.status-inactive {
    background: rgba(220, 53, 69, 0.1);
    color: var(--zest-danger);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .datingapps-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .datingapp-card {
        padding: 1.5rem;
    }
    
    .single-datingapp {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .single-datingapp .post-title {
        font-size: 2rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .datingapp-card {
        padding: 1rem;
    }
    
    .datingapp-icon {
        width: 60px;
        height: 60px;
    }
    
    .datingapp-title {
        font-size: 1.3rem;
    }
    
    .twillo-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}



/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .twillo-btn {
        display: none !important;
    }
    
    .datingapp-card,
    .single-datingapp {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .datingapp-card,
    .twillo-card {
        border: 2px solid var(--zest-primary);
    }
    
    .twillo-btn {
        border: 2px solid var(--zest-primary);
    }
}

/* Focus Styles for Accessibility */
.datingapp-card:focus,
.twillo-btn:focus {
    outline: 3px solid var(--zest-accent);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--zest-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--zest-primary), var(--zest-secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--zest-primary);
}