/* EventCraft - Main CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties - Color Palette */
:root {
    --primary-color: #7d75ff;
    --secondary-color: #e051af;
    --accent-color: #0ca963;
    --neutral-color: #7c8b97;
    --background-color: #f8fafc;
    
    /* Light and dark shades */
    --primary-light: #b4c9fd;
    --primary-dark: #5759f5;
    --secondary-light: #ffa7e0;
    --secondary-dark: #bb0562;
    --accent-light: #5aef9d;
    --accent-dark: #058d5c;
    --neutral-light: #8598ba;
    --neutral-dark: #4d637d;
    --background-light: #ffffff;
    --background-dark: #deedfe;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-size-base: 1rem;
    --font-size-small: 0.875rem;
    --font-size-large: 1.125rem;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--neutral-dark);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Typography - Conservative Sizes */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-dark);
}

h1 { font-size: 2.31rem; }
h2 { font-size: 1.94rem; }
h3 { font-size: 1.53rem; }
h4 { font-size: 1.32rem; }
h5 { font-size: 1.21rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
}

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

/* Header & Navigation - Conservative navbar-brand size */
.navbar {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-color) 100%);
    backdrop-filter: blur(12px);
    box-shadow: 0 7px 26px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-sm) 0;
    transition: var(--transition-base);
}

.navbar-brand {
    font-size: 1.48rem !important; /* Conservative size */
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--neutral-dark) !important;
    font-weight: 500;
    margin: 0 var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm) !important;
    border-radius: 0.5rem;
    transition: var(--transition-base);
}

.navbar-nav .nav-link:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section - Conservative h1 size */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 100px 0 var(--spacing-xl);
}

.hero-content h1 {
    padding-top: 50px !important;
    font-size: 2.79rem !important; /* Conservative size */
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: white;
}

.hero-content h2 {
    font-size: 1.37rem !important; /* Conservative size */
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.hero-content p {
    font-size: var(--font-size-base) !important; /* Conservative size */
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.8);
}

.hero-image img {
    width: 100%;
    height: auto;
    min-height: 300px;
    max-height: 500px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.2);
}

/* Hero Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape-1 {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--secondary-light), var(--secondary-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-24px) rotate(180deg); }
}

/* Section Styles */
.page-section {
    padding: var(--spacing-xl) 0;
}

.page-section:nth-child(even) {
    background-color: var(--background-light);
}

/* Cards */
.feature-card, .service-card, .element-card, .package-card, .timeline-card, .venue-card, .testimonial-card, .review-card, .info-card, .case-card, .career-card, .blog-card {
    background: var(--background-light);
    border-radius: 1rem;
    padding: var(--spacing-lg);
    box-shadow: 0 7px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover, .service-card:hover, .element-card:hover, .package-card:hover, .timeline-card:hover, .venue-card:hover, .testimonial-card:hover, .review-card:hover, .info-card:hover, .case-card:hover, .career-card:hover, .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 21px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon, .info-icon, .contact-icon {
    font-size: 2.54rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* Service Cards with Image Resolution Specifications */
.service-image, .case-image, .venue-image, .blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: var(--spacing-md);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ensuring proper image positioning regardless of source image size */
    min-width: 250px;
    max-width: 100%;
}

.service-price {
    font-size: 1.56rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: var(--spacing-md);
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.service-content li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--background-color);
}

.service-content li:before {
    content: "âœ“";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: var(--spacing-xs);
}

/* Price Cards */
.price-card {
    background: var(--background-light);
    border-radius: 1rem;
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
    height: 100%;
    border: 2px solid transparent;
}

.price-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

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

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price {
    font-size: 2.54rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: var(--spacing-md) 0;
}

/* Team Section with Image Resolution */
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-md);
    border: 4px solid var(--primary-light);
    /* Ensuring proper positioning for any image size */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-member {
    text-align: center;
    padding: var(--spacing-md);
}

/* Reviews & Testimonials */
.review-stars, .testimonial-stars {
    color: #f5c82d;
    margin-bottom: var(--spacing-sm);
}

/* Timeline */
.timeline {
    position: relative;
    padding: var(--spacing-lg) 0;
}

.timeline-item {
    margin-bottom: var(--spacing-xl);
    padding-left: var(--spacing-xl);
    position: relative;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 0.5rem;
    font-weight: 600;
}

.step-number {
    position: absolute;
    left: -2rem;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* FAQ Section */
.accordion-button {
    background-color: var(--background-light);
    border: none;
    padding: var(--spacing-md);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Gallery with Image Resolution */
.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-base);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

/* Contact Form */
.contact-form {
    background: var(--background-light);
    padding: var(--spacing-xl);
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid var(--background-color);
    border-radius: 0.5rem;
    padding: var(--spacing-sm);
    transition: var(--transition-base);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(111, 108, 255, 0.25);
}

/* Buttons */
.btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 0.5rem;
    font-weight: 500;
    transition: var(--transition-base);
    border: none;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(97, 113, 233, 0.30);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--neutral-dark) 0%, var(--neutral-color) 100%);
    color: white;
    margin-top: var(--spacing-xl);
}

.footer h3, .footer h4 {
    color: white;
    margin-bottom: var(--spacing-md);
}

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: white;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: var(--spacing-lg) 0;
}

/* Breadcrumb */
.breadcrumb-section {
    background-color: var(--background-color);
    padding: var(--spacing-md) 0;
    margin-top: 80px;
}

.breadcrumb-image {
    height: 30px;
    width: auto;
    object-fit: contain;
}

/* Space page */
#space {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--background-color), var(--background-light));
    margin-top: 80px;
}

/* Blog */
.blog-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.blog-link:hover {
    color: var(--primary-dark);
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shadow-custom {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in {
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition-slow);
}

.slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Print styles */
@media print {
    .navbar, .hero-shapes, .btn, .contact-form {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #1a0e91;
        --secondary-color: #6c005c;
        --accent-color: #1f900e;
        --neutral-color: #000000;
        --background-color: #ffffff;
    }
}



/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

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

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
