/* Extracted from events\show.blade.php (block 1) */
/* Event Detail Hero */
.event-detail-hero {
position: relative;
min-height: 70vh;
display: flex;
align-items: center;
background-size: cover;
background-position: center;
background-attachment: fixed;
padding: 8rem 0 4rem;
}

.event-hero-overlay {
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 100%);
}

.event-detail-content {
position: relative;
z-index: 2;
color: white;
max-width: 900px;
}

.breadcrumb-nav {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
margin-bottom: 2rem;
opacity: 0.9;
}

.breadcrumb-nav a {
color: white;
text-decoration: none;
transition: opacity 0.2s;
}

.breadcrumb-nav a:hover {
opacity: 0.7;
}

.breadcrumb-separator {
opacity: 0.5;
}

.event-badges {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
margin-bottom: 1.5rem;
}

.event-badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
border-radius: 50px;
font-size: 0.875rem;
font-weight: 600;
backdrop-filter: blur(10px);
}

.event-badge-category {
background: rgba(193, 154, 107, 0.95);
color: white;
}

.event-badge-featured {
background: rgba(245, 158, 11, 0.95);
color: white;
}

.event-badge-upcoming {
background: rgba(59, 130, 246, 0.95);
color: white;
}

.event-badge-ongoing {
background: rgba(16, 185, 129, 0.95);
color: white;
}

.event-title {
font-size: 3.5rem;
font-weight: 800;
margin: 0 0 2rem 0;
line-height: 1.1;
text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.event-quick-info {
display: flex;
flex-wrap: wrap;
gap: 2rem;
margin-bottom: 2rem;
}

.event-info-item {
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 1.125rem;
}

.event-info-item i {
font-size: 1.25rem;
opacity: 0.8;
}

.event-info-item.event-free {
background: rgba(16, 185, 129, 0.2);
padding: 0.5rem 1rem;
border-radius: 50px;
border: 2px solid rgba(16, 185, 129, 0.5);
}

.event-hero-actions {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}

.btn-outline-light {
background: transparent;
color: white;
border: 2px solid white;
}

.btn-outline-light:hover {
background: white;
color: #1f2937;
}

/* Event Details Section */
.event-details-section {
padding: 4rem 0;
}

.event-details-grid {
display: grid;
grid-template-columns: 1fr 380px;
gap: 3rem;
}

.event-main-content {
min-width: 0;
}

.event-section {
margin-bottom: 3rem;
padding-bottom: 3rem;
border-bottom: 1px solid #e5e7eb;
}

.event-section:last-child {
border-bottom: none;
}

.event-section-title {
font-size: 1.75rem;
font-weight: 700;
color: #1f2937;
margin: 0 0 1.5rem 0;
display: flex;
align-items: center;
gap: 0.75rem;
}

.event-section-title i {
color: #c19a6b;
}

.event-description {
font-size: 1.125rem;
line-height: 1.8;
color: #4b5563;
}

.event-highlights-list,
.event-requirements-list {
list-style: none;
padding: 0;
margin: 0;
}

.event-highlights-list li,
.event-requirements-list li {
padding: 0.75rem 0;
display: flex;
align-items: flex-start;
gap: 0.75rem;
font-size: 1.0625rem;
line-height: 1.6;
}

.event-highlights-list li i {
color: #10b981;
margin-top: 0.25rem;
flex-shrink: 0;
}

.event-requirements-list li i {
color: #c19a6b;
margin-top: 0.25rem;
flex-shrink: 0;
}

.event-expectations {
font-size: 1.0625rem;
line-height: 1.7;
color: #4b5563;
}

/* Event Gallery */
.event-gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1rem;
margin-top: 1.5rem;
}

.gallery-item {
position: relative;
aspect-ratio: 4/3;
border-radius: 12px;
overflow: hidden;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
background: #f3f4f6;
}

.gallery-item:hover {
transform: translateY(-4px);
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

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

.gallery-caption {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
color: white;
padding: 1rem;
font-size: 0.875rem;
transform: translateY(100%);
transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
transform: translateY(0);
}

.gallery-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(193, 154, 107, 0.9);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
opacity: 1;
}

.gallery-overlay i {
color: white;
font-size: 2rem;
}

.event-featured-image {
position: relative;
border-radius: 12px;
overflow: hidden;
cursor: pointer;
max-height: 500px;
}

.event-featured-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.3s ease;
}

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

.event-featured-image .image-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(193, 154, 107, 0.9);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}

.event-featured-image:hover .image-overlay {
opacity: 1;
}

.image-overlay i {
color: white;
font-size: 3rem;
}

/* Gallery Modal */
.gallery-modal {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.95);
z-index: 10000;
padding: 2rem;
}

.gallery-modal.active {
display: flex;
align-items: center;
justify-content: center;
}

.gallery-modal-content {
max-width: 90%;
max-height: 90%;
position: relative;
}

.gallery-modal-content img {
max-width: 100%;
max-height: 85vh;
object-fit: contain;
border-radius: 8px;
}

