📂 FileMgr
📍
/home/u414903541/domains/greenedgeinfratech.com/public_html/assets/css
✏️ Edit File: /home/u414903541/domains/greenedgeinfratech.com/public_html/assets/css/style.css
⬅ Kembali
:root { --primary: #10b981; --primary-dark: #059669; --secondary: #3b82f6; --foreground: #1f2937; --muted-foreground: #6b7280; --background: #ffffff; --muted: #f3f4f6; --border: #e5e7eb; --radius: 0.5rem; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', sans-serif; color: var(--foreground); line-height: 1.6; background-color: var(--background); padding-top: 80px; } .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; } /* Header Styles */ .glass-card { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); } .header { position: fixed; top: 0; width: 100%; z-index: 1000; border-bottom: 1px solid var(--border); } .header-content { display: flex; align-items: center; justify-content: space-between; height: 80px; } .logo { display: flex; align-items: center; gap: 0.75rem; } .logo-icon { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 1.125rem; } .logo-text h1 { font-weight: 700; font-size: 1.25rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .logo-text p { font-size: 0.75rem; color: var(--muted-foreground); } .nav-desktop { display: none; gap: 2rem; } @media (min-width: 768px) { .nav-desktop { display: flex; } } .nav-link { color: var(--foreground); font-weight: 500; text-decoration: none; transition: color 0.3s ease; } .nav-link:hover { color: var(--primary); } .contact-info { display: none; align-items: center; gap: 1rem; } @media (min-width: 1024px) { .contact-info { display: flex; } } .contact-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1.25rem; border-radius: var(--radius); font-weight: 500; font-size: 0.875rem; cursor: pointer; transition: all 0.3s ease; border: none; } .btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25); } .mobile-menu-btn { display: block; padding: 0.5rem; border-radius: var(--radius); background: transparent; border: none; cursor: pointer; color: var(--foreground); } @media (min-width: 768px) { .mobile-menu-btn { display: none; } } .mobile-menu { display: none; padding: 1rem 0; border-top: 1px solid var(--border); } .mobile-menu.open { display: block; } .mobile-nav { display: flex; flex-direction: column; gap: 0.75rem; } .mobile-nav-link { display: block; padding: 0.75rem 0; color: var(--foreground); font-weight: 500; text-decoration: none; transition: color 0.3s ease; } .mobile-nav-link:hover { color: var(--primary); } .mobile-contact { padding-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; } /* Hero Section */ .hero { padding: 4rem 0; background: linear-gradient(120deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%); border-radius: 1rem; margin-bottom: 4rem; } .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; } .hero-title { font-size: 2.5rem; font-weight: 700; line-height: 1.2; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; } @media (min-width: 768px) { .hero-title { font-size: 3.5rem; } } .hero-subtitle { font-size: 1.25rem; color: var(--muted-foreground); max-width: 600px; margin: 0 auto; } .hero-cta { display: flex; gap: 1rem; margin-top: 1rem; } .btn-secondary { background: transparent; color: var(--primary); border: 1px solid var(--primary); } .btn-secondary:hover { background: var(--primary); color: white; } /* Services Section */ .section { padding: 4rem 0; } .section-title { font-size: 2.25rem; font-weight: 700; text-align: center; margin-bottom: 3rem; position: relative; } .section-title:after { content: ''; position: absolute; bottom: -0.75rem; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 2px; } .services-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; } @media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } } .service-card { background: white; border-radius: var(--radius); padding: 2rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; } .service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .service-icon { width: 60px; height: 60px; margin: 0 auto 1.5rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; } .service-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; } .service-description { color: var(--muted-foreground); } /* Calculator Section */ .calculator { background: linear-gradient(120deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%); border-radius: 1rem; padding: 3rem; margin: 4rem 0; } .calculator-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 2rem; } .calculator-form { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 500px; margin: 0 auto; } @media (min-width: 768px) { .calculator-form { grid-template-columns: repeat(2, 1fr); } } .form-group { display: flex; flex-direction: column; gap: 0.5rem; } .form-label { font-weight: 500; } .form-input { padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; transition: border-color 0.3s ease; } .form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1); } .calculator-result { margin-top: 2rem; padding: 1.5rem; background: white; border-radius: var(--radius); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); text-align: center; display: none; } .calculator-result.show { display: block; } .result-title { font-weight: 600; margin-bottom: 0.5rem; } .result-value { font-size: 1.5rem; font-weight: 700; color: var(--primary); } /* Footer */ .footer { background: var(--foreground); color: white; padding: 4rem 0 2rem; margin-top: 4rem; } .footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; } @media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } } .footer-brand { display: flex; flex-direction: column; gap: 1rem; } .footer-logo { display: flex; align-items: center; gap: 0.75rem; } .footer-description { color: #d1d5db; line-height: 1.6; } .footer-heading { font-size: 1.125rem; font-weight: 600; margin-bottom: 1.25rem; } .footer-links { display: flex; flex-direction: column; gap: 0.75rem; } .footer-link { color: #d1d5db; text-decoration: none; transition: color 0.3s ease; } .footer-link:hover { color: var(--primary); } .footer-contact { display: flex; flex-direction: column; gap: 1rem; } .footer-contact-item { display: flex; align-items: center; gap: 0.75rem; color: #d1d5db; } .footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #374151; text-align: center; color: #9ca3af; }
💾 Simpan File
Batal
⬅ Naik ke assets
1 item
Nama
Tipe
Ukuran
Diubah
Aksi
🎨
style.css
css
8.6 KB
2025-09-13 07:02
✏️ Edit
👁️ View
🗑 Hapus