/* CONSTRCT unlimited - Custom Styles */
/* Following warm-ai design guidelines */

/* CSS Variables */
:root {
    /* Backgrounds */
    --bg-page: #FFF9F2;
    --bg-card: #FFFFFF;
    --bg-section: rgba(255, 244, 232, 0.6);
    --bg-overlay: rgba(255, 255, 255, 0.95);
    
    /* Text */
    --text-primary: #232323;
    --text-secondary: #353535;
    --text-muted: #353535;
    
    /* Borders */
    --border-primary: #999999;
    --border-input: #999999;
    --border-input-focus: #4D4D4D;
    --border-light: rgba(153, 153, 153, 0.3);
    
    /* Accents */
    --accent-purple-200: #F9E8FA;
    --accent-blue-200: #E4EDF8;
    --accent-orange-200: #FEEFDC;
    --accent-pink-200: #FCC9C7;
    --accent-green-200: #b8d1ba;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(0, 0, 0, 0.1);
    
    /* Gradients */
    --gradient-hero-warm: linear-gradient(
        180deg,
        rgba(252, 202, 199, 0.6) 0%,
        rgba(253, 215, 197, 0.4) 25%,
        rgba(254, 241, 229, 0.3) 50%,
        rgba(255, 250, 243, 0.5) 75%,
        rgba(255, 249, 242, 1) 100%
    );
}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.heading-hero {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.heading-1 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.heading-2 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    line-height: 1.4;
    font-weight: 500;
    color: var(--text-primary);
}

.heading-3 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.4;
    font-weight: 500;
    color: var(--text-primary);
}

.body-large {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.6;
    font-weight: 400;
    color: var(--text-primary);
}

.body-medium {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--text-primary);
}

.body-small {
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 400;
    color: var(--text-secondary);
}

.mono-text {
    font-family: 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', monospace;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Header */
#header {
    background: var(--bg-overlay);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn-primary {
    background: var(--text-primary);
    color: white;
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1.2;
}

.btn-primary:hover {
    background: var(--text-secondary);
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1.2;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.btn-secondary:active {
    transform: scale(0.98);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero-warm);
    position: relative;
}

.parallax-bg {
    background: radial-gradient(ellipse at 30% 20%, rgba(252, 202, 199, 0.4) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(184, 209, 186, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(228, 237, 248, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-announcement {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2rem;
    padding: 0.35rem 1rem;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Floating Elements Animation */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Fade In Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

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

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Cards */
.focus-card,
.service-card,
.blog-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Parallax Sections */
.parallax-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 249, 242, 0.3) 100%);
    pointer-events: none;
}

.parallax-bg-about {
    background: radial-gradient(ellipse at 80% 20%, rgba(248, 216, 251, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

/* Form Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--border-input-focus) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Back to Top Button */
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
#mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Status Messages */
#form-status.success {
    display: block;
    background: var(--accent-green-200);
    color: #166534;
}

#form-status.error {
    display: block;
    background: var(--accent-pink-200);
    color: #991b1b;
}

/* Selection Color */
::selection {
    background: var(--accent-pink-200);
    color: var(--text-primary);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .hero-section {
        min-height: 90vh;
        padding-top: 6rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
    }
    
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 8rem;
    }
}

/* Smooth Section Scroll Offset */
section[id] {
    scroll-margin-top: 80px;
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

/* Why Card Hover */
.why-card {
    transition: background-color 0.2s ease;
}

/* Print Styles */
@media print {
    #header,
    #back-to-top,
    .floating-element {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    section {
        page-break-inside: avoid;
    }
}