/* Custom Variables */
:root {
    --phoenix-green: #084302;
    --phoenix-green-light: #0a5203;
    --phoenix-green-lighter: #0c6204;
    --phoenix-accent: #ff6b6b;
    --phoenix-accent-light: #ff8787;
    --phoenix-yellow: #ffd93d;
    --phoenix-yellow-light: #ffe066;
    --phoenix-black: #1a1a1a;
    --phoenix-white: #ffffff;
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Custom Colors */
.text-phoenix-green {
    color: var(--phoenix-green);
}

.bg-phoenix-green {
    background-color: var(--phoenix-green);
}

.text-phoenix-accent {
    color: var(--phoenix-accent);
}

.bg-phoenix-accent {
    background-color: var(--phoenix-accent);
}

.text-phoenix-yellow {
    color: var(--phoenix-yellow);
}

.bg-phoenix-yellow {
    background-color: var(--phoenix-yellow);
}

/* Navigation */
.nav-link {
    @apply text-gray-600 dark:text-gray-300 hover:text-phoenix-accent dark:hover:text-phoenix-accent transition-colors;
}

/* Logo Animation */
.phoenix-logo-text {
    position: relative;
    overflow: hidden;
}

.phoenix-logo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--phoenix-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.phoenix-logo-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Buttons */
.btn-primary {
    @apply bg-phoenix-green text-white px-4 sm:px-6 py-2 sm:py-3 rounded-lg hover:bg-phoenix-green-light transition-colors text-sm sm:text-base;
}

.btn-secondary {
    @apply bg-phoenix-accent text-white border-2 border-phoenix-accent px-4 sm:px-6 py-2 sm:py-3 rounded-lg hover:bg-phoenix-accent-light hover:text-white transition-colors text-sm sm:text-base;
}

/* Preloader */
.phoenix-logo {
    width: 50px;
    height: 50px;
    background: url('../assets/images/phoenix-logo.svg') no-repeat center;
    background-size: contain;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Service Cards */
.service-card {
    @apply bg-white dark:bg-gray-800 rounded-lg p-4 sm:p-6 shadow-lg hover:shadow-xl transition-all duration-300;
    border: 1px solid transparent;
    min-width: 280px;
    max-width: 280px;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--phoenix-accent);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.2);
}

/* Hide Scrollbar */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

/* Portfolio Items */
.portfolio-item {
    @apply relative overflow-hidden rounded-lg;
}

.portfolio-item img {
    @apply w-full h-full object-cover transition-transform duration-500;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    @apply absolute inset-0 bg-phoenix-green bg-opacity-50 flex items-center justify-center opacity-0 transition-opacity duration-300;
}

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

/* Testimonials */
.testimonial-card {
    @apply bg-white dark:bg-gray-800 rounded-lg p-4 sm:p-6 shadow-lg;
    min-width: 300px;
    max-width: 300px;
}

.testimonial-card .stars {
    @apply text-phoenix-yellow;
}

/* Testimonial Images */
.testimonial-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid var(--phoenix-accent);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
input, textarea {
    @apply bg-white dark:bg-gray-700 border-gray-300 dark:border-gray-600;
}

input:focus, textarea:focus {
    @apply border-phoenix-accent ring-phoenix-accent;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    @apply p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors;
}

/* WhatsApp Button */
.whatsapp-button {
    @apply fixed bottom-4 sm:bottom-6 right-4 sm:right-6 bg-phoenix-accent text-white p-3 sm:p-4 rounded-full shadow-lg hover:bg-phoenix-accent-light transition-colors;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        @apply px-4;
    }
    
    h1 {
        @apply text-4xl;
    }
    
    h2 {
        @apply text-3xl;
    }
}

/* Glassmorphism */
.glass {
    @apply bg-white/80 dark:bg-gray-900/80 backdrop-blur-md;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    @apply bg-gray-100 dark:bg-gray-800;
}

::-webkit-scrollbar-thumb {
    @apply bg-phoenix-accent rounded-full;
}

/* Loading Animation */
.loading {
    @apply animate-spin rounded-full h-8 w-8 border-4 border-phoenix-accent border-t-transparent;
}

/* Timeline */
.timeline {
    @apply relative;
}

.timeline::before {
    content: '';
    @apply absolute left-0 top-0 h-full w-1 bg-phoenix-accent;
}

