/* =========================================
   Websio - Modern Web Agency Style
========================================= */

:root {
    /* Color Palette */
    --primary: #0f172a; /* Deep Slate Blue */
    --primary-light: #1e293b;
    --accent: #3b82f6; /* Modern Blue */
    --accent-hover: #2563eb;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 24px;
}

/* Base Styles */
* {
    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(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--bg-white) !important;
}

.mt-4 {
    margin-top: 2rem;
}

.w-100 {
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.dot {
    color: var(--accent);
}

.highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border-color);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-links a:hover {
    color: var(--accent);
}

.btn-nav {
    color: white !important;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    transition: var(--transition);
    padding: 80px 32px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 28px;
    right: 24px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-links a {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-badge i {
    color: #fbbf24;
    margin-right: 6px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

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

/* Hero Visuals */
.hero-visuals {
    position: relative;
    height: 500px;
}

/* Monitor Mockup */
.monitor-mockup {
    position: absolute;
    right: 0;
    top: 0;
    width: 450px;
    z-index: 1;
}

.monitor-screen {
    width: 100%;
    height: 280px;
    background-color: #1e1e1e;
    border-radius: 12px;
    border: 12px solid #e1e4e8;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

.monitor-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 5s ease;
}

.monitor-screen:hover img {
    transform: translateY(calc(-100% + 280px));
}

.monitor-stand {
    width: 40px;
    height: 50px;
    background: linear-gradient(to right, #d1d5db, #9ca3af);
    margin: 0 auto;
}

.monitor-base {
    width: 120px;
    height: 8px;
    background-color: #9ca3af;
    margin: 0 auto;
    border-radius: 4px 4px 0 0;
}

/* Phone Mockup */
.phone-mockup {
    position: absolute;
    left: -20px;
    bottom: 20px;
    width: 160px;
    height: 320px;
    background-color: #fff;
    border: 8px solid #111827;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    z-index: 2;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 12px;
    background-color: #111827;
    border-radius: 0 0 8px 8px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #f3f4f6;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 3s ease;
}

.phone-screen:hover img {
    transform: translateY(calc(-100% + 304px));
}

/* Animations */
.pulse-anim {
    animation: floating 6s ease-in-out infinite;
}

.float-anim {
    animation: floating 4s ease-in-out infinite alternate;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Social Proof */
.social-proof {
    border-top: 1px solid var(--border-color);
}

.section-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

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

.testimonial-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 1.5rem;
    color: rgba(59, 130, 246, 0.2);
    margin-bottom: 16px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 24px;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-name {
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.expertise-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.expertise-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.highlight-bg {
    background-color: var(--accent);
}

.expertise-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.expertise-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Services Section */
.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-list {
    margin-top: 24px;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.125rem;
    font-weight: 500;
}

.services-list i {
    color: var(--accent);
    font-size: 1.25rem;
}

.wrapper-shadow {
    position: relative;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    background: white;
    padding: 12px;
}

.rounded-image {
    width: 100%;
    border-radius: var(--border-radius);
    display: block;
    object-fit: cover;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.portfolio-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-visual {
    background-color: #e2e8f0;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.portfolio-info {
    padding: 32px;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.portfolio-info p {
    color: var(--text-light);
}

/* Simple Mac Mockup */
.macbook-mockup {
    width: 100%;
    max-width: 400px;
}

.macbook-screen {
    width: 100%;
    height: 220px;
    background-color: black;
    border-radius: 8px 8px 0 0;
    border: 8px solid #333;
    border-bottom: 16px solid #333;
    overflow: hidden;
}

.macbook-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.macbook-base {
    width: 120%;
    margin-left: -10%;
    height: 12px;
    background-color: #b0b4b8;
    border-radius: 0 0 12px 12px;
}

/* Simple Phone Mockup */
.phone-mockup-simple {
    width: 160px;
    height: 320px;
    background-color: #111;
    border-radius: 20px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
}

.phone-screen-simple {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.phone-screen-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Why Us Section */
.features-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.feature-item {
    flex: 1 1 300px;
    min-width: 250px;
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 24px;
}

.feature-item h4 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    color: white;
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 40px;
    font-size: 1.125rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.c-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-item h5 {
    color: #cbd5e1;
    font-size: 0.875rem;
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-item a, .contact-item span {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

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

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    color: var(--text-main);
}

.contact-form h3 {
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    padding: 80px 0 24px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand p {
    color: var(--text-light);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--accent);
}

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

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

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.domain-link {
    color: var(--primary);
    font-weight: 600;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa:hover {
    transform: scale(1.1);
}

/* Responsive Variables */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-container {
        gap: 30px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-container,
    .services-content,
    .portfolio-grid,
    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-visuals {
        height: 400px;
    }
    
    .monitor-mockup {
        width: 100%;
        max-width: 450px;
        position: relative;
        margin: 0 auto;
    }

    .phone-mockup {
        left: 20px;
        bottom: -20px;
    }

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

    .section-padding {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem;
    }

    .footer-content {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}
