/* =================================================================== */
/*             FREDSON TATTOO STUDIO - UNIFIED STYLESHEET              */
/* =================================================================== */

/* --- 1. FONTS & THEME VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Main Theme Colors (Your Black & Gold Palette) */
    --theme-bg-primary: #1a1a1a; /* Main dark background */
    --theme-bg-secondary: #222222; /* Slightly lighter for cards, headers */
    --theme-bg-tertiary: #333333; /* For hovers and subtle elements */
    --theme-text-primary: #e4e6eb; /* Primary text (off-white) */
    --theme-text-secondary: #b0b3b8; /* Secondary text (light gray) */
    --theme-border-color: #444444; /* Borders and dividers */
    /* Accent Colors */
    --theme-accent-primary: #f9a825; /* Your main GOLD color */
    --theme-accent-primary-hover: #ffc107; /* Lighter gold for hover */
    --theme-accent-text: #1a1a1a; /* Text color for on-top of gold buttons */
    /* System/Status Colors */
    --theme-accent-danger: #f87171;
    --theme-accent-success: #4ade80;
    /* Sizing & Effects */
    --theme-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.3);
    --theme-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
    --theme-focus-ring-color: rgba(249, 168, 37, 0.25); /* Gold with alpha */
    --theme-border-radius: 0.5rem; /* 8px */
}

/* --- 2. GLOBAL & BASE STYLES --- */
body {
    background-color: var(--theme-bg-primary);
    color: var(--theme-text-primary);
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--theme-text-primary);
    font-weight: 700;
}

a {
    color: var(--theme-accent-primary);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

    a:hover {
        color: var(--theme-accent-primary-hover);
    }

hr {
    border-top: 1px solid var(--theme-border-color);
    opacity: 0.5;
}

/* --- 3. LAYOUT: HEADER & FOOTER --- */
.site-header {
    background-color: var(--theme-bg-secondary);
    border-bottom: 1px solid var(--theme-border-color);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--theme-text-primary) !important;
}

.navbar-toggler {
    border-color: var(--theme-border-color);
}

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem var(--theme-focus-ring-color);
    }

.nav-link {
    color: var(--theme-text-secondary) !important;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
}

    .nav-link:hover, .nav-link.active {
        color: var(--theme-text-primary) !important;
        background-color: var(--theme-bg-tertiary);
    }

.dropdown-menu {
    background-color: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border-color);
    box-shadow: var(--theme-shadow-lg);
}

.dropdown-item {
    color: var(--theme-text-secondary);
}

    .dropdown-item:hover, .dropdown-item:focus {
        background-color: var(--theme-accent-primary);
        color: var(--theme-accent-text);
    }

    .dropdown-item.text-danger:hover {
        background-color: var(--theme-accent-danger);
        color: var(--theme-text-primary);
    }

.dropdown-divider {
    border-top-color: var(--theme-border-color);
}

.site-footer {
    background-color: var(--theme-bg-secondary);
    color: var(--theme-text-secondary);
    border-top: 1px solid var(--theme-border-color);
}

.footer-heading {
    color: var(--theme-text-primary);
}

.footer-link, .footer-contact-info i, .footer-brand-info i {
    color: var(--theme-accent-primary);
}

    .footer-link:hover {
        color: var(--theme-accent-primary-hover);
    }

