/*
Theme Name: Vidern Digital Marketing Theme
Description: Custom WordPress theme optimized for Elementor and digital marketing websites
Version: 1.0.0
Author: Vidern
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
}

h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    color: #4a4a4a;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Buttons */
.btn-primary {
    background: #2563eb;
    color: white;
    padding: 18px 36px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    padding: 18px 36px;
    border: 2px solid #2563eb;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* WordPress specific styles */
.wp-block-group {
    margin-bottom: 2rem;
}

.aligncenter {
    text-align: center;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

/* Elementor compatibility */
.elementor-section {
    position: relative;
}

.elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Highlight styles */
.highlight {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.highlight-yellow {
    background: #fef08a;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Header styles */
.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.site-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1a1a1a;
    text-decoration: none;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-menu a {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: #2563eb;
}

/* Footer styles */
.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-widget h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-widget p,
.footer-widget a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-widget a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .site-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-menu {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.skip-link {
    background: #2563eb;
    color: white;
    padding: 8px 16px;
    position: absolute;
    top: -40px;
    left: 6px;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Custom Elementor Widgets Styles */

/* Hero Section Widget */
.hero {
    padding: 8rem 0;
    background: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.hero-cta {
    margin-bottom: 2rem;
}

.cta-subtext {
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.reviews {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews .stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

.hero-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 0;
    vertical-align: top;
}

/* Services Grid Widget */
.services-section {
    padding: 8rem 0;
    background: #f8fafc;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.section-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
    border-color: #2563eb;
}

.service-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.service-card p {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: #4a4a4a;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Competitive Advantage Section */
.competitive-section {
    padding: 8rem 0;
    background: #f8fafc;
}

.competitive-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.competitive-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.competitive-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.competitive-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.competitive-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.image-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.overlay-card {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fbbf24;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 280px;
}

.card-header h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.revenue-chart {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.chart-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 60px;
    margin-bottom: 10px;
}

.bar {
    background: #10b981;
    width: 15px;
    border-radius: 2px 2px 0 0;
    transition: all 0.3s ease;
}

.google-ads-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
}

.google-ads-logo span {
    color: #2563eb;
    font-weight: 700;
}

.rating-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    align-self: center;
}

.rating-badge .stars {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.rating-badge span {
    font-size: 0.9rem;
    color: #4a4a4a;
    font-weight: 500;
}

/* Problem/Solution Section */
.problem-section {
    padding: 8rem 0;
    background: white;
}

.problem-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a1a1a;
    font-size: 3rem;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.problem-card {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
}

.cta-section p {
    margin: 1rem 0 2rem;
    color: #4a4a4a;
}

/* Testimonials Section */
.testimonials-section {
    padding: 8rem 0;
    background: #f8fafc;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-card .stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #4a4a4a;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-details h4 {
    margin: 0;
    color: #1a1a1a;
    font-size: 1rem;
}

.client-details p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 8rem 0;
    background: white;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form-wrapper h2 {
    margin-bottom: 1rem;
}

.form-subtitle {
    margin-bottom: 3rem;
    color: #4a4a4a;
    font-size: 1.125rem;
}

.vidern-contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.guarantee {
    text-align: center;
    margin-top: 1rem;
    color: #10b981;
    font-weight: 600;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

.success-message {
    color: #10b981;
    background: #f0fdf4;
    border: 1px solid #10b981;
}

.error-message {
    color: #ef4444;
    background: #fef2f2;
    border: 1px solid #ef4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .competitive-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title,
    .competitive-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .overlay-card {
        position: static;
        margin: 20px auto 0;
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
