/*
Theme Name: Tagtik Theme
Description: قالب ووردبريس احترافي لمكتب تاج تيك مستوحى من تصميم Colibri WP
Version: 1.0
Author: Tagtik Team
Text Domain: tagtik
*/

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

:root {
    --primary-blue: #1e40af;
    --primary-purple: #7c3aed;
    --primary-orange: #ea580c;
    --primary-pink: #ec4899;
    --primary-green: #059669;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-900: #111827;
}

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    overflow-x: hidden;
}

/* RTL Support */
.rtl {
    direction: rtl;
    text-align: right;
}

.ltr {
    direction: ltr;
    text-align: left;
}

/* Hero gradient background */
.hero-gradient {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 25%, #7c3aed 50%, #a855f7 75%, #ec4899 100%);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Navigation */
.nav-blur {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar .logo img {
    height: 50px;
    width: auto;
}

.navbar .nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar .nav-menu a {
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-menu a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px 50px;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(1) { animation-delay: 0s; }
.floating-element:nth-child(2) { animation-delay: 2s; }
.floating-element:nth-child(3) { animation-delay: 4s; }

.hero-content {
    text-align: center;
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #ea580c 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-gradient {
    background: linear-gradient(135deg, #ea580c 0%, #ec4899 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
    color: white;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 15px 30px;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
}

/* Cards */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-icon:hover {
    transform: scale(1.1);
}

/* Stats Section */
.stats-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--gray-50) 0%, #e0e7ff 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-card {
    text-align: center;
    padding: 30px;
}

.stats-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Sections */
.section {
    padding: 80px 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.section-description {
    font-size: 1.2rem;
    text-align: center;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto 60px;
}

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

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-control::placeholder {
    color: #9ca3af;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Contact Info */
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #1e40af 100%);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar .nav-menu {
        display: none;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
.footer-logo-container {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.footer-logo-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .grid-4,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1e40af, #6d28d9);
}

/* WordPress specific styles */
.wp-block-group {
    margin: 0;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

/* Admin bar adjustment */
.admin-bar .nav-blur {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .nav-blur {
        top: 46px;
    }
}

