/*
Theme Name: Tecity Modern
Theme URI: https://tecity.com
Author: Tecity Development Team
Author URI: https://tecity.com
Description: A modern, dark one-page WordPress theme for Tecity - a cutting-edge tech solutions company based in Belize. Features a compelling hero section and all business information on a single page.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tecity-modern
Tags: one-page, dark-mode, business, modern, responsive, tech, custom-colors
*/

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

:root {
    --bg-primary: #121212;
    --text-primary: #E0E0E0;
    --text-secondary: #B0B0B0;
    --border-color: #444444;
    --accent-color: #888888;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #444444 0%, #888888 100%);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.6);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--accent-color);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

/* Header/Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    height: 100px;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    height: 100px;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.site-logo a {
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.site-logo img,
.custom-logo {
    max-height: 70px;
    max-width: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section - Dynamic Background (controlled via WordPress Customizer) */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    /* Background styles are dynamically added via PHP based on customizer selection */
    overflow: hidden;
    z-index: 1;
    padding: 140px 0 80px;
}

/* Base pseudo-elements for background effects */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 1;
    pointer-events: none;
}

.hero-section::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Common background animations - available for all background types */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatElements {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(30px, -30px) rotate(90deg) scale(1.1); }
    50% { transform: translate(-20px, 20px) rotate(180deg) scale(0.9); }
    75% { transform: translate(-30px, -10px) rotate(270deg) scale(1.05); }
}

@keyframes meshMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes particles {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50px, -50px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Content overlay effects - subtle enhancement */
.hero-section .hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(136, 136, 136, 0.02) 1px, transparent 2px),
        radial-gradient(circle at 85% 75%, rgba(136, 136, 136, 0.03) 1px, transparent 2px);
    background-size: 200px 200px, 250px 250px;
    animation: particles 35s linear infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.hero-text {
    position: relative;
    z-index: 15;
}

.hero-text h1 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 16;
    text-shadow: 0 0 30px rgba(136, 136, 136, 0.3);
}

.hero-text .tagline {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-text .description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 16;
}

/* Enhanced button effects for hero section */
.hero-section .btn-primary {
    box-shadow: 0 8px 32px rgba(136, 136, 136, 0.2);
}

.hero-section .btn-primary:hover {
    box-shadow: 0 12px 40px rgba(136, 136, 136, 0.3);
    transform: translateY(-3px) scale(1.02);
}

