/* Watercolor Art Gallery - Custom Styles */

/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #8B7355;
    --secondary-color: #A0916C;
    --accent-color: #D4C5A9;
    --light-bg: #FAFAFA;
    --white: #FFFFFF;
    --dark-text: #333333;
    --muted-text: #6B6B6B;
    --border-color: #E5E5E5;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===== TYPOGRAPHY ===== */
body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark-text);
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* ===== NAVIGATION ===== */
.bg-light-custom {
    background-color: var(--white) !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--secondary-color) !important;
}

.brand-logo {
    height: 24px;
    width: auto;
    vertical-align: middle;
    transition: transform 0.6s ease-in-out;
}

/* Logo spinning animation */
@keyframes logoSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Trigger animation on navbar-brand hover */
.navbar-brand:hover .brand-logo {
    animation: logoSpin 0.8s ease-in-out;
}

/* Optional: Add a subtle hover effect to the brand text too */
.navbar-brand:hover .brand-text {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.brand-text {
    position: relative;
    transition: color 0.3s ease;
    color: #20b4d9;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-text) !important;
    transition: var(--transition);
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: #20b4d9 !important;
    font-weight: 600;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: 8px;
}

.dropdown-item:hover {
    background-color: var(--accent-color);
    color: var(--dark-text);
}

.dropdown-item.active {
    background-color: #20b4d9;
    color: var(--white);
    font-weight: 600;
}

.dropdown-item.active:hover {
    background-color: #1a9bc7;
    color: var(--white);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Let Bootstrap handle modal z-index naturally - no overrides needed */

.watercolor-splash {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 500px;
    height: 500px;
    opacity: 1.0;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 1.0s ease;
    z-index: -10; /* Far behind everything */
}

.watercolor-splash:hover {
    opacity: 1.0;
}

/* Responsive splash sizing */
@media (max-width: 768px) {
    .watercolor-splash {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .watercolor-splash {
        width: 300px;
        height: 300px;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
    padding: 4rem 0;
    border-radius: 0 0 50px 50px;
    margin-bottom: 3rem;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--muted-text);
    margin-bottom: 2rem;
}

/* ===== SLIDER ===== */
.slider-container {
    position: relative;
    margin: 3rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-item a {
    text-decoration: none;
    color: inherit;
}

.carousel-item a:hover {
    text-decoration: none;
    color: inherit;
}

.carousel-item a img {
    transition: transform 0.3s ease;
}

.carousel-item a:hover img {
    transform: scale(1.02);
}

.carousel-caption {
    border-radius: 10px;
    padding: 1rem;
    /* Individual captions now handle their own background and text colors */
}

.carousel-caption h5 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    /* Color is now set inline per caption */
}

.carousel-caption p {
    font-size: 1rem;
    margin-bottom: 0;
    /* Color is now set inline per caption */
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.artwork-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.artwork-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.artwork-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.artwork-card:hover .artwork-image {
    transform: scale(1.05);
}

.artwork-info {
    padding: 1.5rem;
}

.artwork-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.artwork-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.artwork-title a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.artwork-description {
    color: var(--muted-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.artwork-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--muted-text);
}

.artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 115, 85, 0.9);
    opacity: 1;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.artwork-card:hover .artwork-overlay,
.artwork-card-link:hover .artwork-overlay {
    opacity: 1 !important;
    pointer-events: auto;
}

/* Desktop only - ensure hover works properly */
@media (min-width: 769px) {
    .artwork-card:hover .artwork-overlay,
    .artwork-card-link:hover .artwork-overlay,
    .artwork-card:hover .artwork-card-link .artwork-overlay {
        opacity: 1 !important;
        display: flex !important;
        visibility: visible !important;
    }
    
    .artwork-card:hover .lightbox-link,
    .artwork-card-link:hover .lightbox-link {
        opacity: 1 !important;
        display: flex !important;
        visibility: visible !important;
    }
    
    .artwork-card:hover,
    .artwork-card:hover .artwork-card-link {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    
    /* Ensure the overlay shows on any hover within artwork-card */
    .artwork-card:hover .artwork-overlay,
    .artwork-card .artwork-card-link:hover .artwork-overlay {
        opacity: 1 !important;
        display: flex !important;
        visibility: visible !important;
    }
}

.view-artwork-btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.view-artwork-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* ===== CATEGORY SECTION ===== */
.category-section {
    margin: 3rem 0;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: inherit;
    text-decoration: none;
}

.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.category-info {
    padding: 1.5rem;
    text-align: center;
}

.category-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.category-count {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Enhanced Rollover Effect */
.category-card .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.category-card:hover .category-overlay {
    opacity: 0.95;
}

.category-overlay .overlay-content {
    text-align: center;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.category-card:hover .category-overlay .overlay-content {
    transform: translateY(0);
}

.category-overlay .overlay-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 0.5s ease-out 0.2s both;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.category-overlay .overlay-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-overlay .overlay-count {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 500;
    opacity: 0.9;
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

.category-overlay .overlay-description {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.8;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
    animation: fadeInUp 0.5s ease-out 0.5s both;
}

/* Hide default category info on hover */
.category-card:hover .category-info {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Add subtle border glow on hover */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: border-color 0.3s ease;
    z-index: 1;
}

.category-card:hover::before {
    border-color: var(--accent-color);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .category-overlay .overlay-content {
        padding: 1.5rem;
    }
    
    .category-overlay .overlay-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .category-overlay .overlay-title {
        font-size: 1.5rem;
    }
    
    .category-overlay .overlay-count {
        font-size: 1rem;
    }
    
    .category-overlay .overlay-description {
        font-size: 0.9rem;
    }
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.content-section h1,
.content-section h2,
.content-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.content-section p {
    color: var(--dark-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
    text-decoration: none;
}

.btn-outline-custom {
    border: 2px solid var(--category-button-color, #1ca3ec);
    color: var(--category-button-color, #1ca3ec);
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: var(--category-button-hover-color, #1ca3ec);
    color: var(--white);
    text-decoration: none;
}

.btn-outline-custom.active,
.gallery-filter.active {
    background: var(--category-button-color, #1ca3ec);
    color: var(--white);
    border-color: var(--category-button-color, #1ca3ec);
}

.btn-outline-custom.active:hover,
.gallery-filter.active:hover {
    background: var(--category-button-hover-color, #1ca3ec);
    color: var(--white);
    border-color: var(--category-button-hover-color, #1ca3ec);
}

/* Higher specificity rules for gallery filter buttons */
.btn.btn-outline-custom.gallery-filter.active {
    background: var(--category-button-color, #1ca3ec) !important;
    color: var(--white) !important;
    border-color: var(--category-button-color, #1ca3ec) !important;
}

.btn.btn-outline-custom.gallery-filter.active:hover,
.btn.btn-outline-custom.gallery-filter.active:focus {
    background: var(--category-button-hover-color, #1ca3ec) !important;
    color: var(--white) !important;
    border-color: var(--category-button-hover-color, #1ca3ec) !important;
}

/* ===== INSTAGRAM FEED ===== */
.instagram-feed {
    margin-top: 5rem;
    padding: 2rem 0;
}

.instagram-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.instagram-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.instagram-post {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.instagram-embed-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 25%, #fcb045 50%, #833ab4 75%, #fd1d1d 100%);
    position: relative;
}

.instagram-embed-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.instagram-placeholder-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.instagram-placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.instagram-placeholder-content p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.instagram-placeholder-content small {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Instagram embed styling */
.instagram-post .instagram-embed {
    width: 100%;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.instagram-post iframe {
    width: 100%;
    border-radius: 15px;
}

/* API-fetched Instagram post styling */
.instagram-api-post {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.instagram-api-post:hover {
    transform: scale(1.02);
    text-decoration: none;
}

.instagram-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    transition: var(--transition);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.instagram-api-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.instagram-overlay-content i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.instagram-overlay-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .instagram-embed-placeholder {
        height: 250px;
    }
    
    .instagram-placeholder-content i {
        font-size: 2.5rem;
    }
    
    .instagram-image {
        height: 250px;
    }
    
    .instagram-overlay-content i {
        font-size: 1.5rem;
    }
    
    .instagram-overlay-content p {
        font-size: 0.8rem;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: var(--muted-text);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-section {
        padding: 2rem;
    }
    
    .carousel-item img {
        height: 250px;
    }
}

/* ===== LIGHTBOX CUSTOMIZATION ===== */
.lb-data .lb-details {
    width: 85%;
}

.lb-data .lb-caption {
    font-size: 16px;
    color: var(--white);
    line-height: 1.4;
}

.lb-data .lb-number {
    color: var(--white);
    font-size: 14px;
}

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

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

/* ===== LOADING STATES ===== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== BEHIND THE SCENES STYLING ===== */
.page-title {
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8), 
                 0px 0px 8px rgba(255, 255, 255, 0.6),
                 1px 1px 2px rgba(255, 255, 255, 0.9);
}

.lead {
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7),
                 0px 0px 6px rgba(255, 255, 255, 0.5);
}

.section-title.text-center {
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8),
                 0px 0px 8px rgba(255, 255, 255, 0.6),
                 1px 1px 2px rgba(255, 255, 255, 0.9);
}

/* ===== UTILITY CLASSES ===== */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow) !important;
}

.rounded-custom {
    border-radius: 15px !important;
}

/* ===== SOLD BADGE STYLES ===== */
.artwork-image-container {
    position: relative;
    overflow: hidden;
}

.sold-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.sold-badge .badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sold-badge .badge.bg-danger {
    background-color: #dc3545 !important;
    color: white !important;
}

/* Responsive sold badge */
@media (max-width: 768px) {
    .sold-badge {
        top: 5px;
        right: 5px;
    }
    
    .sold-badge .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
}

/* ===== SOCIAL SHARING ===== */
.social-sharing {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.social-sharing h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-buttons .btn {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== COMPACT SOCIAL SHARING ===== */
.social-sharing-compact {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

.social-buttons-compact {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-social-compact {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-social-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-whatsapp-compact:hover {
    background-color: #25D366;
}

.btn-facebook-compact:hover {
    background-color: #1877F2;
}

.btn-pinterest-compact:hover {
    background-color: #E60023;
}

.btn-twitter-compact:hover {
    background-color: #1DA1F2;
}

.btn-email-compact:hover {
    background-color: #6C757D;
}

.btn-copy-compact:hover {
    background-color: var(--primary-color);
}

.btn-copy-compact.copied {
    background-color: #28a745;
    color: white;
}

.instagram-note-compact {
    font-size: 0.75rem;
    opacity: 0.8;
}

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

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
}

/* Facebook Button */
.btn-facebook {
    background-color: #1877F2;
    color: white;
    border-color: #1877F2;
}

.btn-facebook:hover {
    background-color: #166FE5;
    border-color: #166FE5;
    color: white;
}

/* Pinterest Button */
.btn-pinterest {
    background-color: #E60023;
    color: white;
    border-color: #E60023;
}

.btn-pinterest:hover {
    background-color: #D50000;
    border-color: #D50000;
    color: white;
}

/* Twitter Button */
.btn-twitter {
    background-color: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

.btn-twitter:hover {
    background-color: #0D8BD9;
    border-color: #0D8BD9;
    color: white;
}

/* Email Button */
.btn-email {
    background-color: #6C757D;
    color: white;
    border-color: #6C757D;
}

.btn-email:hover {
    background-color: #5A6268;
    border-color: #5A6268;
    color: white;
}

/* Copy Link Button */
.btn-copy {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-copy:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-copy.copied {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-copy.copied i {
    animation: checkmark 0.5s ease-in-out;
}

@keyframes checkmark {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Instagram Note */
.instagram-note {
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.instagram-note small {
    display: block;
    line-height: 1.4;
}

.instagram-note strong {
    color: var(--primary-color);
}

/* Responsive Social Sharing */
@media (max-width: 768px) {
    .social-buttons {
        justify-content: center;
    }
    
    .social-buttons .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .instagram-note {
        text-align: center;
    }
    
    /* Compact version mobile styles */
    .social-sharing-compact {
        padding-top: 0.75rem;
        margin-top: 1rem;
    }
    
    .social-buttons-compact {
        gap: 0.4rem;
        justify-content: center;
    }
    
    .btn-social-compact {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    
    .instagram-note-compact {
        font-size: 0.7rem;
        line-height: 1.3;
        text-align: center;
    }
}

/* Social sharing animation */
.social-sharing {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .social-buttons .btn:hover {
        transform: none;
        box-shadow: none;
    }
    
    .btn-social-compact:hover {
        transform: none;
    }
    
    .btn-social-compact:active {
        transform: scale(0.95);
    }
}
/* ===== SOCIAL SHARING ===== */
.social-sharing {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.social-sharing h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-buttons .btn {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
}

/* Facebook Button */
.btn-facebook {
    background-color: #1877F2;
    color: white;
    border-color: #1877F2;
}

.btn-facebook:hover {
    background-color: #166FE5;
    border-color: #166FE5;
    color: white;
}

/* Pinterest Button */
.btn-pinterest {
    background-color: #E60023;
    color: white;
    border-color: #E60023;
}

.btn-pinterest:hover {
    background-color: #D50000;
    border-color: #D50000;
    color: white;
}

/* Twitter Button */
.btn-twitter {
    background-color: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

.btn-twitter:hover {
    background-color: #0D8BD9;
    border-color: #0D8BD9;
    color: white;
}

/* Email Button */
.btn-email {
    background-color: #6C757D;
    color: white;
    border-color: #6C757D;
}

.btn-email:hover {
    background-color: #5A6268;
    border-color: #5A6268;
    color: white;
}

/* Copy Link Button */
.btn-copy {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-copy:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-copy.copied {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-copy.copied i {
    animation: checkmark 0.5s ease-in-out;
}

@keyframes checkmark {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Instagram Note */
.instagram-note {
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.instagram-note small {
    display: block;
    line-height: 1.4;
}

.instagram-note strong {
    color: var(--primary-color);
}

/* Responsive Social Sharing */
@media (max-width: 768px) {
    .social-buttons {
        justify-content: center;
    }
    
    .social-buttons .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .instagram-note {
        text-align: center;
    }
}

/* Social sharing animation */
.social-sharing {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
