


:root {
    --primary-color: #2C5F7C;
    --primary-dark: #1A3949;
    --secondary-color: #D4AF37;
    --secondary-dark: #B8941F;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --text-muted: #6C757D;
    --background-light: #F8F9FA;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

.display-4, .display-6 {
    font-weight: 700;
}


.navbar {
    padding: 1rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: var(--transition);
}

.navbar-brand::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: translateX(3px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.navbar-brand:hover::before {
    width: 100%;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-light) !important;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    border-radius: var(--border-radius);
    position: relative;
    letter-spacing: 0.025em;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link:hover::before {
    width: 80%;
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--primary-dark) !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}


.hero-section {
    background: linear-gradient(135deg, rgba(44, 95, 124, 0.95) 0%, rgba(26, 57, 73, 0.95) 100%),
                url('../gallery/styles-bootstrap-elegance-cheesecloth.jpg') center/cover;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(44, 95, 124, 0.2) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-background {
    background: url('../gallery/styles-bootstrap-elegance-mitre.jpg') center/cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-section h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    border-radius: 2px;
}

.hero-section .lead {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: slideInRight 1s ease-out 0.3s both;
}

.hero-button {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 0;
}

.hero-button:hover::before {
    width: 300px;
    height: 300px;
}

.hero-button .btn {
    position: relative;
    z-index: 1;
    border: none;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    transform: translateY(0);
}

.hero-button .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-decorative {
    position: absolute;
    z-index: 0;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-decorative-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-decorative-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

.hero-decorative-3 {
    top: 50%;
    right: 15%;
    animation-delay: 4s;
}


.btn {
    font-weight: 500;
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    border: 2px solid transparent;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0.025em;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-dark);
    font-weight: 600;
}

.btn-warning:hover, .btn-warning:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}


.card {
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    overflow: hidden;
}

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

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(44, 95, 124, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.review-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--secondary-color);
    position: relative;
}

.review-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.review-card:hover::after {
    transform: scaleX(1);
}


.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

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


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

.text-warning {
    color: var(--secondary-color) !important;
}

.bi {
    vertical-align: -0.125em;
}


section {
    position: relative;
}

.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}


.bg-light {
    background-color: var(--background-light) !important;
    border-bottom: 1px solid rgba(44, 95, 124, 0.1);
}


.bg-dark {
    background-color: #1a1a1a !important;
}
.bg-dark h6,
.bg-dark h5 {
    color: inherit;
}

footer .text-light {
    color: #e9ecef !important;
}

footer a:hover {
    color: var(--secondary-color) !important;
    transition: var(--transition);
}


.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 1.5rem 0;
    z-index: 1050;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cookie-consent-banner h6 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-consent-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-consent-banner .btn-light {
    background-color: var(--text-light);
    color: var(--primary-dark);
    border-color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.cookie-consent-banner .btn-light:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-1px);
}

.cookie-consent-banner .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.cookie-consent-banner .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
    color: var(--text-light);
}


@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding-top: 80px;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: clamp(2rem, 6vw, 3.5rem);
        line-height: 1.1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .hero-section .lead {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
        line-height: 1.5;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-button .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .cookie-consent-banner {
        padding: 1rem 0;
    }
    
    .cookie-consent-banner .row {
        align-items: center;
    }
    
    .py-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
        text-align: center;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: clamp(1.75rem, 5vw, 3rem);
        line-height: 1.1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .hero-section .lead {
        font-size: clamp(0.9rem, 2vw, 1rem);
        line-height: 1.4;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .hero-button .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .cookie-consent-banner .btn-sm {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}


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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes heroTextGlitch {
    0%, 100% {
        transform: translate(0);
        clip-path: inset(0 0 0 0);
    }
    20% {
        transform: translate(-2px, 2px);
        clip-path: inset(10% 0 10% 0);
    }
    40% {
        transform: translate(2px, -2px);
        clip-path: inset(20% 0 20% 0);
    }
    60% {
        transform: translate(-1px, 1px);
        clip-path: inset(5% 0 5% 0);
    }
    80% {
        transform: translate(1px, -1px);
        clip-path: inset(15% 0 15% 0);
    }
}

.hero-section h1.glitch-effect {
    position: relative;
    color: var(--text-light);
    animation: heroTextGlitch 2s ease-in-out infinite;
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


.btn:focus,
.nav-link:focus,
.form-control:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}


@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid var(--text-dark);
    }
    
    .btn-outline-primary {
        border: 2px solid var(--primary-color);
    }
    
    .text-muted {
        color: var(--text-dark) !important;
    }
}


@media print {
    .navbar,
    .cookie-consent-banner,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}


.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(44, 95, 124, 0.1);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) 1;
}


[class*="text-"] strong,
[class*="text-"] b,
[style*="color"] strong,
[style*="color"] b,
.text-white strong,
.text-white b,
.text-light strong,
.text-light b {
    color: inherit;
}