/* Homepage Specific Styles */

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    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;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 25px;
    font-weight: bold;
    color: #4F4B45;
    text-decoration: none;
    cursor: pointer;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 17px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00727C;
    background: rgba(0, 114, 124, 0.1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 20px 30px;
    background: #f8f9fa;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    padding-top: 50px;
}

.hero-tagline {
    font-size: 36px;
    font-weight: 700;
    color: #4F4B45;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 21px;
    color: #4F4B45;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Pole Illustration */
.hero-graphic {
    margin: 40px auto;
    max-width: 800px;
    position: relative;
}

/* Hover hint */
.hover-hint {
    text-align: center;
    color: #00727C;
    font-size: 19px;
    margin-bottom: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
    text-decoration: none;
    display: block;
}

a.hover-hint:hover {
    color: #00727C;
    text-decoration: none;
}

.utility-pole-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.sensor-label {
    font-size: 15px;
    font-weight: 600;
    fill: #333;
}

.sensor-desc {
    font-size: 13px;
    fill: #666;
}

.sensor-group {
    cursor: pointer;
}

/* Sensor dots with pulse animation */
.sensor-dot {
    cursor: pointer;
    transition: all 0.3s ease;
}

.sensor-dot.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Special handling for logo as sensor */
image.sensor-dot {
    border-radius: 50%;
    background: white;
    padding: 5px;
    box-shadow: 0 0 0 3px #00727C, 0 0 0 6px white;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* Sensor details (hidden by default) */
.sensor-detail {
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

/* Quick Pitch */
.quick-pitch {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px auto;
    max-width: 1000px;
}

.pitch-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pitch-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pitch-icon {
    font-size: 37px;
    display: block;
    margin-bottom: 15px;
}

.pitch-item p {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Clickable pitch tiles */
#part90-item,
#battery-item,
#fire-item,
#vegetation-item,
#modular-item,
#flood-item,
#structural-item,
#fema-item,
#heartbeat-item {
    cursor: pointer;
    position: relative;
}


#part90-item .pitch-detail,
#battery-item .pitch-detail,
#fire-item .pitch-detail,
#vegetation-item .pitch-detail,
#modular-item .pitch-detail,
#flood-item .pitch-detail,
#structural-item .pitch-detail,
#fema-item .pitch-detail,
#heartbeat-item .pitch-detail {
    font-size: 15px;
    text-align: left;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0 20px 0;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 19px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #00727C;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 114, 124, 0.3);
}

.btn-primary:hover {
    background: #005960;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 114, 124, 0.4);
}

.btn-secondary {
    background: white;
    color: #00727C;
    border: 2px solid #00727C;
}

.btn-secondary:hover {
    background: #00727C;
    color: white;
    transform: translateY(-2px);
}


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

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle:after {
    content: " ▼";
    font-size: 12px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    z-index: 100;
}

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

.dropdown-menu li {
    list-style: none;
}

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

.dropdown-menu a:hover {
    background: rgba(0, 119, 197, 0.1);
    color: #0077c5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-tagline {
        font-size: 26px;
    }
    
    .quick-pitch {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}