/* Modern Professional Furniture Website CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    background-color: var(--background-light);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
}

/* Header Styles */
header {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out;
}

header p {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Back to Listings Button */
.back-to-listings {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-secondary);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.back-to-listings::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.back-to-listings:hover::before {
    left: 100%;
}

.back-to-listings:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.back-to-listings:active {
    transform: translateY(0);
}

.back-to-listings .arrow {
    font-size: 1.2rem;
    transition: var(--transition);
}

.back-to-listings:hover .arrow {
    transform: translateX(-3px);
}

/* Main Content */
main {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

main h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

main h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.5s both;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.product-card.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card .product-info {
    padding: 1.5rem;
    background: var(--background-white);
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3rem;
}

.product-card p {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* About Section */
.about-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 4rem 2rem;
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hashtags span {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
}

.hashtags span:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 2rem;
    background: var(--background-white);
    text-align: center;
    margin: 4rem 0;
    animation: fadeInUp 0.8s ease-out;
}

.reviews-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.review {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border-left: 4px solid var(--secondary-color);
    animation: fadeInUp 0.6s ease-out;
}

.review p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.review span {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

/* Social Media Section */
.social-media-section {
    padding: 4rem 2rem;
    background: var(--background-light);
    text-align: center;
    margin: 4rem 0;
    animation: fadeInUp 0.8s ease-out;
}

.social-media-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    background: var(--background-white);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 2px solid transparent;
    animation: fadeInUp 0.6s ease-out;
}

.social-links a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.social-links img {
    width: 32px;
    height: 32px;
    transition: var(--transition);
}

.social-links a:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

footer h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

footer p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

footer a:hover {
    opacity: 0.8;
}

footer img {
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* WhatsApp Button */
#whatsappBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border: none;
    outline: none;
    background: #25d366;
    color: white;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceIn 0.6s ease-out;
}

#whatsappBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

#whatsappBtn img {
    width: 32px;
    height: 32px;
}

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

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    main {
        padding: 2rem 1rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .about-section,
    .reviews-section,
    .social-media-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    .hashtags {
        gap: 0.5rem;
    }
    
    .hashtags span {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    #whatsappBtn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    #whatsappBtn img {
        width: 24px;
        height: 24px;
    }
    
    .back-to-listings {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    main h2,
    .about-section h2,
    .reviews-section h2,
    .social-media-section h2 {
        font-size: 2rem;
    }
    
    .back-to-listings {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}
