:root {
    --brown-dark: #2C1810;
    --brown-medium: #4A2C1A;
    --brown-light: #6B4423;
    --brown-accent: #8B5A3C;
    --brown-gold: #B8860B;
    --brown-cream: #D4A574;
    --brown-beige: #E8D5B7;
    --text-light: #F5F5F5;
    --text-gray: #CCCCCC;
    --gradient-brown: linear-gradient(135deg, #2C1810 0%, #4A2C1A 50%, #6B4423 100%);
    --gradient-gold: linear-gradient(135deg, #B8860B 0%, #D4A574 50%, #E8D5B7 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--brown-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.7;
}

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

/* Navigation */
.navbar {
    background: rgba(44, 24, 16, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(44, 24, 16, 0.98) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown-cream) !important;
}

.logo-img {
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--brown-gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--brown-cream) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-brown);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(184,134,11,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fadeInUp 1.4s ease;
}

.btn-primary-custom {
    background: var(--gradient-gold);
    border: none;
    color: var(--brown-dark);
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1.6s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.4);
    color: var(--brown-dark);
}

.btn-outline-custom {
    border: 2px solid var(--brown-gold);
    color: var(--brown-cream);
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--brown-gold);
    color: var(--brown-dark);
    transform: translateY(-3px);
}

/* Carousel */
.carousel-section {
    padding: 0;
    background: var(--brown-dark);
    margin-top: 0;
}

.carousel-item {
    height: 600px;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.85) 0%, rgba(74, 44, 26, 0.75) 50%, rgba(107, 68, 35, 0.65) 100%);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    background: rgba(44, 24, 16, 0.9);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 15px;
    bottom: 20%;
    left: 10%;
    right: 10%;
    z-index: 2;
    border: 1px solid rgba(184, 134, 11, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--brown-cream);
}

.carousel-caption p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 0;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--brown-cream);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark {
    background: var(--brown-dark);
}

.section-medium {
    background: var(--brown-medium);
}

/* Cards */
.service-card, .software-card {
    background: rgba(74, 44, 26, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(184, 134, 11, 0.2);
    backdrop-filter: blur(10px);
}

.service-card:hover, .software-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(184, 134, 11, 0.3);
    border-color: var(--brown-gold);
    background: rgba(74, 44, 26, 0.8);
}

.service-icon, .software-icon {
    font-size: 3.5rem;
    color: var(--brown-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3, .software-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--brown-cream);
}

.service-card p, .software-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* About Section */
.about-content {
    background: rgba(74, 44, 26, 0.4);
    padding: 3rem;
    border-radius: 20px;
    border-left: 4px solid var(--brown-gold);
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.registrolab-images {
    display: flex;
    flex-direction: column;
}

.img-zoom {
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    cursor: pointer;
}

.img-zoom:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 50px rgba(184, 134, 11, 0.4);
}

/* Contact Form */
.contact-section {
    background: var(--gradient-brown);
}

.contact-form {
    background: rgba(74, 44, 26, 0.6);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-control, .form-select {
    background: rgba(44, 24, 16, 0.8);
    border: 1px solid rgba(184, 134, 11, 0.3);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: 10px;
}

.form-control:focus, .form-select:focus {
    background: rgba(44, 24, 16, 0.9);
    border-color: var(--brown-gold);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.25);
}

.form-control::placeholder {
    color: var(--text-gray);
}

.form-label {
    color: var(--brown-cream);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer-section {
    background: var(--brown-dark);
    border-top: 1px solid rgba(184, 134, 11, 0.2);
    padding: 3rem 0 1rem;
}

.footer-title {
    font-size: 1.5rem;
    color: var(--brown-cream);
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 1.1rem;
    color: var(--brown-cream);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-text {
    color: var(--text-gray);
    line-height: 1.8;
}

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

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

.footer-links a, .footer-contact a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--brown-cream);
}

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

.footer-contact li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.footer-contact i {
    color: var(--brown-gold);
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 134, 11, 0.2);
    border-radius: 50%;
    color: var(--brown-cream);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--brown-gold);
    color: var(--brown-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(184, 134, 11, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--text-gray);
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 1.5rem;
        bottom: 10%;
        left: 5%;
        right: 5%;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .service-card, .software-card {
        margin-bottom: 2rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--brown-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--brown-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brown-cream);
}

