/* ========================================
   VAZGEN THE PLUMBER - STYLESHEET
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-blue: #1a5fb4;
    --primary-blue-dark: #0d3a6e;
    --primary-blue-light: #3584e4;
    --accent-blue: #62a0ea;
    --dark-slate: #1c2833;
    --medium-grey: #5d6d7e;
    --light-grey: #f4f6f7;
    --white: #ffffff;
    --soft-shadow: rgba(26, 95, 180, 0.15);
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 5rem;
    --card-radius: 12px;
    
    /* Transitions */
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-slate);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

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

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px var(--soft-shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo i {
    font-size: 1.75rem;
    color: var(--accent-blue);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
}

.header-phone:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--soft-shadow);
}

.header-phone i {
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    5%, 15% { transform: rotate(-10deg); }
    10%, 20% { transform: rotate(10deg); }
    25% { transform: rotate(0deg); }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 50%, var(--primary-blue-light) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 58, 110, 0.92) 0%, rgba(26, 95, 180, 0.85) 50%, rgba(53, 132, 228, 0.8) 100%);
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(98, 160, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    z-index: 2;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--white);
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.02em;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    background: var(--light-grey);
}

.cta-button i {
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
}

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

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--light-grey);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--dark-slate);
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    text-align: center;
    color: var(--medium-grey);
    font-size: 1.15rem;
    margin-bottom: 3.5rem;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: 0 4px 20px var(--soft-shadow);
    text-align: center;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--soft-shadow);
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-content {
    padding: 2rem;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: -50px auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    font-size: 1.75rem;
    color: var(--white);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px var(--soft-shadow);
    border: 4px solid var(--white);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--medium-grey);
    line-height: 1.7;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.about .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--card-radius);
    box-shadow: 0 20px 60px var(--soft-shadow);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 10px 30px var(--soft-shadow);
    border: 5px solid var(--white);
}

.about-badge span {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge small {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-content {
    padding: 1rem 0;
}

.about-text {
    color: var(--medium-grey);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--dark-slate);
}

.about-features i {
    color: var(--primary-blue);
    font-size: 1.25rem;
}

/* ========================================
   WHY US SECTION
   ======================================== */
.why-us {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.why-us-item {
    padding: 1.5rem;
}

.why-us-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.why-us-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-slate);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand .logo i {
    color: var(--accent-blue);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
}

.footer-phone:hover {
    background: var(--primary-blue-light);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 3.5rem;
    }
    
    .nav {
        height: 70px;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo i {
        font-size: 1.4rem;
    }
    
    .header-phone {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }
    
    .header-phone span {
        display: none;
    }
    
    .hero-content {
        padding: 7rem 1rem 3rem;
    }
    
    .cta-button {
        padding: 1rem 1.75rem;
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-image {
        height: 180px;
    }
    
    .service-card-content {
        padding: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about .section-title {
        text-align: center;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-badge {
        right: 20px;
        bottom: -15px;
        width: 100px;
        height: 100px;
    }
    
    .about-badge span {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-content {
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header-phone {
        padding: 0.5rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .why-us-item {
        padding: 1rem 0.5rem;
    }
    
    .why-us-number {
        font-size: 2rem;
    }
    
    .why-us-label {
        font-size: 0.8rem;
    }
}