.footer-social-icons .social-icon {
    color: var(--theme-text-secondary);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

    .footer-social-icons .social-icon:hover {
        color: var(--theme-accent-primary);
        transform: translateY(-3px);
    }

.footer-copyright .credits {
    font-size: 0.8rem;
    color: #777;
}

/* --- 4. BUTTONS & FORMS (Standardizing Bootstrap) --- */
.btn {
    border-radius: calc(var(--theme-border-radius) - 2px);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

    .btn:focus {
        box-shadow: 0 0 0 0.25rem var(--theme-focus-ring-color);
    }

/* Primary Button (Gold) */
.btn-primary {
    background-color: var(--theme-accent-primary);
    border-color: var(--theme-accent-primary);
    color: var(--theme-accent-text);
    font-weight: bold;
}

    .btn-primary:hover {
        background-color: var(--theme-accent-primary-hover);
        border-color: var(--theme-accent-primary-hover);
        color: var(--theme-accent-text);
    }

/* Outline/Login Button */
.btn-outline-light, .btn-login {
    border-color: var(--theme-accent-primary);
    color: var(--theme-accent-primary);
}

    .btn-outline-light:hover, .btn-login:hover {
        background-color: var(--theme-accent-primary);
        border-color: var(--theme-accent-primary);
        color: var(--theme-accent-text);
    }

.btn-outline-primary { /* Bootstrap override */
    --bs-btn-color: var(--theme-accent-primary);
    --bs-btn-border-color: var(--theme-accent-primary);
    --bs-btn-hover-color: var(--theme-accent-text);
    --bs-btn-hover-bg: var(--theme-accent-primary);
    --bs-btn-hover-border-color: var(--theme-accent-primary);
    --bs-btn-active-color: var(--theme-accent-text);
    --bs-btn-active-bg: var(--theme-accent-primary-hover);
    --bs-btn-active-border-color: var(--theme-accent-primary-hover);
}

/* --- 5. CARDS (For Artists, Projects, etc.) --- */
.card {
    background-color: var(--theme-bg-secondary);
    color: var(--theme-text-primary);
    border: 1px solid var(--theme-border-color);
    box-shadow: var(--theme-shadow-md);
    border-radius: var(--theme-border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: var(--theme-shadow-lg);
    }

.card-title {
    color: var(--theme-accent-primary);
    font-weight: bold;
}

.card-text, .card-body p {
    color: var(--theme-text-secondary);
}

.card-img-top {
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-img-container {
    overflow: hidden;
    border-top-left-radius: var(--theme-border-radius);
    border-top-right-radius: var(--theme-border-radius);
    height: 400px;
}

/* --- 6. PAGE-SPECIFIC SECTIONS (Index Page) --- */

/* Hero Section */
.hero-section .logo-image {
    max-width: 70%;
    height: auto;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-image {
    min-width: 100%;
    object-fit: cover;
    height: 500px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

    .carousel-button:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

    .carousel-button.prev {
        left: 10px;
    }

    .carousel-button.next {
        right: 10px;
    }

/* Recognition Section */
.recognition-section .text-gold,
.recognition-section ul li i {
    color: var(--theme-accent-primary);
}

.recognition-section ul li i {
    transition: transform 0.3s ease;
}

.recognition-section ul li:hover i {
    transform: scale(1.2);
}

/* Protocols Section */
.protocol-card {
    background-color: var(--theme-bg-secondary);
    border-radius: var(--theme-border-radius);
    box-shadow: var(--theme-shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 250px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .protocol-card:hover {
        transform: scale(1.05);
        box-shadow: var(--theme-shadow-lg);
    }

    .protocol-card i {
        color: var(--theme-accent-primary);
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

/* Tattoo Artists Social Icons */
.card-body .fa-instagram:hover {
    color: #E1306C;
}

.card-body .fa-tiktok:hover {
    color: #ff0050;
}

.card-body .fa-whatsapp:hover {
    color: #25D366;
}

/* Map */
.map-container {
    overflow: hidden;
    border-radius: var(--theme-border-radius);
    box-shadow: var(--theme-shadow-md);
}

/* Featured Projects Section */
.projects-section {
    background-color: var(--theme-bg-tertiary);
}

.badge-status {
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.4em 0.75em;
}

/* --- 7. RESPONSIVENESS --- */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .carousel-image {
        height: 300px;
    }

    .card-img-container {
        height: 300px;
    }

    .protocol-card {
        height: auto;
        min-height: 200px;
        margin-bottom: 20px;
    }
}

/* NOTE: All form, table, and other general purpose styles from the old
   dark-theme.css can be added here if needed for other pages. This
   covers the layout and index page standardization. */
