/* =============================================================================
   Sarinx Website Stylesheet
   Modern, responsive design with smooth animations
   ============================================================================= */

/* CSS Variables */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-dark-secondary: #1e293b;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-dark: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 4px 15px rgba(59, 130, 246, 0.4);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-width: 1200px;
    --section-padding: 6rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-family); font-size: 1rem; line-height: 1.7; color: var(--text-primary); background-color: var(--bg-primary); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }

/* Container */
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text-primary); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 2rem; font-size: 1rem; font-weight: 600; border-radius: var(--radius-full); border: none; cursor: pointer; transition: all var(--transition-normal); text-decoration: none; }
.btn-primary { background: var(--gradient-primary); color: white; box-shadow: var(--shadow-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5); }
.btn-secondary { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background: var(--primary-color); color: white; }
.btn-full { width: 100%; }

/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); transition: all var(--transition-normal); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-icon { width: 40px; height: 40px; background: var(--gradient-primary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; color: white; }
.logo-text { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-weight: 500; color: var(--text-secondary); position: relative; padding: 0.5rem 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gradient-primary); transition: width var(--transition-normal); }
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu-btn span { width: 24px; height: 2px; background: var(--text-primary); transition: all var(--transition-normal); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; background: var(--gradient-dark); position: relative; overflow: hidden; padding-top: 80px; }
.hero .container { display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.hero-content { flex: 1; max-width: 600px; z-index: 2; }
.hero-title { font-size: 3.5rem; color: white; margin-bottom: 1.5rem; line-height: 1.1; }
.hero-title .highlight { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-light); margin-bottom: 2.5rem; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-buttons .btn-secondary { border-color: rgba(255, 255, 255, 0.3); color: white; }
.hero-buttons .btn-secondary:hover { background: white; color: var(--text-primary); border-color: white; }
.hero-visual { flex: 1; position: relative; height: 500px; }
.hero-shape { position: absolute; border-radius: 50%; opacity: 0.15; animation: float 6s ease-in-out infinite; }
.shape-1 { width: 400px; height: 400px; background: var(--primary-color); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.shape-2 { width: 250px; height: 250px; background: var(--secondary-color); top: 10%; right: 10%; animation-delay: -2s; }
.shape-3 { width: 150px; height: 150px; background: var(--accent-color); bottom: 20%; left: 20%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } }

/* About */
.about { padding: var(--section-padding) 0; background: var(--bg-secondary); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.about-card { background: white; padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); text-align: center; transition: all var(--transition-normal); }
.about-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.about-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.about-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-primary); }
.about-card p { color: var(--text-secondary); }

/* Services */
.services { padding: var(--section-padding) 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.service-card { background: white; padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid rgba(0, 0, 0, 0.05); transition: all var(--transition-normal); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--gradient-primary); transform: scaleX(0); transform-origin: left; transition: transform var(--transition-normal); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-primary); }
.service-card p { color: var(--text-secondary); }

/* Stats */
.stats { padding: 4rem 0; background: var(--gradient-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; text-align: center; }
.stat-item { color: white; }
.stat-number { display: block; font-size: 3rem; font-weight: 700; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem; }
.stat-label { font-size: 1rem; color: var(--text-light); }

/* Contact */
.contact { padding: var(--section-padding) 0; background: var(--bg-secondary); }
.contact-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { font-size: 1.5rem; line-height: 1; }
.contact-item h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--text-primary); }
.contact-item p { color: var(--text-secondary); }
.contact-form { background: white; padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem 1.25rem; font-size: 1rem; font-family: inherit; border: 2px solid #e2e8f0; border-radius: var(--radius-md); transition: all var(--transition-fast); background: var(--bg-secondary); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); background: white; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* Footer */
.footer { background: var(--bg-dark); color: white; padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-text { color: white; }
.footer-brand p { color: var(--text-light); max-width: 300px; }
.footer-links h4 { color: white; font-size: 1rem; margin-bottom: 1.5rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: var(--text-light); transition: color var(--transition-fast); }
.footer-links a:hover { color: white; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; }
.footer-bottom p { color: var(--text-light); font-size: 0.875rem; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.75rem; }
    .hero-visual { display: none; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-buttons { justify-content: center; }
    .contact-content { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-padding: 4rem; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: white; padding: 2rem; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-lg); }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: flex; }
    .hero-title { font-size: 2.25rem; }
    .hero-subtitle { font-size: 1.125rem; }
    .section-title { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 300px; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .footer-brand p { max-width: 100%; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.875rem; }
    .about-grid, .services-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 2.5rem; }
    .contact-form { padding: 1.5rem; }
}
