/* ===================================
   SHIVA KRISHNA - STYLE.CSS
   Expert Electrician Website Styles
   =================================== */

/* ====== BASE RESET ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #111111;
    overflow-x: hidden;
}

/* ====== SKIP LINK (Accessibility) ====== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #FF6B35;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* ====== CONTAINER ====== */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ====== HEADER ====== */
header {
    background: rgb(22, 22, 22);
    box-shadow: 0 2px 20px rgba(70, 69, 69, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 300px;
    height: 370px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #837e7e;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

nav a:hover,
nav a:focus {
    color: #FF6B35;
    outline: none;
}

.cta-btn {
    background: #FF6B35;
    color: white !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-btn:hover,
.cta-btn:focus {
    background: #FF8C42;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1a1a1a;
}

/* ====== HERO ====== */
.hero {
    padding: 80px 0 60px;
    background: white;
}

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

.hero-left h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.brand-name {
    display: block;
}

.registered {
    font-size: 36px;
    vertical-align: super;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.badge {
    background: #f5f5f5;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge i {
    color: #FF6B35;
}

.credentials {
    background: #1a1a1a;
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.credentials-img {
    display: flex;
    gap: -5px;
}

.credentials-img img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #1a1a1a;
    object-fit: cover;
    margin-left: -10px;
}

.credentials-img img:first-child {
    margin-left: 0;
}

.credentials-text {
    flex: 1;
}

.credentials-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.credentials-subtitle {
    font-size: 13px;
    color: #999;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #FFD700;
    font-size: 14px;
}

.rating-text {
    font-size: 13px;
    color: #999;
    margin-left: 5px;
}

.hero-right {
    position: relative;
    height: 650px;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.hero-small-img {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 15px;
    border: 8px solid white;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    top: -20px;
    left: -40px;
}

.play-button {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.play-button:hover,
.play-button:focus {
    transform: scale(1.1);
    background: #FF6B35;
    outline: 2px solid #FF6B35;
}

.play-button i {
    color: white;
    font-size: 24px;
    margin-left: 4px;
}

/* ====== WE WORK ====== */
.we-work {
    padding: 20px 0;
    background: white;
}

.we-work-header {
    text-align: right;
    margin-bottom: 50px;
}

.we-work-header h2 {
    font-size: 72px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.1;
    letter-spacing: -2px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.work-card {
    position: relative;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.work-card:hover,
.work-card:focus-within {
    transform: translateY(-5px);
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px;
    color: white;
}

.work-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.work-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.work-card.large {
    grid-row: span 2;
    height: 100%;
}

.work-card.orange {
    background: #FF6B35;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
}

.work-card.orange h3 {
    font-size: 28px;
    font-weight: 800;
    color: white;
    line-height: 1.3;
}

.work-card.orange p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-top: 10px;
}

.work-card.blue {
    background: #4169E1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card.blue h3 {
    font-size: 32px;
    font-weight: 900;
    color: white;
    text-align: center;
}

.work-card.dark {
    background: #1a5f4a;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
}

.work-card.dark h3 {
    font-size: 24px;
    font-weight: 800;
    color: white;
    line-height: 1.3;
}

/* ====== TRUST SECTION ====== */
.trust-section {
    padding: 80px 0;
    background: #f9f9f9;
}

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

.trust-header h2 {
    font-size: 48px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.trust-header p {
    font-size: 18px;
    color: #666;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.trust-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.trust-card:hover,
.trust-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.trust-number {
    font-size: 36px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.trust-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.trust-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.trust-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    margin-top: 20px;
}

/* ====== SERVICES SECTION ====== */
.services {
    padding: 80px 0;
    background: #2a2a2a;
    color: white;
}

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

.services-header h2 {
    font-size: 56px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.services-header p {
    font-size: 18px;
    color: #999;
}

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

.service-card {
    background: #363636;
    padding: 40px;
    border-radius: 15px;
    transition: all 0.3s;
    position: relative;
}

.service-card:hover,
.service-card:focus-within {
    background: #404040;
    transform: translateY(-5px);
}

.service-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 53, 0.1);
    border: 3px solid #FF6B35;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon {
    font-size: 36px;
    color: #FF6B35;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex: 1;
}

.expand-btn {
    display: none;
    background: #FF6B35;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.expand-btn:hover,
.expand-btn:focus {
    background: #FF8C42;
    outline: 2px solid #FF6B35;
}

.expand-btn.active i {
    transform: rotate(180deg);
}

.expand-btn i {
    transition: transform 0.3s;
}

.service-list {
    list-style: none;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-list.collapsed {
    max-height: 0 !important;
    margin: 0;
    opacity: 0;
}

.service-list li {
    padding: 12px 0;
    color: #ccc;
    font-size: 15px;
    border-bottom: 1px solid #4a4a4a;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li:before {
    content: '✓';
    color: #FF6B35;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

/* ====== CONTACT ====== */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #FF6B35 0%, #1a1a1a 100%);
    color: white;
}

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

.contact-left h2 {
    font-size: 56px;
    font-weight: 900;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    text-decoration: none;
}

.contact-details a:hover,
.contact-details a:focus {
    color: white;
    text-decoration: underline;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: white;
    color: #1a1a1a;
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit:hover,
.form-submit:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
    outline: 2px solid white;
}

/* ====== FLOATING CONTACT BUTTON ====== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-btn {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(255, 107, 53, 0.4);
    transition: all 0.3s;
    border: none;
    color: white;
    font-size: 28px;
}

.floating-btn:hover,
.floating-btn:focus {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(255, 107, 53, 0.6);
    outline: 2px solid #FF6B35;
}

.contact-popup {
    position: absolute;
    bottom: 90px;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-popup-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    text-decoration: none;
    color: #1a1a1a;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
    cursor: pointer;
}

.contact-popup-item:last-child {
    border-bottom: none;
}

.contact-popup-item:hover,
.contact-popup-item:focus {
    background: #f9f9f9;
    outline: none;
}

.contact-popup-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-popup-icon.phone {
    background: #FF6B35;
    color: white;
}

.contact-popup-icon.email {
    background: #EA4335;
    color: white;
}

.contact-popup-icon.whatsapp {
    background: #25D366;
    color: white;
}

.contact-popup-text {
    flex: 1;
}

.contact-popup-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.contact-popup-subtitle {
    font-size: 12px;
    color: #666;
}

/* ====== FOOTER ====== */
footer {
    background: #0a0a0a;
    color: #999;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p {
    color: #999;
    font-size: 14px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover,
.footer-section a:focus {
    color: #FF6B35;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2a2a2a;
    color: #666;
    font-size: 14px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1200px) {
    .hero-left h1 {
        font-size: 56px;
    }

    .we-work-header h2 {
        font-size: 56px;
    }
}

@media (max-width: 968px) {
    .container {
        padding: 0 25px;
    }

    .menu-toggle {
        display: block;
        color: #eff3f1;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgb(226, 221, 221);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left h1 {
        font-size: 42px;
    }

    .hero-right {
        height: 500px;
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .expand-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 10px;
    }

    header {
        padding: 2px 0;
    }

    .logo-img {
        width: 200px;
        height: 450px;
    }

    .logo-text {
        font-size: 18px;
    }

    .cta-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-left h1 {
        font-size: 36px;
    }

    .registered {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .badge {
        padding: 10px 15px;
        font-size: 12px;
    }

    .credentials {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-right {
        height: 400px;
    }

    .hero-small-img {
        width: 120px;
        height: 120px;
        top: -10px;
        left: -10px;
        border: 5px solid white;
    }

    .play-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }

    .play-button i {
        font-size: 18px;
    }

    .we-work {
        padding: 50px 0;
    }

    .we-work-header h2 {
        font-size: 36px;
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .work-card {
        height: 250px;
    }

    .work-card.large {
        height: 250px;
    }

    .work-card.orange h3 {
        font-size: 22px;
    }

    .work-card.blue h3 {
        font-size: 24px;
    }

    .work-card.dark h3 {
        font-size: 20px;
    }

    .trust-section,
    .services {
        padding: 50px 0;
    }

    .trust-header h2 {
        font-size: 32px;
    }

    .trust-header p {
        font-size: 15px;
    }

    .trust-number {
        font-size: 28px;
    }

    .trust-title {
        font-size: 18px;
    }

    .trust-desc {
        font-size: 14px;
    }

    .services-header h2 {
        font-size: 36px;
    }

    .services-header p {
        font-size: 15px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-icon-box {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .service-icon {
        font-size: 28px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-list li {
        font-size: 14px;
        padding: 10px 0;
    }

    .expand-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact {
        padding: 50px 0;
    }

    .contact-left h2 {
        font-size: 32px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-details h3 {
        font-size: 16px;
    }

    .contact-details p,
    .contact-details a {
        font-size: 14px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }

    .form-submit {
        padding: 15px;
        font-size: 15px;
    }

    footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 12px;
        padding-top: 20px;
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .contact-popup {
        bottom: 75px;
        right: -10px;
        min-width: 220px;
    }

    .contact-popup-item {
        padding: 15px 18px;
    }

    .contact-popup-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .contact-popup-title {
        font-size: 14px;
    }

    .contact-popup-subtitle {
        font-size: 11px;
    }
}

@media (max-width: 375px) {
    .hero-left h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .we-work-header h2 {
        font-size: 30px;
    }

    .trust-header h2 {
        font-size: 28px;
    }

    .services-header h2 {
        font-size: 30px;
    }

    .contact-left h2 {
        font-size: 28px;
    }
}

/* ====== FOCUS VISIBLE (Accessibility) ====== */
*:focus-visible {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}