/* Custom Styles for Rentoz */

:root {
    --color-primary: #10b981;
    /* emerald-500 */
    --color-primary-dark: #059669;
    /* emerald-600 */
    --color-secondary: #64748b;
    /* slate-500 */
    --color-dark: #0f172a;
    /* slate-900 */
    --color-light: #f8fafc;
    /* slate-50 */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: #fce7f3;
    /* very subtle background tint base */
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.05) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.05) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.05) 0, transparent 50%);
    background-size: 100% 100%;
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    font-weight: 700;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: #374151 !important;
    /* gray-700 */
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary) !important;
}

/* Hover underline effect */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-title {
    background: linear-gradient(to right, #111827, #374151);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.card-img-wrapper img {
    transition: transform 0.5s ease;
}

.hero-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(to right, #fffbeb, #fff7ed, #fffbeb);
    /* amber-50 to orange-50 */
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

/* Features Section */
.feature-card {
    border-radius: 1.5rem;
    /* rounded-3xl */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%);
    color: white;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: rotate(5deg) scale(1.1);
}

/* Categories Section */
.category-card {
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
}

.bg-gradient-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
}

/* Footer */
.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1f2937;
    /* gray-800 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    /* gray-400 */
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    background-color: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.hover-white:hover {
    color: white !important;
}

/* Utility */
.object-fit-cover {
    object-fit: cover;
}

.rounded-3xl {
    border-radius: 1.5rem !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

/* CTA Section */
.section-cta {
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
    pointer-events: none;
}