/* Activities Page - Professional Design Matching Home Page */

/* Import CSS Variables from Main Style */
:root {
    --primary-color: #2E86AB;
    --secondary-color: #A23B72;
    --accent-color: #F18F01;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFB;
    --text-primary: #2C3E50;
    --text-secondary: #5A6C7D;
    --text-light: #8492A6;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(46, 134, 171, 0.18);
    --shadow-light: 0 8px 32px rgba(46, 134, 171, 0.12);
    --shadow-medium: 0 12px 40px rgba(46, 134, 171, 0.15);
    --shadow-heavy: 0 20px 60px rgba(46, 134, 171, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

/* Hero Section */
.activities-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    padding-top: 120px;
    padding-bottom: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://explore.vacations/wp-content/uploads/2023/05/Adventure-Activities-In-Sri-Lanka-1920-%C3%97-1080.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: blur(2px);
}

.hero-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.1), rgba(162, 59, 114, 0.1));
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 1rem;
    background: rgba(241, 143, 1, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(241, 143, 1, 0.2);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 100%;
    text-align: center;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    width: 100%;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(241, 143, 1, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Activities Section */
.activities-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafb 0%, #f0f7ff 100%);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.activity-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.activity-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.8), rgba(162, 59, 114, 0.8));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.activity-category {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.activity-content {
    padding: 2rem;
}

.activity-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Playfair Display', serif;
}

.activity-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.activity-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.info-item i {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fffbe7 0%, #f8fafb 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    background: var(--bg-light);
    transition: var(--transition);
    border: 1px solid rgba(46, 134, 171, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(46, 134, 171, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
    order: -1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Playfair Display', serif;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: white;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .activities-hero {
        min-height: 60vh;
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .activities-section,
    .features-section,
    .cta-section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .activities-hero {
        min-height: 50vh;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .activities-grid {
        padding: 0 1rem;
    }
    
    .features-grid {
        padding: 0 1rem;
    }
    
    .activity-content {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

/* Focus states for accessibility */
.btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .activities-hero {
        background: none !important;
        color: black !important;
    }
    
    .activity-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .cta-section {
        background: none !important;
        color: black !important;
    }
} 

/* --- Enhancements for Activity Details Page --- */

/* Flex layout for details + sidebar */
.activity-details-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
}
@media (max-width: 1024px) {
    .activity-details-layout {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Main content and sidebar sizing */
.activity-details-main {
    flex: 1 1 600px;
    min-width: 0;
}
.activity-details-sidebar {
    flex: 0 1 340px;
    min-width: 260px;
    max-width: 380px;
    width: 100%;
}

/* Sidebar card improvements */
.activity-card.sidebar {
    padding: 2rem 1.5rem;
    margin-bottom: 0;
    box-shadow: var(--shadow-medium);
    border: 1px solid #e6eaf0;
}

/* Recent posts in sidebar */
.recent-post-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.recent-post {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.recent-post .media-img img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(46,134,171,0.08);
}
.recent-post .media-body {
    flex: 1;
}
.recent-post .post-title {
    margin: 0 0 0.3rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}
.recent-post-meta {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Info row for activity details */
.activity-info.row {
    flex-direction: row;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 600px) {
    .activity-info.row {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Inquiry form improvements */
.activity-card .activity_form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
}
.activity-card .activity_form > div,
.activity-card .activity_form textarea {
    flex: 1 1 220px;
    min-width: 180px;
}
.activity-card .activity_form textarea {
    min-height: 100px;
}
.activity-card .activity_form button {
    min-width: 180px;
    margin-left: auto;
    margin-top: 0.5rem;
}
@media (max-width: 600px) {
    .activity-card .activity_form {
        flex-direction: column;
        gap: 1rem;
    }
    .activity-card .activity_form button {
        width: 100%;
        margin-left: 0;
    }
}

/* Card padding for details */
.activity-card.details {
    margin-bottom: 2.5rem;
    padding-bottom: 0.5rem;
}

/* Ensure card images are larger for details */
.activity-card.details .activity-image {
    height: 340px;
}
@media (max-width: 600px) {
    .activity-card.details .activity-image {
        height: 200px;
    }
} 

@keyframes dance {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  10% { transform: translateY(-4px) scale(1.05) rotate(-3deg); }
  20% { transform: translateY(2px) scale(0.98) rotate(2deg); }
  30% { transform: translateY(-2px) scale(1.03) rotate(-2deg); }
  40% { transform: translateY(2px) scale(1.01) rotate(2deg); }
  50% { transform: translateY(-2px) scale(1.04) rotate(-1deg); }
  60% { transform: translateY(2px) scale(0.99) rotate(1deg); }
  70% { transform: translateY(-1px) scale(1.02) rotate(-1deg); }
  80% { transform: translateY(1px) scale(1.01) rotate(1deg); }
  90% { transform: translateY(-1px) scale(1.03) rotate(-1deg); }
  100% { transform: translateY(0) scale(1) rotate(0deg); }
}

.btn-dance:hover, .btn-dance:focus {
  animation: dance 0.9s cubic-bezier(0.4,0,0.2,1) infinite;
  will-change: transform;
} 

/* Remove underlines from activity card links */
.activity-card a,
.activity-card a:hover,
.activity-card a:focus {
    text-decoration: none;
} 