/* Entrepot-specific styles */

/* Desktop-only hero height adjustment */
@media (min-width: 769px) {
    .hero {
        min-height: 70vh !important;
    }
}

/* Entrepot Features Section */
.entrepot-features {
    padding: 80px 5%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.entrepot-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
}

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

.entrepot-header {
    text-align: center;
    margin-bottom: 60px;
}

.entrepot-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

.entrepot-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.entrepot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.entrepot-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.entrepot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF3333, #ff5555);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.entrepot-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.entrepot-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF3333, #ff5555);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #fff;
}

.entrepot-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.entrepot-card p {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.highlight-text {
    color: #FF3333;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .entrepot-features {
        padding: 60px 5%;
    }
    
    .entrepot-title {
        font-size: 2rem;
    }
    
    .entrepot-subtitle {
        font-size: 1.1rem;
    }
    
    .entrepot-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .entrepot-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .entrepot-title {
        font-size: 1.8rem;
    }
    
    .entrepot-card {
        padding: 20px;
    }
}

/* Camera Showcase Section */
.camera-showcase {
    padding: 80px 5%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
}

.camera-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #444, transparent);
}

.camera-showcase-container {
    max-width: 1200px;
    margin: 0 auto;
}

.camera-showcase-header {
    text-align: center;
    margin-bottom: 60px;
}

.camera-showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

.camera-showcase-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.cameras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.camera-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.camera-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.camera-image {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.camera-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

.dahua-camera {
    transform: scale(1.55);
    object-fit: contain;
}

.camera-brand {
    margin-bottom: 15px;
    text-align: center;
}

.brand-logo {
    height: 35px;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.camera-card:hover .brand-logo {
    filter: brightness(1);
}

.camera-info {
    padding: 30px;
}

.camera-model {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.camera-series {
    font-size: 0.9rem;
    color: #FF3333;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.camera-description {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.camera-description strong {
    color: #fff;
    font-weight: 600;
}

.camera-highlight {
    margin-top: 20px;
}

.highlight-feature {
    background: linear-gradient(135deg, #FF3333, #ff5555);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design for Camera Showcase */
@media (max-width: 768px) {
    .camera-showcase {
        padding: 60px 5%;
    }
    
    .camera-showcase-title {
        font-size: 2rem;
    }
    
    .camera-showcase-subtitle {
        font-size: 1.1rem;
    }
    
    .cameras-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .camera-info {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .camera-showcase-title {
        font-size: 1.8rem;
    }
    
    .camera-image {
        padding: 20px;
    }
    
    .camera-info {
        padding: 20px;
    }
    
    .camera-model {
        font-size: 1.3rem;
    }
}

/* Image Explanation Section */
.image-explanation-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.image-explanation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
}

.image-explanation-container {
    max-width: 1200px;
    margin: 0 auto;
}

.image-explanation-header {
    text-align: center;
    margin-bottom: 60px;
}

.image-explanation-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

.image-explanation-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.explanation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.explanation-image {
    position: relative;
}

.installation-video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    background: #000;
    transition: all 0.3s ease;
    min-height: 300px;
    object-fit: cover;
}

.installation-video:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.2);
}

/* Fallback for image placeholder if needed */
.image-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 80px 40px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-placeholder:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 51, 51, 0.3);
}

.image-placeholder i {
    font-size: 4rem;
    color: #666;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.image-placeholder:hover i {
    color: #FF3333;
}

.image-placeholder p {
    color: #999;
    font-size: 1.1rem;
    font-weight: 500;
}

.explanation-content {
    padding: 0 20px;
}

.explanation-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.3;
}

.explanation-content > p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.explanation-content strong {
    color: #fff;
    font-weight: 600;
}

.explanation-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #FF3333, #ff5555);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.2rem;
    color: #FF3333;
    min-width: 20px;
}

.feature-item span {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

/* Responsive Design for Image Explanation */
@media (max-width: 768px) {
    .image-explanation-section {
        padding: 60px 5%;
    }
    
    .image-explanation-title {
        font-size: 2rem;
    }
    
    .image-explanation-subtitle {
        font-size: 1.1rem;
    }
    
    .explanation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .installation-video {
        min-height: 250px;
    }
    
    .image-placeholder {
        padding: 60px 30px;
        min-height: 250px;
    }
    
    .image-placeholder i {
        font-size: 3rem;
    }
    
    .explanation-content {
        padding: 0;
    }
    
    .explanation-content h3 {
        font-size: 1.7rem;
    }
    
    .feature-item:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 480px) {
    .image-explanation-title {
        font-size: 1.8rem;
    }
    
    .explanation-grid {
        gap: 30px;
    }
    
    .installation-video {
        min-height: 200px;
    }
    
    .image-placeholder {
        padding: 40px 20px;
        min-height: 200px;
    }
    
    .image-placeholder i {
        font-size: 2.5rem;
    }
    
    .explanation-content h3 {
        font-size: 1.5rem;
    }
    
    .explanation-content > p {
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 12px 15px;
    }
    
    .feature-item span {
        font-size: 0.9rem;
    }
}

/* FAQ Section - using faq.css styles for dropdowns */
.faq-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #444, transparent);
}

.faq-section .faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

.faq-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-grid {
    display: grid;
    gap: 20px;
}

/* Responsive FAQ Section */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 5%;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 1.8rem;
    }
}

/* Tooltip Styles */
.highlight-feature {
    position: relative;
    display: inline-block;
}

.tooltip-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #FF3333;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.tooltip-icon:hover {
    background: #FF5555;
    transform: scale(1.1);
}

.tooltip-content {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #FF3333;
    border-radius: 8px;
    padding: 12px 16px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #FF3333;
}

.tooltip-content::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #ffffff;
    z-index: 1001;
}

/* Desktop hover behavior */
@media (min-width: 769px) {
    .tooltip-icon:hover + .tooltip-content {
        opacity: 1;
        visibility: visible;
    }
}

/* Mobile click behavior */
@media (max-width: 768px) {
    .tooltip-content.show {
        opacity: 1;
        visibility: visible;
    }
    
    .tooltip-content {
        width: 250px;
        font-size: 13px;
    }
    
    .tooltip-icon {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 13px;
    }
}

