/* Color Palette - Centralized Theme Colors */
:root {
    /* Primary Brand Colors */
    --color-primary: #4fc3f7;           /* Light Blue - Main brand color */
    --color-primary-dark: #0288d1;      /* Darker blue for text/accents */
    --color-primary-light: #b2ebf2;     /* Very light blue for backgrounds */
    --color-primary-pale: #e3f6fd;      /* Pale blue for subtle backgrounds */

    /* Neutral Colors */
    --color-dark: #1f2937;              /* Dark gray for text */
    --color-dark-bg: #181818;           /* Very dark background */
    --color-medium-dark: #23272a;       /* Medium dark for cards */
    --color-white: #ffffff;             /* Pure white */
    --color-gray-light: #f9fafb;        /* Light gray background */
    --color-gray-medium: #6b7280;       /* Medium gray for secondary text */

    /* Semantic Colors */
    --color-text-primary: #1f2937;      /* Primary text color */
    --color-text-secondary: #6b7280;    /* Secondary text color */
    --color-background: #f9fafb;        /* Main background color */

    /* Shadow Colors */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(79, 195, 247, 0.3);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom styles */
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.font-opensans {
    font-family: 'Open Sans', sans-serif;
}

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

.slide-in {
    animation: slideIn 0.5s ease forwards;
}

/* Service card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--color-primary);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Custom button styles */
.btn-primary {
    background: var(--color-primary);
    color: var(--color-dark-bg);
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
}

.btn-secondary {
    background: var(--color-primary-pale);
    color: var(--color-primary-dark);
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
}

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

/* Form styles */
.form-input {
    @apply mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-red-500 focus:ring-red-500;
}

.form-label {
    @apply block text-sm font-medium text-gray-700;
    color: var(--color-primary-dark);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        @apply px-4;
    }
}

/* Geometric/Low-poly background for header */
.header-geo-bg {
    background: linear-gradient(135deg, var(--color-dark-bg) 60%, var(--color-primary) 100%);
    background-size: cover;
    background-repeat: no-repeat;
}

/* Card style for sections */
.card {
    background: var(--color-dark-bg);
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-left: 6px solid var(--color-primary);
    color: var(--color-white);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Blue accent text */
.text-blue-accent {
    color: var(--color-primary);
}

/* Update nav and footer links */
nav a, footer a {
    transition: color 0.2s;
}

/* Remove the !important from hover state */
nav a:hover, footer a:hover {
    color: var(--color-primary);
}

/* Add specific active state styles */
nav a.active {
    color: var(--color-primary) !important;
    font-weight: 600;
}

/* Ensure active state is not overridden by hover */
nav a.active:hover {
    color: var(--color-primary) !important;
}

/* Update service card for dark theme */
body.dark .service-card {
    background: var(--color-medium-dark);
    color: var(--color-white);
    border-left: 4px solid var(--color-primary);
}
.service-card h3 {
    color: var(--color-dark);
}
.service-card ul li span {
    color: var(--color-dark);
}

/* Headings and highlights - mostly dark with selective blue accents */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-dark);
}

.highlight {
    color: var(--color-primary);
}

/* Form focus and accent */
input:focus, textarea:focus, select:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 1px var(--color-primary) !important;
}

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Custom Utility Classes */
.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

/* Hero Section Styles */
.hero-gradient {
    background: linear-gradient(135deg, var(--color-dark-bg) 0%, var(--color-primary-dark) 100%);
}

/* Testimonial Styles */
.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Contact Form Styles */
.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
}

/* Custom Button Styles */
.btn-primary {
    @apply bg-blue-600 text-white px-6 py-3 rounded-md font-bold font-montserrat transition-all duration-200;
}

.btn-primary:hover {
    @apply bg-blue-700 transform -translate-y-0.5 shadow-lg;
}

/* Image Hover Effects */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.05);
}

/* Custom Section Spacing */
.section-spacing {
    @apply py-20 md:py-32 px-6 md:px-12;
}

/* Add extra top margin for sections after hero */
.section-spacing.after-hero {
    @apply mt-16 md:mt-24;
}

/* Extra spacing for index page sections */
.section-spacing.extra-spacing {
    @apply mt-24 md:mt-32;
}

/* Reduced spacing for about page */
.about-page .section-spacing {
    @apply py-10 md:py-16 px-6 md:px-12;
}

/* Custom Container Widths */
.content-width {
    @apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8;
}

/* Custom Grid Layouts */
.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Custom Text Styles */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Border Styles */
.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) border-box;
}

/* Floating Navbar Styles */
.floating-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
}

.nav-item-btn {
    background: var(--color-white);
    color: var(--color-dark);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.nav-item-btn:hover {
    background: var(--color-primary);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-item-btn.active {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    font-weight: 600;
}

.logo-btn {
    background: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.logo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-btn-white {
    background: var(--color-white);
    color: var(--color-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

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

.mobile-menu-btn {
    background: var(--color-white);
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

/* Bubble Separator - Section divider */
.bubble-separator {
    display: inline-block;
    width: 4rem;
    height: 1rem;
    border-radius: 9999px;
    background-color: var(--color-primary);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* Utility class for primary color */
.bg-primary {
    background-color: var(--color-primary);
}

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

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

/* Icon circle backgrounds */
.icon-circle {
    width: 4rem;
    height: 4rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
}

/* Gallery Styles */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.gallery-viewer {
    position: relative;
    background: var(--color-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.5rem;
    background: var(--color-gray-light);
}

.gallery-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.gallery-nav-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-md);
}

.gallery-nav-btn.prev {
    left: 1rem;
}

.gallery-nav-btn.next {
    right: 1rem;
}

.gallery-counter {
    text-align: center;
    margin-top: 1rem;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.gallery-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.gallery-thumbnail:hover {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .gallery-image-wrapper {
        height: 400px;
    }

    .gallery-nav-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
} 