/* Event Planning Template - Main CSS */

/* CSS Variables - Color Palette */
:root {
    --primary-color: #7f6cfe;
    --primary-light: #a2a5ef;
    --primary-dark: #6345d6;
    --secondary-color: #ff64a5;
    --secondary-light: #f4c355;
    --accent-color: #00b6a8;
    --accent-light: #49ffd6;
    --text-dark: #1b2122;
    --text-light: #687e84;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--secondary-light));
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.62rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.51rem;
    color: var(--text-light);
}

h4 {
    font-size: 1.37rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 0.69rem;
}

/* Header & Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 8px 17px var(--shadow-light);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.56rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 9px;
    bottom: -14px;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../CUN_images/hero-pattern.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    font-size: 3.60rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h2 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.60rem;
    font-weight: 400;
    margin-bottom: 1.66rem;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.hero-section img {
    max-width: 100%;
    height: auto;
    border-radius: 19px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

/* Cards */
.service-card, .price-card, .review-card, .casestudy-card, .career-card, .info-card, .blog-card {
    background: var(--bg-white);
    border-radius: 19px;
    padding: 2rem;
    box-shadow: 0 5px 25px var(--shadow-light);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-card:hover, .price-card:hover, .review-card:hover, .casestudy-card:hover, .career-card:hover, .info-card:hover, .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px var(--shadow-medium);
}

.service-card img, .casestudy-card img, .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.72rem;
}

.service-card ul, .price-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-card ul li, .price-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before, .price-card ul li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-card ul li:last-child, .price-card ul li:last-child {
    border-bottom: none;
}

.price-card.featured {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
    position: relative;
    z-index: 2;
}

.price-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
    text-align: center;
}

.price-card.featured .price {
    color: white;
}

/* Team Section */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.1);
}

/* Reviews Section */
.review-card {
    background: var(--gradient-accent);
    color: white;
    position: relative;
    min-height: 200px;
}

.review-card::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    color: rgba(255, 255, 255, 0.3);
    font-family: serif;
}

.review-card p {
    padding-top: 2rem;
    color: white;
}

.review-card h5 {
    color: white;
    text-align: right;
    margin-top: 1rem;
    font-weight: 600;
}

/* Process Section */
.process-step {
    text-align: center;
    margin-bottom: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.56rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 2rem;
}

.timeline-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--bg-white);
    z-index: 2;
}

/* Contact Form */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(72, 69, 225, 0.10);
}

.contact-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.contact-form label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.contact-info {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.65rem;
}

.contact-item i {
    font-size: 1.51rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 25px;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
    color: white;
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(104, 96, 246, 0.30);
}

/* Gallery */
.gallery-section img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.gallery-section img:hover {
    transform: scale(1.05);
}

.gallery-section .col-lg-3,
.gallery-section .col-md-4,
.gallery-section .col-sm-6 {
    padding: 0.5rem;
}

/* FAQ */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.accordion-button {
    background: var(--bg-white);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(112, 118, 249, 0.30);
}

.accordion-body {
    padding: 1.5rem;
    background: var(--bg-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer h3, .footer h4 {
    color: white;
    margin-bottom: 1.64rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.69rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--primary-light);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 1rem 0;
    background: var(--bg-light);
    margin-top: 80px;
}

.breadcrumb-icon {
    width: 30px;
    height: 30px;
    opacity: 0.6;
}

/* Space Container */
.space-container {
    min-height: 70vh;
    padding: 3rem 0;
    background: var(--bg-light);
    margin-top: 80px;
}

/* Feature Items */
.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow-light);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Page Sections */
.page-section {
    padding: 4rem 0;
}

.page-section:nth-child(even) {
    background: var(--bg-light);
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form validation styles */
.is-invalid {
    border-color: #e62541;
}

.is-valid {
    border-color: #1a9442;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.54rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 40px;
        margin-right: 0;
        padding-left: 1rem;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item::before {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .breadcrumb-nav {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
        background: none;
        color: black;
        min-height: auto;
        padding: 1rem 0;
    }
    
    .hero-section h1, .hero-section h2, .hero-section p {
        color: black;
    }
    
    .service-card, .price-card, .review-card, .casestudy-card, .career-card, .info-card, .blog-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #b5b5b5;
        margin-bottom: 1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0006ff;
        --text-dark: #000000;
        --text-light: #000000;
        --border-color: #000000;
    }
}



/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
