/*
Theme Name: TAREEQ SAREE MOVERS Theme
Theme URI: https://ais-dev-wjbpi623pdqnuovessr3xo-412163635716.asia-southeast1.run.app
Author: AI Studio
Description: A custom WordPress theme for TAREEQ SAREE MOVERS based on a React design.
Version: 1.0
Text Domain: rifaq-movers
*/

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #1f2937;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1f3a5f;
}

.container {
    max-width: 80rem; /* max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Component Classes */
.btn-primary {
    background-color: #1f3a5f;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.65rem; /* radius-xl */
    font-weight: 600;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-accent {
    background-color: #f59e0b;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.65rem; /* radius-xl */
    font-weight: 600;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-accent:hover {
    opacity: 0.9;
}

.btn-accent:active {
    transform: scale(0.95);
}

.card {
    background-color: #ffffff;
    border-radius: 0.65rem; /* radius-xl */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

/* RTL Support */
[dir="rtl"] .animate-fade-in-right {
    animation-name: fadeInLeft;
}

[dir="rtl"] .animate-fade-in-left {
    animation-name: fadeInRight;
}

/* Custom Utilities */
.size-4 { width: 1rem; height: 1rem; }
.size-5 { width: 1.25rem; height: 1.25rem; }
.size-6 { width: 1.5rem; height: 1.5rem; }
.size-7 { width: 1.75rem; height: 1.75rem; }
.size-8 { width: 2rem; height: 2rem; }
.size-10 { width: 2.5rem; height: 2.5rem; }
.size-12 { width: 3rem; height: 3rem; }
.size-14 { width: 3.5rem; height: 3.5rem; }
.size-16 { width: 4rem; height: 4rem; }
.size-20 { width: 5rem; height: 5rem; }

/* Smooth Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Fix for Hero Section overlapping */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

@media (max-width: 1023px) {
    #main-header nav {
        position: relative;
    }
}

/* Container padding fixes */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