.gallery-modal-close {
position: absolute;
top: -40px;
right: 0;
background: none;
border: none;
color: white;
font-size: 2rem;
cursor: pointer;
padding: 0.5rem;
transition: transform 0.3s ease;
}

.gallery-modal-close:hover {
transform: scale(1.1);
}

.gallery-modal-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255,255,255,0.9);
border: none;
width: 50px;
height: 50px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
color: #1f2937;
transition: all 0.3s ease;
}

.gallery-modal-nav:hover {
background: white;
transform: translateY(-50%) scale(1.1);
}

.gallery-modal-prev {
left: -60px;
}

.gallery-modal-next {
right: -60px;
}

.event-location-info {
margin-bottom: 1.5rem;
padding: 1rem;
background: #f9fafb;
border-radius: 12px;
}

.event-address {
color: #6b7280;
margin: 0.5rem 0 0 0;
}

.event-map {
height: 400px;
background: #e5e7eb;
border-radius: 12px;
margin-bottom: 1rem;
display: flex;
align-items: center;
justify-content: center;
color: #9ca3af;
}

.event-directions {
display: flex;
gap: 1rem;
}

.event-directions .btn {
flex: 1;
}

/* Sidebar */
.event-sidebar {
position: sticky;
top: 100px;
align-self: flex-start;
}

.event-sidebar-card {
background: white;
border-radius: 16px;
box-shadow: 0 2px 12px rgba(0,0,0,0.08);
margin-bottom: 2rem;
overflow: hidden;
}

.event-registration-card {
border: 2px solid #c19a6b;
}

.registration-card-header,
.sidebar-card-header {
background: linear-gradient(135deg, #c19a6b 0%, #d4a574 100%);
color: white;
padding: 1.5rem;
display: flex;
align-items: center;
gap: 0.75rem;
}

.registration-card-header h3,
.sidebar-card-header h3 {
margin: 0;
font-size: 1.25rem;
font-weight: 700;
}

.registration-card-body,
.sidebar-card-body {
padding: 1.5rem;
}

.registration-info-item {
display: flex;
justify-content: space-between;
padding: 0.75rem 0;
border-bottom: 1px solid #e5e7eb;
}

.registration-info-item:last-child {
border-bottom: none;
}

.info-label {
font-weight: 600;
color: #6b7280;
}

.info-value {
color: #1f2937;
text-align: right;
}

.registration-price {
padding: 1rem 0;
margin-top: 0.5rem;
border-top: 2px solid #e5e7eb;
}

.price-value {
font-size: 1.5rem;
font-weight: 700;
color: #c19a6b;
}

.free-badge {
background: #10b981;
color: white;
padding: 0.35rem 1rem;
border-radius: 50px;
font-weight: 700;
font-size: 0.875rem;
}

.registration-card-footer {
padding: 1.5rem;
background: #f9fafb;
}

.event-expired-notice {
text-align: center;
padding: 0.75rem;
background: #fee2e2;
color: #991b1b;
border-radius: 8px;
font-weight: 600;
}

.social-share-buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.75rem;
}

.social-btn {
aspect-ratio: 1;
border: none;
border-radius: 12px;
color: white;
font-size: 1.25rem;
cursor: pointer;
transition: all 0.3s ease;
}

.social-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.social-facebook {
background: #1877f2;
}

.social-twitter {
background: #1da1f2;
}

.social-whatsapp {
background: #25d366;
}

.social-link {
background: #6b7280;
}

/* Responsive */
@media (max-width: 1024px) {
.event-details-grid {
grid-template-columns: 1fr;
}

.event-sidebar {
position: relative;
top: 0;
}

.gallery-modal-prev {
left: 10px;
}

.gallery-modal-next {
right: 10px;
}
}

@media (max-width: 768px) {
.event-detail-hero {
min-height: 60vh;
padding: 6rem 0 3rem;
}

.event-details-section {
padding: 3rem 0;
}

.event-section {
margin-bottom: 2rem;
padding-bottom: 2rem;
}

.event-title {
font-size: 2.5rem;
}

.event-quick-info {
gap: 1.5rem;
}

.event-info-item {
font-size: 1rem;
}

.event-hero-actions {
flex-direction: column;
}

.event-hero-actions .btn {
width: 100%;
}

.event-directions {
flex-direction: column;
}

.event-gallery {
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 0.75rem;
}

.gallery-modal-content {
max-width: 95%;
}

.gallery-modal-nav {
width: 40px;
height: 40px;
font-size: 1.2rem;
}
}

@media (max-width: 480px) {
.event-title {
font-size: 2rem;
}

.event-section-title {
font-size: 1.5rem;
}

.event-description {
font-size: 1rem;
}

.event-gallery {
grid-template-columns: 1fr;
}

.gallery-modal {
padding: 1rem;
}

.gallery-modal-prev,
.gallery-modal-next {
position: fixed;
top: 50%;
}

.gallery-modal-prev {
left: 5px;
}

.gallery-modal-next {
right: 5px;
}

.gallery-modal-close {
top: -35px;
font-size: 1.5rem;
}
}