/* 
 * IdealHTML.ai Public Site Styles
 * Shared styles for all public-facing pages
 */

:root {
    --gradient-primary: linear-gradient(135deg, #0054a6 0%, #00a2ff 100%);
    --gradient-accent: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --blue-primary: #0054a6;
    --blue-light: #00a2ff;
    --green-accent: #38ef7d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar .logo img {
    max-width: 290px;
    height: auto;
    object-fit: contain;
    transition: max-width 0.3s ease;
}

.navbar.scrolled .logo img {
    max-width: 220px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a:not(.btn-login)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-links a:not(.btn-login):hover::after,
.nav-links a:not(.btn-login).active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--blue-primary);
}

.nav-links .btn-login {
    padding: 0.7rem 1.5rem;
    background: var(--gradient-primary);
    color: white !important;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 84, 166, 0.3);
}

.nav-links .btn-login::after {
    display: none !important;
}

.nav-links .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 84, 166, 0.4);
    color: white !important;
}

.nav-links .btn-login i {
    color: white !important;
    margin-right: 0.25rem;
}

/* Dropdown Menu Styles */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.nav-links .dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-links .dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu li {
    padding: 0;
}

.nav-links .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-radius: 0;
}

.nav-links .dropdown-menu a::after {
    display: none;
}

.nav-links .dropdown-menu a:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--blue-primary);
    padding-left: 1.5rem;
}

.nav-links .dropdown-menu a i {
    color: var(--blue-primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #1DA1F2;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 2rem 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    flex-direction: column;
    gap: 0.5rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background 0.3s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--light);
    color: var(--blue-primary);
}

/* Mobile Dropdown Styles */
.mobile-menu .mobile-dropdown {
    margin: 0.5rem 0;
}

.mobile-menu .mobile-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--light);
    border-radius: 0.5rem;
    font-weight: 700;
}

.mobile-menu .mobile-dropdown-content {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-menu .mobile-dropdown-content a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu .mobile-dropdown-content a i {
    color: var(--blue-primary);
    font-size: 0.9rem;
}

.mobile-menu .btn-login {
    background: var(--gradient-primary);
    color: white !important;
    text-align: center;
    border-radius: 50px;
    margin-top: 0.5rem;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .navbar .logo img {
        max-width: 200px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .navbar .logo img {
        max-width: 150px;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 0;
}

.footer-last {
    background-color: #111111;
    padding: 20px 0;
    margin: 0px;
}

#nebraska-web-designers {
    margin: 0px auto!important;
    display: block;
    padding: 0;
}

#nebraska-web-designers .idealhtml {
    display: block;
    width: 150px;
    margin: 0px auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ============================================
   COMMON ELEMENTS
   ============================================ */

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Buttons */
.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(17, 153, 142, 0.4);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--dark);
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--blue-primary);
    color: var(--blue-primary);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.trust-badge i {
    color: var(--green-accent);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
}

