/*
Theme Name: ClickDrag Custom Theme
Description: Custom WordPress theme converted from React components - Landing Page Design
Version: 1.0
Author: Your Name
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #ffffff;
    min-height: 100vh;
    text-rendering: optimizeSpeed;
}

/* Landing Page Container */
.landing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #dbeafe 50%, #e0e7ff 100%);
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.2);
    z-index: 50;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.nav-logo a {
    font-weight: bold;
    font-size: 1.25rem;
    color: #111827;
    text-decoration: none;
}

.nav-menu {
    display: none;
    gap: 2rem;
}

.nav-link {
    background: none;
    border: none;
    color: #374151;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #2563eb;
}

/* Hero Section */
.hero-section {
    padding-top: 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 50%, rgba(79, 70, 229, 0.1) 100%);
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    space-y: 2rem;
}

.hero-headings {
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
}

.location-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.hero-visual {
    display: none;
}

.hero-animation {
    position: relative;
    width: 24rem;
    height: 24rem;
    margin: 0 auto;
    cursor: default;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s infinite;
    pointer-events: auto;
}

.hero-circle-1 {
    inset: 0;
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
}

.hero-circle-2 {
    top: 3rem;
    left: 3rem;
    width: 18rem;
    height: 18rem;
    background: linear-gradient(315deg, #06b6d4, #3b82f6);
    opacity: 0.3;
    animation-delay: 1s;
}

/* Custom cursor states */
.hero-animation.cursor-normal {
    cursor: default;
}

.hero-animation.cursor-amplified .hero-circle-1 {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M3 3L10.07 19.97L12.58 12.58L19.97 10.07L3 3Z" fill="black" stroke="white" stroke-width="1"/></svg>') 6 6, pointer;
}

.hero-animation.cursor-amplified-large .hero-circle-2 {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none"><path d="M3 3L10.07 19.97L12.58 12.58L19.97 10.07L3 3Z" fill="black" stroke="white" stroke-width="1.5"/></svg>') 16 16, pointer;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-outline {
    background: transparent;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Services Section */
#services {
    padding: 5rem 0;
    background: #ffffff;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.services-description {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 42rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #93c5fd;
}

.service-icon {
    color: #2563eb;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.service-description {
    color: #4b5563;
}

/* About Section */
#about {
    padding: 5rem 0;
    background: linear-gradient(90deg, #eff6ff 0%, #eef2ff 100%);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-text {
    space-y: 1.5rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
}

.about-title-accent {
    display: block;
    color: #2563eb;
}

.about-description {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-location {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
}

.location-badge {
    width: 3rem;
    height: 3rem;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-badge svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.location-info h4 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.location-info p {
    color: #4b5563;
}

.about-visual {
    position: relative;
}

.about-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: bold;
    color: rgba(37, 99, 235, 0.3);
}

/* Work Section */
#work {
    padding: 5rem 0;
    background: #ffffff;
}

.work-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.work-header {
    text-align: center;
    margin-bottom: 4rem;
}

.work-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.work-description {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 42rem;
    margin: 0 auto;
}

.work-grid {
    display: grid;
    gap: 2rem;
}

.work-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.work-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.work-image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(37, 99, 235, 0.5);
}

.work-content {
    padding: 1.5rem;
}

.work-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.work-card-description {
    color: #4b5563;
    margin-bottom: 1rem;
}

.work-card .btn {
    transition: all 0.3s ease;
}

.work-card:hover .btn {
    background: #2563eb;
    color: white;
}

/* Contact Section */
#contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #111827, #1e3a8a);
    color: white;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.contact-text {
    space-y: 2rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
}

.contact-info {
    space-y: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #60a5fa;
}

.contact-item span {
    font-size: 1.125rem;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem;
}

.contact-form {
    space-y: 1.5rem;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
}

.form-input::placeholder {
    color: #d1d5db;
}

.form-input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

.form-textarea {
    resize: none;
    min-height: 100px;
}

.contact-form .btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.125rem;
}

/* Footer */
.site-footer-landing {
    background: #111827;
    color: white;
    padding: 2rem 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.footer-logo {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-copyright {
    color: #9ca3af;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
    
    .hero-container {
        padding: 0 2rem;
    }
    
    .hero-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-visual {
        display: block;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .about-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .work-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

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

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    left: 6px;
    top: 7px;
    width: auto;
    height: auto;
    z-index: 999999;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
}