/* Reset e Configurações Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #dc2626; /* Vermelho do logo */
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --overlay-dark: rgba(0, 0, 0, 0.8);
    --overlay-medium: rgba(0, 0, 0, 0.5);
    --card-bg: rgba(220, 38, 38, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --red-accent: #dc2626;
    --red-light: #ef4444;
    --red-dark: #b91c1c;
    --green-accent: #25D366; /* WhatsApp verde */
    --gray-light: #f3f4f6;
    --gray-medium: #9ca3af;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--primary-color);
}

/* Profile Container */
.profile-container {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background */
.profile-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--primary-color);
}

.profile-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('fundos/Gemini_Generated_Image_2umljd2umljd2uml.png') center/cover;
    filter: brightness(0.3) contrast(1.1);
}

.skate-park-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

/* Profile Content */
.profile-content {
    position: relative;
    z-index: 1;
    padding: 20px 15px;
    max-width: 380px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
}

/* Profile Header */
.profile-header {
    text-align: center;
    margin-bottom: 15px;
    padding-top: 0;
}

.profile-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.profile-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    object-fit: cover;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: var(--red-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--secondary-color);
    color: white;
    font-size: 9px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
}

.profile-bio {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.action-buttons button {
    padding: 14px 18px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    min-height: 48px;
    width: 100%;
    margin: 0 auto;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-accent) 0%, var(--red-light) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: white;
    border: 2px solid var(--red-accent);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(220, 38, 38, 0.2);
    transform: translateY(-2px);
}

.btn-tertiary {
    background: transparent;
    color: white;
    border: 2px solid var(--red-accent);
}

.btn-tertiary:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: var(--red-accent);
    transform: translateY(-2px);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 15px 0 20px;
}

.instagram-section,
.facebook-section,
.whatsapp-section {
    display: flex;
    justify-content: center;
    width: 100%;
}

.social-link {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link.tiktok:hover {
    background: #000000;
    border-color: #000000;
}

.social-link.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-link.x:hover {
    background: #000000;
    border-color: #000000;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0d0d0d 100%);
    border-radius: 24px;
    max-width: 90vw;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    border: 2px solid var(--red-accent);
    backdrop-filter: blur(20px);
}

.modal-header {
    padding: 30px;
    border-bottom: 1px solid var(--red-accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-radius: 24px 24px 0 0;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--red-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.close-btn {
    background: rgba(220, 38, 38, 0.2);
    border: 2px solid var(--red-accent);
    color: var(--red-accent);
    font-size: 20px;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: var(--red-accent);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
    background: transparent;
}

/* Skate Parks List */
.skate-park-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.park-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.park-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.park-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

/* Booking Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.form-group option {
    background: #2c3e50;
    color: white;
}

.submit-btn {
    padding: 14px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

/* Affiliate List */
.affiliate-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.affiliate-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.affiliate-logo {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.affiliate-info {
    flex: 1;
}

.affiliate-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.affiliate-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.affiliate-btn {
    padding: 8px 16px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.affiliate-btn:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* Instagram Button */
.instagram-section {
    text-align: center;
    margin-top: 20px;
}

.instagram-btn,
.facebook-btn,
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    text-decoration: none;
    width: 100%;
    margin: 0 auto;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(225, 48, 108, 0.3);
    border: none;
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(225, 48, 108, 0.4);
    background: linear-gradient(45deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
}

.facebook-btn {
    background: #1877f2;
    color: white;
    box-shadow: 0 4px 16px rgba(24, 119, 242, 0.3);
    border: none;
}

.facebook-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(24, 119, 242, 0.4);
    background: #166fe5;
}

.whatsapp-btn {
    background: var(--green-accent);
    color: white;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    border: none;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    background: #128C7E;
}

/* Interactive Map Section */
.map-section {
    text-align: center;
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.map-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.map-container {
    position: relative;
    width: 100%;
    margin: 0 auto 12px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    border: none;
    border-radius: var(--border-radius);
}

.map-info {
    margin-bottom: 12px;
}

.map-info p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.map-info i {
    color: var(--accent-color);
    font-size: 14px;
    width: 16px;
}

.route-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 14px;
    background: var(--red-accent);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 12px rgba(220, 38, 38, 0.3);
}

.route-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.4);
}

.route-btn i {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .profile-content {
        padding: 15px;
        max-width: 100%;
    }
    
    .profile-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .verified-badge {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .profile-name {
        font-size: 20px;
    }
    
    .profile-bio {
        font-size: 13px;
    }
    
    .action-buttons button {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 48px;
        min-width: 260px;
        max-width: 300px;
    }
    
    .instagram-btn,
    .facebook-btn,
    .whatsapp-btn {
        padding: 12px 16px;
        font-size: 13px;
        min-width: 260px;
        max-width: 300px;
    }
    
    .map-section {
        padding: 15px;
    }
    
    .map-container {
        max-width: 100%;
    }
    
    .route-btn {
        padding: 10px 14px;
        font-size: 12px;
        min-width: 260px;
        max-width: 300px;
    }
    
    /* Products Grid Mobile */
    .products-modal-content {
        height: 60vh;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .product-info h3 {
        font-size: 20px;
    }
    
    .product-info p {
        font-size: 14px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 360px) {
    .action-buttons button,
    .instagram-btn,
    .facebook-btn,
    .whatsapp-btn,
    .route-btn {
        min-width: 240px;
        max-width: 280px;
    }
}

/* Products Modal */
.products-modal-content {
    position: relative;
    width: 100%;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.product-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    flex-shrink: 0;
    backface-visibility: hidden;
}

.product-slide img {
    width: 100%;
    height: 75%;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    backface-visibility: hidden;
}

.product-slide:hover img {
    transform: scale(1.02);
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 25px 20px 20px;
    text-align: center;
    color: white;
    backdrop-filter: blur(5px);
}

.product-info h3 {
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.product-info p {
    font-size: clamp(12px, 3vw, 14px);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.carousel-btn:hover {
    background: var(--red-accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 15px;
}

.carousel-btn-next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.dot.active {
    background: var(--red-accent);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.6);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive */
.add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 12px 20px;
    background: var(--green-accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.4);
}

.add-to-cart-btn i {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .profile-content {
        padding: 15px;
    }
    
    .profile-header {
        padding-top: 40px;
        margin-bottom: 30px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .profile-bio {
        font-size: 14px;
    }
    
    .profile-picture img {
        width: 100px;
        height: 100px;
    }
    
    .verified-badge {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .action-buttons {
        margin-bottom: 30px;
        gap: 12px;
    }
    
    .action-buttons button {
        padding: 16px 20px;
        font-size: 14px;
        min-height: 52px;
    }
    
    .social-links {
        gap: 20px;
        padding: 30px 0 40px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .profile-content {
        max-width: 600px;
    }
}

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

.profile-header,
.action-buttons,
.social-links {
    animation: fadeInUp 0.6s ease-out;
}

.action-buttons {
    animation-delay: 0.1s;
}

.social-links {
    animation-delay: 0.2s;
}

/* Scrollbar Styling */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
