/* ========================================
   MASSABOUTIQUE CUSTOM STYLES
   ======================================== */

/* Brand Colors */
:root {
    --primary-dark-blue: #2C384C;
    --primary-gold: #D5B26C;
    --accent-gray: #BDBEBF;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navbar Styles */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-item {
    color: var(--primary-dark-blue);
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-item:hover,
.navbar-item.is-active {
    color: var(--primary-gold);
    background-color: transparent;
}

.navbar-burger {
    color: var(--primary-dark-blue);
}

.navbar-burger:hover {
    background-color: transparent;
    color: var(--primary-gold);
}

/* Footer Styles */
.footer {
    background-color: var(--primary-dark-blue);
    color: var(--white);
    padding: 3rem 1.5rem 2rem;
    margin-top: 4rem;
}

.footer .title {
    color: var(--primary-gold);
}

.footer a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-gold);
}

.footer-logo {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: inline-block;
}

.footer-logo img {
    width: 200px;
    height: auto;
    display: block;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-gray);
}

/* Button Styles */
.button.is-primary {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-dark-blue);
    font-weight: 600;
    transition: all 0.3s ease;
}

.button.is-primary:hover {
    background-color: #c9a45d;
    border-color: #c9a45d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(213, 178, 108, 0.3);
}

.button.is-primary .icon {
    color: var(--primary-dark-blue);
}

.button.is-dark {
    background-color: var(--primary-dark-blue);
    border-color: var(--primary-dark-blue);
}

.button.is-dark:hover {
    background-color: #1f2937;
    border-color: #1f2937;
}

/* Hero Section */
.hero {
    position: relative;
}

.hero.is-primary {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #3d4e6a 100%);
}

.hero.is-medium .hero-body {
    padding: 6rem 1.5rem;
}

.hero-body {
    padding: 4rem 1.5rem;
}

.hero .title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    opacity: 0.95;
}

/* Section Styles */
.section {
    padding: 3rem 1.5rem;
}

.section-title {
    color: var(--primary-dark-blue);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-gold);
}

/* Card Styles */
.card {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: var(--primary-dark-blue);
    color: var(--white);
}

.card-header-title {
    color: var(--white);
}

.category-card .card-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Form Styles */
.input,
.textarea,
.select select {
    border-color: var(--accent-gray);
}

.input:focus,
.textarea:focus,
.select select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.125em rgba(213, 178, 108, 0.25);
}

/* Notification Styles */
.notification.is-primary {
    background-color: var(--primary-gold);
    color: var(--primary-dark-blue);
}

.notification.is-success {
    background-color: #48c78e;
}

.notification.is-danger {
    background-color: #f14668;
}

/* Loading State */
.is-loading {
    pointer-events: none;
    opacity: 0.6;
}

/* WhatsApp Button */
.whatsapp-button {
    background-color: #25D366;
    color: white;
    border: none;
}

.whatsapp-button:hover {
    background-color: #1fb855;
}

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

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hero-body {
        padding: 2rem 1.5rem;
    }

    .section {
        padding: 2rem 1.5rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .footer {
        text-align: center;
    }

    .footer .columns {
        flex-direction: column;
    }
}

/* Utility Classes */
.text-gold {
    color: var(--primary-gold);
}

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

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

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

.bg-light {
    background-color: #f5f5f5;
}

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

/* Icon Styling */
.icon {
    color: var(--primary-gold);
}

/* Service Icons */
.service-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

/* Logo Styling */
.navbar-brand img {
    max-height: 70px;
    width: auto;
}

/* Performance Optimizations */
.card-image img,
.product-card img {
    will-change: transform;
}

/* Enhanced Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Hero Background Pattern */
.hero.is-primary {
    position: relative;
    overflow: hidden;
}

.hero.is-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        var(--primary-gold) 10px,
        var(--primary-gold) 20px
    );
    pointer-events: none;
}

/* Box Shadow Utilities */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shadow-md {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.shadow-lg {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Animation Utilities */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .button,
    .whatsapp-button {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
}

/* Tablet Responsive Adjustments */
@media screen and (min-width: 769px) and (max-width: 1023px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}
