/* GM Starter — Custom Styles */
/* Site de prezentare — FĂRĂ WooCommerce */

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   TOP BAR
   ============================================ */

.starter-topbar {
    background: var(--wp--preset--color--secondary, #1E293B);
    color: #e2e8f0;
    padding: 8px 0;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}
.starter-topbar a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}
.starter-topbar a:hover {
    color: var(--wp--preset--color--accent, #F59E0B);
}

/* ============================================
   HEADER
   ============================================ */

.starter-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.3s;
}
.starter-header.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.starter-header .wp-block-site-logo img {
    max-height: 55px;
    width: auto;
    transition: opacity 0.2s;
}

/* === Navigation === */

.starter-nav .wp-block-navigation-item a {
    padding: 12px 18px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}
.starter-nav .wp-block-navigation-item a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--wp--preset--color--primary, #2563EB);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.starter-nav .wp-block-navigation-item a:hover::after,
.starter-nav .wp-block-navigation-item.current-menu-item a::after {
    transform: scaleX(1);
}
.starter-nav .wp-block-navigation-item a:hover {
    color: var(--wp--preset--color--primary, #2563EB) !important;
}

/* CTA button in nav */
.starter-nav-cta a {
    background: var(--wp--preset--color--primary, #2563EB) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}
.starter-nav-cta a::after {
    display: none !important;
}
.starter-nav-cta a:hover {
    background: var(--wp--preset--color--dark-primary, #1D4ED8) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */

.starter-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.starter-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.15;
    font-weight: 800;
}
.starter-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Hero with gradient background */
.starter-hero-gradient {
    background: linear-gradient(135deg, var(--wp--preset--color--secondary, #1E293B) 0%, var(--wp--preset--color--dark-gray, #334155) 100%);
    color: #fff;
}
.starter-hero-gradient h1 { color: #fff; }

/* Hero with image background (use via wp:cover) */
.starter-hero-image {
    color: #fff;
}
.starter-hero-image h1 { color: #fff; }

/* Hero split (2 columns) */
.starter-hero-split {
    text-align: left;
    padding: 80px 20px;
}
.starter-hero-split h1 {
    margin-bottom: 1.5rem;
}
.starter-hero-split img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ============================================
   SECTION SHARED STYLES
   ============================================ */

.starter-section {
    padding: 80px 0;
}
.starter-section-alt {
    padding: 80px 0;
    background: var(--wp--preset--color--light-gray, #F8FAFC);
}
.starter-section-dark {
    padding: 80px 0;
    background: var(--wp--preset--color--secondary, #1E293B);
    color: #e2e8f0;
}
.starter-section-dark h2,
.starter-section-dark h3 {
    color: #fff;
}

.starter-section-title {
    text-align: center;
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}
.starter-section-subtitle {
    text-align: center;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.starter-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.starter-service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}
.starter-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: var(--wp--preset--color--primary, #2563EB);
}
.starter-service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}
.starter-service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.starter-service-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}
.starter-service-card a {
    display: inline-block;
    margin-top: 16px;
    color: var(--wp--preset--color--primary, #2563EB);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}
.starter-service-card a:hover {
    text-decoration: underline;
}

/* Services list (alternating layout) */
.starter-service-row {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
}
.starter-service-row:nth-child(even) {
    flex-direction: row-reverse;
}
.starter-service-row img {
    border-radius: 12px;
    max-width: 45%;
}

/* ============================================
   ABOUT / NUMBERS SECTION
   ============================================ */

.starter-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    text-align: center;
}
.starter-number-item {
    padding: 24px;
}
.starter-number-item .number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--wp--preset--color--primary, #2563EB);
    display: block;
    line-height: 1.1;
    margin-bottom: 8px;
}
.starter-number-item .label {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================
   ADVANTAGES / FEATURES
   ============================================ */

.starter-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}
.starter-advantage {
    text-align: center;
    padding: 32px 20px;
}
.starter-advantage .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}
.starter-advantage h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.starter-advantage p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   PROCESS STEPS (Cum lucrăm)
   ============================================ */

.starter-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    counter-reset: process;
}
.starter-process-step {
    text-align: center;
    padding: 24px;
    position: relative;
}
.starter-process-step::before {
    counter-increment: process;
    content: counter(process);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--wp--preset--color--primary, #2563EB);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.starter-process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.starter-process-step p {
    color: #64748b;
    font-size: 0.9rem;
}

/* ============================================
   PORTFOLIO / GALERIE
   ============================================ */

.starter-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.starter-portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
}
.starter-portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.starter-portfolio-item:hover img {
    transform: scale(1.05);
}
.starter-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}
.starter-portfolio-item:hover .starter-portfolio-overlay {
    opacity: 1;
}
.starter-portfolio-overlay h3 {
    color: #fff;
    font-size: 1rem;
    margin: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.starter-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.starter-testimonial {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    position: relative;
}
.starter-testimonial::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 4rem;
    color: var(--wp--preset--color--primary, #2563EB);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}
.starter-testimonial p {
    font-style: italic;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}
.starter-testimonial-author {
    font-weight: 600;
    color: var(--wp--preset--color--secondary, #1E293B);
}
.starter-testimonial-role {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ============================================
   TEAM
   ============================================ */

.starter-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    text-align: center;
}
.starter-team-member img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid var(--wp--preset--color--light-gray, #F8FAFC);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.starter-team-member:hover img {
    transform: scale(1.05);
}
.starter-team-member h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.starter-team-member p {
    color: #64748b;
    font-size: 0.9rem;
}

/* ============================================
   CTA BANNER
   ============================================ */

.starter-cta {
    background: linear-gradient(135deg, var(--wp--preset--color--primary, #2563EB) 0%, var(--wp--preset--color--dark-primary, #1D4ED8) 100%);
    color: #fff;
    padding: 72px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}
.starter-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.starter-cta h2 {
    color: #fff;
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}
.starter-cta p {
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.starter-cta .wp-block-button .wp-block-button__link {
    background: #fff;
    color: var(--wp--preset--color--primary, #2563EB);
    font-weight: 700;
    border-radius: 8px;
    padding: 14px 32px;
    transition: all 0.3s;
}
.starter-cta .wp-block-button .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ============================================
   PARTNERS / BRANDS
   ============================================ */

.starter-partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
}
.starter-partners img {
    max-height: 45px;
    filter: grayscale(1);
    opacity: 0.5;
    transition: all 0.3s;
}
.starter-partners img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ============================================
   FAQ / ACCORDION
   ============================================ */

.starter-faq details {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.starter-faq details[open] {
    border-color: var(--wp--preset--color--primary, #2563EB);
}
.starter-faq summary {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.starter-faq summary:hover {
    background: var(--wp--preset--color--light-gray, #F8FAFC);
}
.starter-faq summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--wp--preset--color--primary, #2563EB);
    transition: transform 0.3s;
}
.starter-faq details[open] summary::after {
    content: '−';
}
.starter-faq details > div,
.starter-faq details > p {
    padding: 0 24px 18px;
    color: #64748b;
    line-height: 1.7;
}

/* ============================================
   CONTACT FORM (CF7)
   ============================================ */

.starter-contact-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
}

.global-cf7-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.global-cf7-col {
    flex: 1;
}
.global-cf7-col label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--wp--preset--color--dark-gray, #334155);
    margin-bottom: 6px;
}

.starter-contact-form .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.starter-contact-form .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary, #2563EB);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: #fff;
}
.starter-contact-form textarea.wpcf7-form-control {
    min-height: 120px;
    resize: vertical;
}
.starter-contact-form .wpcf7-submit {
    background: var(--wp--preset--color--primary, #2563EB);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s, transform 0.2s;
    margin-top: 8px;
}
.starter-contact-form .wpcf7-submit:hover {
    background: var(--wp--preset--color--dark-primary, #1D4ED8);
    transform: translateY(-1px);
}
.starter-contact-form .wpcf7-not-valid-tip {
    color: #EF4444;
    font-size: 0.8rem;
    margin-top: 4px;
}
.starter-contact-form .wpcf7-response-output {
    border-radius: 8px !important;
    padding: 12px 16px !important;
}

/* ============================================
   FOOTER
   ============================================ */

.starter-footer {
    background: var(--wp--preset--color--secondary, #1E293B);
    color: #94a3b8;
    padding: 64px 0 24px;
}
.starter-footer h3,
.starter-footer h4 {
    color: #f1f5f9;
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.starter-footer h3::after,
.starter-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--wp--preset--color--primary, #2563EB);
}
.starter-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.starter-footer a:hover {
    color: var(--wp--preset--color--accent, #F59E0B);
}
.starter-footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    margin-top: 48px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}
.starter-footer-bottom a {
    color: #94a3b8;
}
.starter-footer-bottom a:hover {
    color: #f1f5f9;
}

/* Social links */
.starter-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.starter-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: #94a3b8;
    transition: all 0.3s;
    font-size: 1.1rem;
}
.starter-social a:hover {
    background: var(--wp--preset--color--primary, #2563EB);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */

.starter-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
}
.starter-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */

.starter-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 92px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--wp--preset--color--secondary, #1E293B);
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.starter-scroll-top:hover {
    background: var(--wp--preset--color--primary, #2563EB);
    transform: translateY(-2px);
}
.starter-scroll-top.visible {
    display: flex;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.starter-breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: #94a3b8;
}
.starter-breadcrumb a {
    color: var(--wp--preset--color--primary, #2563EB);
    text-decoration: none;
}
.starter-breadcrumb a:hover {
    text-decoration: underline;
}

/* ============================================
   CUSTOM SELECTION
   ============================================ */

::selection {
    background-color: var(--wp--preset--color--primary, #2563EB);
    color: #fff;
}

/* ============================================
   ANIMATIONS — Subtle fade-in on scroll
   ============================================ */

.starter-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.starter-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .starter-hero {
        padding: 60px 16px;
        min-height: 400px;
    }
    .starter-section,
    .starter-section-alt,
    .starter-section-dark {
        padding: 48px 0;
    }
    .starter-services-grid,
    .starter-advantages,
    .starter-numbers {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .starter-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .starter-testimonials {
        grid-template-columns: 1fr;
    }
    .starter-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .starter-service-row {
        flex-direction: column !important;
        gap: 24px;
    }
    .starter-service-row img {
        max-width: 100%;
    }
    .starter-cta {
        padding: 48px 16px;
        border-radius: 12px;
        margin: 20px 0;
    }
    .global-cf7-row {
        flex-direction: column;
        gap: 12px;
    }
    .starter-contact-form {
        padding: 24px;
    }
    .starter-process {
        grid-template-columns: 1fr;
    }
    .starter-footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 480px) {
    .starter-portfolio-grid {
        grid-template-columns: 1fr;
    }
    .starter-team-grid {
        grid-template-columns: 1fr;
    }
    .starter-hero h1 {
        font-size: 1.75rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .starter-whatsapp-float,
    .starter-scroll-top,
    .starter-topbar {
        display: none !important;
    }
    .starter-header {
        position: static;
        box-shadow: none;
    }
}
