/* Main Styles for Click & Invite Platform */

:root {
    /* Color Variables */
    --primary-color: #dea088;
    --primary-dark: #9e541a;
    --primary-light: #f2d1c1;
    --secondary-color: #4a6fa5;
    --text-color: #333333;
    --light-gray: #f7f7f7;
    --white: #ffffff;
    --dark: #222222;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    
    /* Typography */
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.btn {
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(158, 84, 26, 0.3);
}

.btn-outline-primary {
    color: var(--primary-dark);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(158, 84, 26, 0.2);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-header h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: translateX(-50%);
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Navbar Styles */
.navbar {
    padding: 25px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
}

.navbar-brand img {
    max-height: 100px;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 190px 0 220px;
    background: linear-gradient(135deg, #f6f9fc, #ecf3f9);
    overflow: hidden;
    z-index: 1; 

}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0; 
    pointer-events: none; /* Esto es clave para que no bloquee los clics */
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}
/* Event Types Section */
.event-types {
    padding: 130px 0;
    background-color: var(--white);
}

.event-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.event-card .icon-wrapper {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    margin: 0 auto 20px;
    color: var(--white);
}

.event-card .icon-wrapper i {
    font-size: 30px;
}

.event-card h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

.event-card p {
    color: #666;
    margin-bottom: 0;
}

/* Features Section */
.features {
    padding: 130px 0;
    background-color: #f8f9fa;
}

.feature-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    margin-bottom: 20px;
    color: var(--white);
}

.feature-card .icon i {
    font-size: 24px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
}

/* Templates Section */
.templates {
    padding: 130px 0;
    background-color: var(--white);
}

.template-filter {
    margin-bottom: 30px;
}

.btn-filter {
    background: transparent;
    border: none;
    color: var(--text-color);
    margin: 0 5px;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-filter:hover,
.btn-filter.active {
    background-color: var(--primary-color);
    color: var(--white);
}



.template-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.template-item {
    width: calc(33.333% - 20px);
    max-width: 350px;
}

.template-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.template-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.template-image {
    position: relative;
    overflow: hidden;
}

.template-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.template-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-card:hover .overlay {
    opacity: 1;
}

.template-info {
    padding: 15px;
    text-align: center;
}

@media (max-width: 992px) {
    .template-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .template-item {
        width: 100%;
        max-width: 100%;
    }
}


/*
.template-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.template-image {
    position: relative;
    overflow: hidden;
}

.template-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.template-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-card:hover .template-image .overlay {
    opacity: 1;
}

.template-info {
    padding: 20px;
}

.template-info h4 {
    margin-bottom: 10px;
    font-weight: 600;
}

.template-info p {
    color: #666;
    margin-bottom: 0;
} /*

/* How It Works Section */
.how-it-works {
    padding: 130px 0;
    background-color: #f8f9fa;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-color), var(--primary-dark));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.timeline-content {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: calc(50% - 50px);
    margin-left: 25px;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 25px;
}

.timeline-content h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    margin-bottom: 0;
}

/* Pricing Section */
.pricing {
    padding: 130px 0;
    background-color: var(--white);
}

.pricing-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0 15px 0 15px;
}

.pricing-card .card-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-card .card-header h3 {
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary-dark);
}

.pricing-card .price {
    margin-bottom: 15px;
}

.pricing-card .price .currency {
    font-size: 20px;
    font-weight: 500;
    vertical-align: super;
}

.pricing-card .price .amount {
    font-size: 40px;
    font-weight: 700;
}

.pricing-card .price .period {
    font-size: 16px;
    color: #666;
}

.pricing-card .card-body {
    padding: 25px;
    flex-grow: 1;
}

.pricing-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-card .feature-list li {
    margin-bottom: 12px;
    color: #666;
}

.pricing-card .feature-list li i {
    margin-right: 10px;
    color: var(--success);
}

.pricing-card .feature-list li.disabled {
    color: #aaa;
}

.pricing-card .feature-list li.disabled i {
    color: #ddd;
}

.pricing-card .card-footer {
    padding: 20px 30px 30px;
}

/* Testimonials Section */
.testimonials {
    padding: 130px 0;
    background-color: #f8f9fa;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 20px 40px;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    font-style: italic;
    position: relative;
}

.testimonial-content p:before {
    content: '\201C';
    font-size: 60px;
    color: var(--primary-light);
    position: absolute;
    left: -20px;
    top: -20px;
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    font-weight: 600;
}

.author-info p {
    color: #666;
    margin-bottom: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* CTA Section */
.cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.cta h2 {
    margin-bottom: 15px;
    font-weight: 700;
}

.cta p {
    margin-bottom: 0;
    font-size: 18px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 135px;
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer h4 {
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--white);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--primary-light);
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.social-links li {
    margin-right: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.8;
}

/* Dashboard Styles - For Client Management */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar {
    width: 250px;
    background-color: var(--dark);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.dashboard-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
}

.sidebar-brand {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sidebar-brand img {
    height: 40px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-left: 3px solid var(--primary-color);
}

.sidebar-menu i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero {
        padding: 170px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .timeline:before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-content {
        width: calc(100% - 70px) !important;
        margin-left: 25px !important;
        margin-right: 0 !important;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    .section-header {
        margin-bottom: 40px;
    }
    
    .template-filter .btn-filter {
        margin-bottom: 10px;
    }
    
    .testimonial-card {
        margin: 20px 10px;
    }
    
    .carousel-control-prev {
        left: -10px;
    }
    
    .carousel-control-next {
        right: -10px;
    }
    
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .dashboard-content {
        margin-left: 0;
    }
}

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

.animated {
    animation: fadeIn 0.6s ease forwards;
}