/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo img {
    height: 75px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #4a90e2;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #4a90e2;
}

/* Robot Color Circles */
.robot-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

.branda-color { background: #fff; }
.reddy-color { background: #f90115; }
.orby-color { background: #ffa502; }
.sunny-color { background: #ffd429; }
.verdy-color { background: #2ed573; }
.blu-color { background: #000dff; }
.indi-color { background: #5f27cd; }
.vio-color { background: #a55eea; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 600px;
    margin-top: 70px;
    background-image: url('images/slider.png');
    background-size: auto 600px;
    background-position: right center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(70deg, white 40%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 150px;
}

.hero-content {
    text-align: left;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3rem;
    color: #000;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #000;
}

.cta-button {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #357abd;
}



/* Video Section */
.video-section {
    padding: 80px 0;
    background: #fff;
}

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

.video-left video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-right h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.video-right p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

/* Robots Intro Section */
.robots-intro {
    padding: 60px 0 30px 0;
    background: #f8f9fa;
    text-align: center;
}

.robots-intro h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Robots Slider Section */
.robots-slider {
    padding: 30px 0 80px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
    padding: 0;
    justify-content: flex-start;
}

.robot-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.robot-card img {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 20px;
}

.robot-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.robot-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Social Feed Section */
.social-feed {
    padding: 80px 0;
    background: #f8f9fa;
}

.social-feed h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.feed-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.feed-container {
    max-width: 95vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Hero Post Styles */
.hero-post {
    max-width: 95vw;
    margin: 0 auto;
    min-height: 80vh;
}

.hero-post-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    height: 100%;
}

.hero-post-left {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.hero-robot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero-post-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.carousel-post .hero-post-left .carousel-container {
    height: 100%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.social-post {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e1e8ed;
    width: 100%;
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid #4a90e2;
}

.post-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.post-info span {
    color: #666;
    font-size: 0.9rem;
}

.post-type {
    margin-left: auto;
    font-size: 1.2rem;
}

.post-content {
    margin-bottom: 15px;
    line-height: 1.6;
}

.problem-highlight {
    background: #ffe6e6;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    border-left: 4px solid #ff4757;
    font-weight: 500;
}

.carousel-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 70vh;
    min-height: 500px;
    width: 100%;
    max-width: none;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
}

.carousel-slide.active {
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

.video-placeholder {
    position: relative;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    margin: 15px 0;
    width: 100%;
    height: 100%;
}

.hero-post-left .video-placeholder {
    margin: 0;
    height: 70vh;
    min-height: 500px;
}

.hero-post-left .video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.video-placeholder img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    opacity: 0.8;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.cta-highlight {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    border-left: 4px solid #2ed573;
    font-weight: 600;
    color: #2ed573;
}

.post-stats {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e1e8ed;
    font-size: 0.9rem;
    color: #666;
}

.post-comments {
    margin-top: 15px;
}

.comment {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #333;
}

.follow-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.social-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.social-button:hover {
    transform: translateY(-2px);
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
}

.facebook {
    background: #1877f2;
    color: white;
}

.tiktok {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
    color: white;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #fff;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #4a90e2;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #4a90e2;
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-button {
    display: inline-block;
    background: white;
    color: #4a90e2;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s;
}

.contact-button:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        margin-top: 0;
        border-radius: 0;
        display: none;
        padding: 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        background: #f8f9fa;
        margin: 5px 0;
        border-radius: 8px;
        padding: 12px 20px;
    }
    
    .hero {
        background-image: url('images/imagen_mobile.png?v=2');
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
        flex-direction: column;
        height: auto;
        padding-top: 0;
        padding-bottom: 40px;
    }
    

    
    .hero::before {
        display: none;
    }
    
    .hero-container {
        flex-direction: column;
        padding-top: 300px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        background: white;
        padding: 30px 20px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .video-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .robot-card {
        flex: 0 0 280px;
    }
    
    .slider-track {
        padding: 0 50px;
    }
    
    .feed-container {
        padding: 0 10px;
    }
    
    .social-post {
        padding: 15px;
    }
    
    .follow-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .social-button {
        width: 250px;
        text-align: center;
    }
    
    .hero-post-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .hero-robot {
        max-width: 300px;
    }
    
    body[data-page="reddy"] .hero {
        background-size: 100% auto !important;
        background-position: center top !important;
        height: 800px;
    }
    
    body[data-page="reddy"] .hero-content {
        margin-top: 50px;
    }
    
    body[data-page="reddy"] h2 {
        font-size: 1.8rem !important;
    }
    
    body[data-page="reddy"] .cta-button {
        display: block;
        margin: 10px auto;
        text-align: center;
        width: 250px;
        padding: 18px 20px !important;
    }
}