/* Color Variables */
:root {
    --primary-color: #ff6b6b;
    --primary-light: #ff8e8e;
    --primary-dark: #e55555;
    --secondary-color: #4ecdc4;
    --secondary-light: #7dd3cc;
    --secondary-dark: #3ba89f;
    --accent-color: #45b7d1;
    --accent-light: #6bc5d8;
    --accent-dark: #3a9bc1;
    --success-color: #96ceb4;
    --success-light: #b8dcc6;
    --success-dark: #7fb89a;
    --warning-color: #feca57;
    --warning-light: #fed976;
    --warning-dark: #e6b84d;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Custom Bootstrap Primary Color Override */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Header Styles */
#header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(255, 255, 255, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    z-index: -1;
}

.shape-1 {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.1;
}

.shape-2 {
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Card Enhancements */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Process Steps */
.process-step .step-number,
.timeline-item .timeline-icon {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Team Member Images */
#team img {
    transition: transform 0.3s ease;
}

#team img:hover {
    transform: scale(1.05);
}

/* Gallery Hover Effects */
#gallery img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Form Styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer Styling */
#footer {
    background: var(--dark-bg) !important;
}

#footer a:hover {
    color: var(--primary-color) !important;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contest Category Specific Styles */
.category-item,
.contest-type,
.criteria-item,
.prize-item,
.rule-item,
.photo-basic,
.equipment-tip,
.pose-technique,
.mistake-item,
.pro-tip {
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.category-item:hover,
.contest-type:hover,
.criteria-item:hover,
.prize-item:hover,
.rule-item:hover,
.photo-basic:hover,
.equipment-tip:hover,
.pose-technique:hover,
.pro-tip:hover {
    background-color: rgba(255, 107, 107, 0.05);
}

.mistake-item:hover {
    background-color: rgba(220, 53, 69, 0.05);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .h2 {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .card:hover {
        transform: none;
    }
    
    #team img:hover,
    #gallery img:hover {
        transform: none;
        filter: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    #footer {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
} 


/* 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;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.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;
    }
}
