/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Breadcrumb Styles */
.breadcrumbs {
    background: #f8f9fa;
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumbs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumbs span {
    color: #666;
    margin: 0 8px;
}

.breadcrumbs .current {
    color: #333;
    font-weight: 500;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white; 
    padding: 100px 20px; 
    text-align: center; 
    position: relative;
}

header::after { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: rgba(0,0,0,0.3); 
    z-index: 0; 
}

header h1, header p { 
    position: relative; 
    z-index: 1; 
}

header h1 { 
    font-size: 3em; 
    margin-bottom: 10px; 
}

header p { 
    font-size: 1.2em; 
    opacity: 0.85; 
}

/* Navigation Styles */
nav {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #0a0a23;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 10px 5px;
}

nav a:hover {
    color: #007bff;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    cursor: pointer;
    display: inline-block;
    color: #0a0a23;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 10px 5px;
}

.nav-dropdown-toggle:hover {
    color: #007bff;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    min-width: 280px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 8px;
    margin-top: 8px;
    z-index: 1001;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #0a0a23;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 6px;
    margin: 2px 0;
    font-size: 0.95em;
}

.nav-dropdown-menu a:hover {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.2);
}

/* Section Styles */
section {
    padding: 60px 20px; 
    max-width: 1000px; 
    margin: auto; 
    animation: fadeIn 1s ease-in;
}

section h2 { 
    font-size: 2em; 
    margin-bottom: 20px; 
    color: #0a0a23; 
}

section p, section ul { 
    font-size: 1.1em; 
    color: #555; 
}

ul li { 
    margin-bottom: 10px; 
}

/* Gallery Styles */
.gallery {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    margin-top: 20px;
}

.gallery img {
    width: 100%; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Team Styles */
.team {
    display: flex; 
    flex-wrap: wrap; 
    gap: 20px; 
    margin-top: 20px;
}

.team-member {
    flex: 1 1 200px; 
    background: linear-gradient(135deg, #f8f9fa, #e9ecef); 
    padding: 20px; 
    border-radius: 15px; 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #dee2e6;
}

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

.team-member img {
    width: 100px; 
    height: 120px; 
    object-fit: cover; 
    border-radius: 15px; 
    margin-bottom: 15px;
    border: 3px solid #007bff;
    transition: transform 0.3s ease;
}

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

/* Video Section */
.video-section {
    text-align: center; 
    padding: 60px 20px; 
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.video-section iframe {
    width: 90%; 
    max-width: 800px; 
    height: 450px; 
    border: none; 
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.video-section iframe:hover {
    transform: scale(1.02);
}

/* Footer Styles */
footer {
    background-color: #0a0a23; 
    color: white; 
    text-align: center; 
    padding: 30px 20px; 
    margin-top: 40px;
}

.site-footer {
    background-color: #0a0a23;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

.footer-bottom p {
    margin-bottom: 5px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 60px 15px;
    }

    header h1 {
        font-size: 1.8em;
    }

    header p {
        font-size: 0.9em;
    }

    nav {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }

    nav a {
        padding: 8px 10px;
        font-size: 0.9em;
    }

    /* Mobile-friendly dropdown */
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .nav-dropdown-toggle {
        display: block;
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        border-radius: 8px;
        padding: 8px;
        margin-top: 5px;
        min-width: 100%;
        border: 1px solid #e9ecef;
        background: #f8f9fa;
        animation: none;
    }

    .nav-dropdown-menu a {
        padding: 10px 15px;
        font-size: 0.9em;
    }

    .nav-dropdown-menu a:hover {
        transform: none !important;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown-toggle:active + .nav-dropdown-menu,
    .nav-dropdown-menu:hover {
        display: block;
    }

    section {
        padding: 30px 15px;
    }

    section h2 {
        font-size: 1.6em;
    }

    section p, section ul {
        font-size: 1em;
    }

    /* Product cards mobile optimization */
    .gallery {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Service cards mobile */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"],
    div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"],
    div[style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }

    /* Product detail pages */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Buttons and CTAs */
    a[style*="padding: 15px 35px"],
    a[style*="padding: 15px 40px"],
    a[style*="padding: 12px 30px"] {
        display: block !important;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }

    /* Video section */
    .video-section iframe {
        width: 100%;
        height: 250px;
    }

    /* Team/Founder section (if exists) */
    .team {
        flex-direction: column;
    }

    .team-member {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    header p {
        font-size: 0.85em;
    }

    section h2 {
        font-size: 1.4em;
    }

    nav {
        gap: 8px;
    }

    nav a {
        font-size: 0.85em;
        padding: 6px 4px;
    }

    .video-section iframe {
        height: 200px;
    }

    /* Smaller padding on mobile */
    section {
        padding: 20px 10px;
    }
}