.hero-section .btn-outline {
    backdrop-filter: blur(10px);
    background: rgba(68, 68, 68, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-section .btn-outline:hover {
    box-shadow: 0 12px 40px rgba(136, 136, 136, 0.2);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 15;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 16;
}

.tech-item {
    background: rgba(68, 68, 68, 0.15);
    border: 1px solid rgba(136, 136, 136, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.tech-item:hover {
    background: rgba(136, 136, 136, 0.25);
    border-color: rgba(136, 136, 136, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(136, 136, 136, 0.1);
}

.tech-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.tech-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(68, 68, 68, 0.05) 0%, rgba(18, 18, 18, 1) 100%);
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(68, 68, 68, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    background: rgba(68, 68, 68, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

/* Font Awesome icon fallbacks and fixes */
.service-icon i,
.contact-method .icon i,
.social-links a i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome", "Font Awesome 5 Free", "Font Awesome 5 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    line-height: 1 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Ensure icons are properly displayed */
.service-icon i:before,
.contact-method .icon i:before,
.social-links a i:before {
    font-family: inherit !important;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: rgba(68, 68, 68, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(68, 68, 68, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(68, 68, 68, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(68, 68, 68, 0.1);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(68, 68, 68, 0.2);
}

.contact-method .icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-method .details h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.contact-method .details p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-method .details a {
    color: var(--accent-color);
}

/* Footer */
.site-footer {
    background: rgba(68, 68, 68, 0.05);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(68, 68, 68, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .main-nav li {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .main-nav a {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.tech-item:nth-child(odd) {
    animation: float 6s ease-in-out infinite;
}

.tech-item:nth-child(even) {
    animation: float 6s ease-in-out infinite reverse;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(68, 68, 68, 0.1);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(68, 68, 68, 0.2);
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.2;
    white-space: nowrap;
}

/* Ensure proper display of 24/7 support stat - no animation */
.stat-item h3.stat-support {
    font-feature-settings: "kern" 1, "liga" 1;
    font-variant-numeric: tabular-nums;
    text-rendering: optimizeLegibility;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Message Styles */
.contact-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.contact-message.error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.contact-message p {
    margin: 0;
    font-weight: 500;
}

/* Business Hours Styling */
.business-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(68, 68, 68, 0.1);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.business-hours h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.business-hours p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.business-hours strong {
    color: var(--text-primary);
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .business-hours p {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Members Section */
.team-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.team-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.team-member.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.team-member-card {
    background: rgba(68, 68, 68, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    background: rgba(68, 68, 68, 0.15);
    border-color: rgba(136, 136, 136, 0.3);
}

.team-member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    transition: var(--transition);
}

.team-member-card:hover .team-member-image {
    border-color: var(--accent-color);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-member-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(136, 136, 136, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 2.5rem;
}

.team-member-name {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-member-position {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-member-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.team-member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.skill-tag {
    background: rgba(136, 136, 136, 0.2);
    color: var(--text-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.team-member-experience {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.team-member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-member-social .social-link {
    width: 40px;
    height: 40px;
    background: rgba(68, 68, 68, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
}

.team-member-social .social-link:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* No Team Message */
.no-team-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(68, 68, 68, 0.05);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.no-team-message h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.no-team-message p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Team Section Responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .team-member-image {
        width: 100px;
        height: 100px;
    }
    
    .team-member-card {
        padding: 1.5rem;
    }
    
    .team-title {
        font-size: 1.8rem;
    }
    
    .team-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member-skills {
        flex-direction: column;
        align-items: center;
    }
    
    .team-section {
        margin-top: 3rem;
        padding-top: 2rem;
    }
}

/* Portfolio Section */
.portfolio-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(136, 136, 136, 0.05) 0%, rgba(18, 18, 18, 1) 100%);
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.portfolio-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
}

.portfolio-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.portfolio-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.portfolio-card {
    background: rgba(68, 68, 68, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    margin: 0 1rem;
}

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

.portfolio-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
    display: block;
    z-index: 2;
    border-radius: 0;
    max-width: 100%;
    max-height: 100%;
}

.portfolio-image::before {
    content: "🖼️";
    font-size: 4rem;
    color: var(--text-secondary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-image:not(:has(img))::before {
    opacity: 1;
}

/* WordPress Featured Image Improvements */
.portfolio-image .wp-post-image,
.portfolio-image .attachment-large,
.portfolio-image .attachment-medium_large {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 0 !important;
    max-width: none !important;
    max-height: none !important;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

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

.portfolio-info {
    text-align: center;
    padding: 2rem;
}

.portfolio-info h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.portfolio-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.portfolio-tech span {
    background: var(--accent-color);
    color: var(--bg-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.portfolio-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.portfolio-prev,
.portfolio-next {
    background: rgba(136, 136, 136, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.portfolio-prev:hover,
.portfolio-next:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    transform: scale(1.1);
}

.portfolio-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--accent-color);
    transform: scale(1.2);
}

.portfolio-view-all {
    text-align: center;
    margin-top: 3rem;
}

/* Portfolio Page Styles */
.portfolio-page .portfolio-hero {
    padding: 140px 0 80px;
    background: var(--bg-primary);
    text-align: center;
}

.portfolio-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-hero .hero-subtitle {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.portfolio-hero .hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.portfolio-filters {
    padding: 2rem 0;
    background: rgba(68, 68, 68, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(68, 68, 68, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: var(--bg-primary);
    border-color: var(--accent-color);
}

.portfolio-grid-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    transition: var(--transition);
}

/* Portfolio Grid Specific Image Sizing */
.portfolio-grid .portfolio-image {
    height: 300px;
    background: var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-grid .portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
    display: block;
    border-radius: 0;
    max-width: 100%;
    max-height: 100%;
}

.portfolio-grid .portfolio-card {
    margin: 0;
    background: rgba(68, 68, 68, 0.1);
}

.portfolio-item.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.portfolio-load-more {
    text-align: center;
    margin-top: 2rem;
}

.portfolio-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(136, 136, 136, 0.1) 0%, rgba(68, 68, 68, 0.05) 100%);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-content p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Portfolio Responsive */
@media (max-width: 768px) {
    .portfolio-controls {
        padding: 0 0.5rem;
    }
    
    .portfolio-prev,
    .portfolio-next {
        width: 40px;
        height: 40px;
    }
    
    .portfolio-image {
        height: 280px;
    }
    
    .portfolio-image img {
        object-fit: contain;
        object-position: center;
    }
    
    .portfolio-grid .portfolio-image {
        height: 250px;
    }
    
    .portfolio-grid .portfolio-image img {
        object-fit: contain;
        object-position: center;
    }
    
    .portfolio-info {
        padding: 1rem;
    }
    
    .portfolio-info h3 {
        font-size: 1.2rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .portfolio-card {
        margin: 0 0.5rem;
    }
    
    .portfolio-image {
        height: 240px;
    }
    
    .portfolio-grid .portfolio-image {
        height: 220px;
    }
    
    .portfolio-image img,
    .portfolio-grid .portfolio-image img {
        object-fit: contain;
        object-position: center;
        width: 100%;
        height: 100%;
    }
    
    .portfolio-tech {
        flex-direction: column;
        align-items: center;
    }
}

/* Form Error States */
.form-group input.error,
.form-group textarea.error {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
}

/* Scrolled Header */
.site-header.scrolled {
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow);
}

/* Revealed Animation State */
.animate-in.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Additional Animations */
.service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-item {
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.stat-item.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Disabled Button State */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #ffffff;
        --border-color: #ffffff;
        --accent-color: #ffffff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .tech-item {
        animation: none !important;
    }
    
    .hero-section {
        animation: none !important;
        background: var(--bg-primary) !important;
    }
    
    .hero-section::before,
    .hero-section::after,
    .hero-section .hero-content::before {
        animation: none !important;
    }
}

/* No Portfolio Message */
.no-portfolio-message {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--divider-color);
    border-radius: 10px;
    margin: 2rem 0;
    grid-column: 1 / -1;
}

.no-portfolio-message h3 {
    color: var(--primary-text);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.no-portfolio-message p {
    color: var(--secondary-text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.no-portfolio-message p:last-child {
    color: var(--accent-color);
    font-weight: 600;
}

/* Admin Helper Styles */
.portfolio-admin-notice {
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    margin: 1rem 0;
    font-weight: 500;
} 