/*
Theme Name: Elektryk Rozan Custom Layout V4
Theme URI: 
Author: Agent AI
Description: A custom single-page layout for Elektryk Różan based on the provided design.
Version: 4.0
*/

/* ======================== 
   VARIABLES & RESET
=========================== */
:root {
    --primary-red: #cc0022;
    --primary-red-hover: #aa001c;
    --dark-bg: #141722;
    --darker-bg: #0f111a;
    --light-bg: #f8f9fc;
    --text-main: #334155;
    --text-heading: #0f172a;
    --white: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* ======================== 
   HEADER / NAV
=========================== */
.header {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-main);
}

.nav a:hover {
    color: var(--primary-red);
}

.btn-call-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 15px;
}

.btn-call-header svg {
    width: 18px;
    height: 18px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-heading);
}

.mobile-nav {
    display: none;
    background-color: var(--white);
    border-top: 1px solid #eee;
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav a {
    font-weight: 500;
    font-size: 16px;
    display: block;
    color: var(--text-heading);
}

/* ======================== 
   HERO SECTION
=========================== */
.hero {
    position: relative;
    padding: 140px 0;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(20,23,34,0.95) 0%, rgba(20,23,34,0.7) 50%, rgba(20,23,34,0.1) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    background-color: rgba(204, 0, 34, 0.2);
    color: #ff3355;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(204, 0, 34, 0.4);
    border-radius: 4px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.text-red {
    color: var(--primary-red);
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #d1d5db;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    border-color: var(--primary-red-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    border-color: var(--white);
    background-color: rgba(255,255,255,0.05);
}

/* ======================== 
   SERVICES
=========================== */
.services {
    padding: 100px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 24px;
}

.title-wrap {
    max-width: 600px;
}

.title-wrap h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.section-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(204, 0, 34, 0.05);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
}

/* ======================== 
   ABOUT
=========================== */
.about {
    padding: 100px 0;
    background-color: #f1f3f7;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.experience-badge .num {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.experience-badge .text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-content p {
    margin-bottom: 24px;
}

.check-list {
    list-style: none;
    margin-bottom: 40px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--text-heading);
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-weight: 700;
}

/* ======================== 
   CONTACT
=========================== */
.contact {
    padding: 100px 0;
}

.contact h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.contact-subtitle {
    margin-bottom: 60px;
    max-width: 600px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    padding: 30px 24px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(204, 0, 34, 0.05);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.contact-item p, .contact-item a {
    font-size: 14px;
    color: var(--text-main);
}

.contact-item a:hover {
    color: var(--primary-red);
}

/* ======================== 
   FOOTER
=========================== */
.footer {
    background-color: var(--dark-bg);
    color: #94a3b8;
    padding: 80px 0 40px;
}

.footer-container {
    display: flex;
    flex-direction: column;
}

.footer-left {
    max-width: 400px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-left p {
    font-size: 14px;
    margin-bottom: 24px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
}

.social-icons a:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

.footer-city {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ======================== 
   MOBILE STICKY CALL BTN
=========================== */
.mobile-sticky-call {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #25D366; 
    background-color: var(--primary-red);
    color: var(--white);
    text-align: center;
    padding: 16px;
    font-weight: 700;
    font-size: 18px;
    z-index: 9999;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mobile-sticky-call svg {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ======================== 
   RESPONSIVE DESIGN
=========================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav, .btn-call-header {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 40px;
    }

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

    .about-container {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .mobile-sticky-call {
        display: flex;
    }

    body {
        padding-bottom: 60px;
    }
}