.timeline-item {
    @apply relative pl-8 mb-8;
}

.timeline-item::before {
    content: '';
    @apply absolute left-0 top-0 w-4 h-4 rounded-full bg-phoenix-accent;
    transform: translateX(-50%);
}

/* Service Tabs */
.service-tab {
    @apply px-3 sm:px-4 py-2 text-sm sm:text-base text-gray-600 dark:text-gray-300 hover:text-phoenix-accent dark:hover:text-phoenix-accent transition-colors;
}

.service-tab.active {
    @apply bg-phoenix-accent text-white;
}

/* Portfolio Filter */
.portfolio-filter {
    @apply flex flex-wrap justify-center gap-2 sm:gap-4 mb-8;
}

.filter-button {
    @apply px-3 sm:px-4 py-2 rounded-lg text-sm sm:text-base text-gray-600 dark:text-gray-300 hover:bg-phoenix-accent hover:text-white transition-colors;
}

.filter-button.active {
    @apply bg-phoenix-accent text-white;
}

/* Social Icons */
.social-icon {
    @apply transition-transform duration-300;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: var(--phoenix-accent);
}

/* Mobile Menu */
.mobile-menu {
    @apply fixed inset-0 bg-white dark:bg-gray-900 z-50 transform translate-x-full transition-transform duration-300;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Particles.js */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Parallax Effect */
.parallax {
    @apply relative overflow-hidden;
}

.parallax-bg {
    @apply absolute inset-0 w-full h-full;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

/* Neon Effects */
.neon-border {
    box-shadow: 0 0 5px var(--phoenix-green),
                0 0 10px var(--phoenix-green),
                0 0 15px var(--phoenix-green);
}

/* Flip Cards */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Responsive Typography */
h1 {
    @apply text-4xl sm:text-5xl md:text-7xl font-bold;
}

h2 {
    @apply text-3xl sm:text-4xl font-bold;
}

h3 {
    @apply text-xl sm:text-2xl font-semibold;
}

p {
    @apply text-sm sm:text-base;
}

/* Responsive Spacing */
.section-padding {
    @apply py-12 sm:py-16 md:py-20;
}

.container-padding {
    @apply px-4 sm:px-6 md:px-8;
}

/* Responsive Grid */
.responsive-grid {
    @apply grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4 sm:gap-6 md:gap-8;
}

/* Responsive Images */
.responsive-image {
    @apply w-full h-auto object-cover;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-link {
        @apply text-lg;
    }
    
    .mobile-menu {
        @apply transform translate-x-full;
    }
    
    .mobile-menu.active {
        @apply transform translate-x-0;
    }
}

/* Responsive Cards */
@media (max-width: 640px) {
    .service-card, .testimonial-card {
        min-width: 260px;
        max-width: 260px;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer .grid {
        @apply grid-cols-1 sm:grid-cols-2 gap-6;
    }
}

/* Responsive Forms */
@media (max-width: 640px) {
    input, textarea {
        @apply text-sm;
    }
    
    .form-group {
        @apply mb-4;
    }
}

/* Responsive Buttons */
@media (max-width: 640px) {
    .btn-primary, .btn-secondary {
        @apply w-full;
    }
}

/* Responsive Sections */
@media (max-width: 768px) {
    .section-padding {
        @apply py-8;
    }
    
    .container-padding {
        @apply px-4;
    }
}

/* Responsive Hero Section */
@media (max-width: 640px) {
    #hero h1 {
        @apply text-3xl;
    }
    
    #hero p {
        @apply text-lg;
    }
}

/* Responsive About Section */
@media (max-width: 768px) {
    .timeline-item {
        @apply pl-6;
    }
    
    .timeline-item::before {
        @apply w-3 h-3;
    }
}

/* Responsive Services Section */
@media (max-width: 640px) {
    .service-tab {
        @apply px-2 py-1 text-sm;
    }
}

/* Responsive Portfolio Section */
@media (max-width: 768px) {
    .portfolio-filter {
        @apply flex-wrap;
    }
    
    .filter-button {
        @apply text-sm;
    }
}

/* Responsive Testimonials Section */
@media (max-width: 640px) {
    .testimonial-card {
        min-width: 260px;
        max-width: 260px;
    }
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    .contact-form {
        @apply space-y-4;
    }
    
    .contact-info {
        @apply mt-8;
    }
}

/* About Page Specific Styles */
.about-hero {
    background: linear-gradient(135deg, var(--phoenix-green) 0%, var(--phoenix-black) 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/about-bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-story-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-story-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-story-image:hover img {
    transform: scale(1.02);
}

.team-member-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
}

/* Team Member Images */
.team-member-image {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--phoenix-accent);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.team-member-card:hover .team-member-image {
    transform: scale(1.05);
}

.team-member-role {
    color: var(--phoenix-accent);
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 1rem;
}

.mission-card, .values-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card:hover, .values-card:hover {
    transform: translateY(-5px);
}

.about-cta {
    background: linear-gradient(135deg, var(--phoenix-green) 0%, var(--phoenix-black) 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/cta-bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

/* Dark Mode Support */
.dark .about-hero,
.dark .about-cta {
    background: linear-gradient(135deg, var(--phoenix-green) 0%, #000000 100%);
}

.dark .team-member-card,
.dark .mission-card,
.dark .values-card {
    background: #1a1a1a;
    color: white;
}

.dark .team-member-role {
    background: rgba(255, 107, 107, 0.2);
}

/* Responsive About Page Styles */
@media (max-width: 768px) {
    .about-story-image {
        margin-top: 2rem;
    }
    
    .team-member-card {
        margin-bottom: 2rem;
    }
    
    .mission-card, .values-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .team-member-image {
        width: 200px;
        height: 200px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-image {
        width: 180px;
        height: 180px;
    }

    .team-member-image {
        width: 250px;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .testimonial-image {
        width: 150px;
        height: 150px;
    }

    .team-member-image {
        width: 200px;
        height: 300px;
    }
}

/* Services Page Styles */
.services-hero {
    background: linear-gradient(135deg, var(--phoenix-green) 0%, var(--phoenix-black) 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/services-bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateY(5px);
}

/* Service Categories */
.service-tab {
    @apply px-3 sm:px-4 py-2 text-sm sm:text-base text-gray-600 dark:text-gray-300 hover:text-phoenix-accent dark:hover:text-phoenix-accent transition-colors;
}

.service-tab.active {
    @apply bg-phoenix-accent text-white;
}

.service-category {
    @apply hidden;
    transition: opacity 0.3s ease;
}

.service-category.active {
    @apply block;
    opacity: 1;
}

/* Service Cards */
.service-card {
    @apply bg-white dark:bg-gray-800 rounded-lg p-6 shadow-lg hover:shadow-xl transition-all duration-300;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--phoenix-accent);
}

.service-icon {
    @apply mb-4;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.learn-more-btn {
    @apply bg-phoenix-accent text-white px-4 py-2 rounded-lg hover:bg-phoenix-accent-light transition-colors;
}

/* Feature Cards */
.feature-card {
    @apply bg-white dark:bg-gray-800 rounded-lg p-6 shadow-lg hover:shadow-xl transition-all duration-300;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--phoenix-accent);
}

.feature-icon {
    @apply mb-4;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-hero {
        padding: 6rem 0;
    }
    
    .service-card, .feature-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-icon, .feature-icon {
        width: 40px;
        height: 40px;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--phoenix-green) 0%, var(--phoenix-black) 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/contact-bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

/* Contact Form Styles */
.contact-form {
    @apply bg-white dark:bg-gray-800 rounded-lg shadow-lg p-8;
}

.contact-form input,
.contact-form textarea {
    @apply w-full px-4 py-3 rounded-lg border border-gray-300 dark:border-gray-600 focus:border-phoenix-accent focus:ring-phoenix-accent bg-white dark:bg-gray-700 text-gray-900 dark:text-white transition-all duration-300;
}

.contact-form input:focus,
.contact-form textarea:focus {
    @apply ring-2 ring-phoenix-accent/20;
}

/* Contact Info Cards */
.contact-info-card {
    @apply bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 hover:shadow-xl transition-all duration-300;
    border: 1px solid transparent;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--phoenix-accent);
}

.contact-icon {
    @apply mb-4;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

/* WhatsApp Button Tooltip */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

[data-tooltip]:hover:before {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 0.5rem);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0;
    }
    
    .contact-info-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
} 