/* ============================================
   Home Automation Page Styles
   ============================================ */

/* Hero Section */
.automation-hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.automation-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.automation-hero .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.automation-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(212, 175, 55, 0.7) 100%);
    z-index: 2;
}

.automation-hero .container {
    position: relative;
    z-index: 3;
}

.automation-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.automation-hero .hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.btn-hero {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--gradient-gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

/* Products Section */
.products-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.product-image {
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.product-content p {
    color: #666;
    line-height: 1.7;
}

/* Installation Banner */
.installation-banner {
    background: linear-gradient(135deg, #d4af37 0%, #c9a332 100%);
    color: var(--white);
    padding: 2.5rem 3rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 4rem 0;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.installation-banner svg {
    flex-shrink: 0;
}

.installation-banner p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Feature Section */
.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 6rem 0;
}

.feature-section.reverse .feature-image {
    order: -1;
}

.feature-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.feature-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.feature-subtitle {
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.feature-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #666;
}

.feature-list svg {
    color: var(--gold);
    flex-shrink: 0;
}

.feature-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.info-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 20px;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.info-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    padding: 0.75rem 0;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
}

.info-card ul li:last-child {
    border-bottom: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-list li::before {
    content: "✓";
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Capabilities Section */
.capabilities-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
    padding: 4rem;
    border-radius: 20px;
    margin: 4rem 0;
}

.capabilities-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.capabilities-section > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.capability-item {
    text-align: center;
}

.capability-item svg {
    color: var(--gold);
    margin-bottom: 1rem;
}

.capability-item p {
    font-size: 1.05rem;
    line-height: 1.6;
}

.tagline {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 2rem;
}

/* Features Highlight */
.features-highlight {
    margin: 4rem 0;
}

.features-highlight h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 3rem;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.highlight-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.highlight-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.highlight-item p {
    color: #666;
    line-height: 1.6;
}

/* Dual Features */
.dual-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.dual-feature-card {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 20px;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-wrapper svg {
    color: var(--white);
}

.dual-feature-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.dual-feature-card ul {
    list-style: none;
    padding: 0;
}

.dual-feature-card ul li {
    padding: 0.75rem 0;
    color: #666;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dual-feature-card ul li::before {
    content: "✓";
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Ideal For Section */
.ideal-for-section {
    margin: 6rem 0;
}

.ideal-for-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 3rem;
}

.ideal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.ideal-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.ideal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.ideal-card svg {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.ideal-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

/* Installation Section */
.installation-section {
    background: #f8f9fa;
    padding: 4rem;
    border-radius: 20px;
    margin: 6rem 0;
}

.installation-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 1rem;
}

.installation-section .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.installation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.installation-item {
    text-align: center;
}

.installation-item .number {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.installation-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.installation-item p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    margin: 6rem 0;
}

.gallery-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #d4af37 0%, #c9a332 100%);
    color: var(--white);
    padding: 5rem 4rem;
    border-radius: 20px;
    text-align: center;
    margin: 6rem 0;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.cta-section p:last-of-type {
    margin-bottom: 2.5rem;
}

.btn-cta {
    display: inline-block;
    padding: 1.25rem 3.5rem;
    background: var(--white);
    color: var(--gold);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .feature-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .dual-features {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .automation-hero {
        padding: 8rem 0 4rem;
    }
    
    .automation-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .automation-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .installation-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .feature-content h2 {
        font-size: 2rem;
    }
    
    .capabilities-section {
        padding: 2.5rem 1.5rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .installation-section {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-section {
        padding: 3rem 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .ideal-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-grid {
        grid-template-columns: 1fr;
    }
}
