/* Custom CSS for Hussein Abdelaziz Real Estate */

:root {
    --plum: #7B2D3B;
    --plum-dark: #5C1F2B;
    --amber: #D4926B;
    --amber-light: #E8B896;
    --stone-50: #FAFAF9;
    --stone-100: #F5F5F4;
    --stone-200: #E7E5E4;
    --stone-300: #D6D3D1;
    --stone-400: #A8A29E;
    --stone-500: #78716C;
    --stone-600: #57534E;
    --stone-700: #44403C;
    --stone-800: #292524;
    --stone-900: #1C1917;
}

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* Font Families */
.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-sans {
    font-family: 'Montserrat', sans-serif;
}

/* Custom Color Classes */
.text-plum {
    color: var(--plum);
}

.text-plum-dark {
    color: var(--plum-dark);
}

.bg-plum {
    background-color: var(--plum);
}

.bg-plum-dark {
    background-color: var(--plum-dark);
}

.text-amber-600 {
    color: var(--amber);
}

.text-amber-400 {
    color: var(--amber-light);
}

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

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--plum);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--plum-dark);
}

/* Selection Color */
::selection {
    background-color: var(--plum);
    color: white;
}

/* Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(123, 45, 59, 0.1);
}

/* Button Hover Effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Image Hover Zoom */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 2px 20px rgba(123, 45, 59, 0.08);
}

/* Mobile Menu Transition */
#mobileMenu {
    transition: transform 0.3s ease-in-out;
}

#mobileMenu.open {
    transform: translateX(0);
}

/* Service Card Hover */
.group:hover {
    transform: translateY(-4px);
}

/* Testimonial Quote Style */
.italic {
    font-style: italic;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-cormorant {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* Loading State for Form */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print Styles */
@media print {
    nav,
    #contactForm,
    button {
        display: none;
    }
    
    body {
        background: white;
    }
}
