/* Dr Decoration - Luxury Furniture Website CSS */

:root {
    --primary-gold: #D4AF37;
    --dark-gold: #B8860B;
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --text-dark: #2C2C2C;
    --border-light: #E0E0E0;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 40px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--black);
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--dark-gold));
    border-radius: 2px;
}

p {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold) !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-brand span {
    color: var(--black);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-gold) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero::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 1200 600"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="%23D4AF37" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="none"/><rect x="0" y="0" width="1200" height="600" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideInUp 0.8s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: var(--black) !important;
    border: none;
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-decoration: none;
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: var(--black) !important;
}

.btn-outline-gold {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    padding: 11px 34px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-outline-gold:hover {
    background: var(--primary-gold);
    color: var(--black);
    transform: translateY(-3px);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--light-gray);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-dark h2 {
    color: var(--white);
}

.section-dark h2::after {
    left: auto;
    right: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Products Section */
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.product-image {
    width: 100%;
    height: 250px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    font-size: 60px;
    color: rgba(212, 175, 55, 0.3);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--primary-gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
    min-height: 2.2em;
}

.product-description {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-price {
    font-size: 1.4rem;
    color: var(--primary-gold);
    font-weight: 700;
    margin-bottom: 1rem;
}

.stock-status {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.in-stock {
    color: #27ae60;
}

.low-stock {
    color: #f39c12;
}

.out-of-stock {
    color: #e74c3c;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
}

/* Services Section */
.service-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--black);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonial-card {
    background: var(--white);
    border-left: 4px solid var(--primary-gold);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-medium);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 24px;
    flex-shrink: 0;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
}

.testimonial-rating {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 0;
}

.stars {
    color: var(--primary-gold);
    margin-right: 0.5rem;
}

/* About Section */
.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: var(--light-gray);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(212, 175, 55, 0.2);
}

/* Forms */
.form-control {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-section h5 {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gold);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
}

/* Floating WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-heavy);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-button:hover {
    background: #20ba5f;
    transform: scale(1.1);
}

/* Floating Button */
.floating-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-heavy);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    cursor: pointer;
}

.floating-button:hover {
    transform: scale(1.1);
}

/* Contact Section */
.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
}

.contact-info {
    background: var(--black);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--primary-gold);
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.contact-text a {
    color: var(--primary-gold);
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Modal */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
}

.modal-header {
    background: linear-gradient(135deg, var(--black), var(--dark-gray));
    color: var(--white);
    border: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
}

/* Search and Filter */
.search-box {
    position: relative;
}

.search-box input {
    padding-right: 45px;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-gold);
    cursor: pointer;
}

.filter-btn {
    background: var(--light-gray);
    border: 1px solid var(--border-light);
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--primary-gold);
    color: var(--black);
    border-color: var(--primary-gold);
}

.filter-btn:hover {
    border-color: var(--primary-gold);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
}

.breadcrumb-item a {
    color: var(--primary-gold);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-dark);
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-gold);
    border-color: var(--border-light);
    background: var(--white);
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--primary-gold);
    color: var(--black);
    border-color: var(--primary-gold);
}

.pagination .page-item.active .page-link {
    background: var(--primary-gold);
    color: var(--black);
    border-color: var(--primary-gold);
}

/* Admin Panel */
.admin-sidebar {
    background: var(--black);
    color: var(--white);
    min-height: 100vh;
    padding-top: 2rem;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0;
    padding: 0.8rem 1rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: var(--primary-gold);
    color: var(--black) !important;
    border-left-color: var(--dark-gold);
    padding-left: 1.1rem;
}

.admin-content {
    padding: 2rem;
}

.admin-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--black), var(--dark-gray));
    color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Table */
.table {
    color: var(--text-dark);
}

.table thead th {
    background: linear-gradient(135deg, var(--black), var(--dark-gray));
    color: var(--white);
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.table tbody td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.table tbody tr:hover {
    background: var(--light-gray);
}

/* Alerts */
.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 50px 0;
    }

    .btn-gold,
    .btn-outline-gold {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .product-card {
        margin-bottom: 1.5rem;
    }

    .nav-link {
        margin: 0.5rem 0;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    .whatsapp-button,
    .floating-button {
        bottom: auto;
        top: 80px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .contact-form,
    .contact-info {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .product-card {
        margin-bottom: 1rem;
    }

    .admin-sidebar {
        position: absolute;
        left: 0;
        z-index: 1000;
    }

    .table {
        font-size: 0.85rem;
    }
}
