/* ======================= Reset and Base Styles ======================= */ * { margin: 0; padding: 0; box-sizing: border-box; } html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* Body styles with font and background */ body { font-family: 'Montserrat', sans-serif; background-color: #f4f4f4; color: #333; line-height: 1.6; font-size: 1rem; transition: background-color 0.3s ease, color 0.3s ease; } /* Links with hover effects */ a { color: inherit; text-decoration: none; transition: color 0.3s ease, transform 0.2s ease; } a:hover { color: #ff3c00; /* Your brand color (orange) */ transform: translateY(-2px); } /* Utility container for layout consistency */ .container { width: 90%; max-width: 1200px; margin: 0 auto; } /* ======================= HEADER AND NAVIGATION ======================= */ .header { background-color: #000; padding: 20px 40px; position: sticky; top: 0; width: 100%; z-index: 999; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; transition: box-shadow 0.3s ease, background-color 0.3s ease; } .header.shadow { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); background-color: #111; /* Slightly lighter on scroll */ } /* Logo styles */ .logo { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 700; letter-spacing: 2px; color: #fff; cursor: pointer; transition: transform 0.2s ease, letter-spacing 0.2s ease; } .logo:hover { transform: scale(1.05); letter-spacing: 3px; } /* Navigation styles */ nav { display: flex; align-items: center; margin-top: 10px; } nav ul { list-style: none; display: flex; gap: 20px; } nav ul li a { font-weight: 500; font-size: 1rem; padding: 8px 12px; border-radius: 4px; transition: background-color 0.3s ease, box-shadow 0.3s ease; color: #fff; } nav ul li a:hover { background-color: rgba(255, 60, 0, 0.1); box-shadow: 0 2px 4px rgba(0,0,0,0.2); } /* Responsive navigation toggle (if needed for mobile) */ @media(max-width: 768px) { nav { width: 100%; } nav ul { flex-direction: column; width: 100%; } nav ul li { width: 100%; margin: 10px 0; } } /* ======================= HERO SECTION ======================= */ .hero { background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?ixlib=rb-4.0.4&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover; height: 80vh; position: relative; display: flex; align-items: center; justify-content: center; padding: 30px 20px; color: #fff; text-align: center; overflow: hidden; transition: background 0.5s ease; } .hero::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.4); z-index: 1; } .hero-content { position: relative; z-index: 2; max-width: 800px; width: 100%; padding: 20px; } .hero h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 700; line-height: 1.2; text-shadow: 2px 2px 4px rgba(0,0,0,0.6); animation: fadeInDown 1s ease-out; } .hero p { font-size: 1.3rem; margin-bottom: 30px; line-height: 1.5; animation: fadeInUp 1s ease-out; } .btn-primary { display: inline-block; padding: 14px 28px; background-color: #ff3c00; color: #fff; font-size: 1.2rem; border: none; border-radius: 50px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: background-color 0.3s ease, transform 0.2s ease; } .btn-primary:hover { background-color: #e63500; transform: scale(1.05); } /* ======================= SECTION STYLES ======================= */ .section { padding: 60px 20px; background-color: #fff; margin: 40px 0; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: box-shadow 0.3s ease; } .section:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.2); } .section-title { font-size: 2.8rem; text-align: center; margin-bottom: 50px; font-weight: 700; letter-spacing: 1px; position: relative; display: inline-block; } .section-title::after { content: ""; display: block; width: 80px; height: 4px; background-color: #ff3c00; margin: 10px auto 0; border-radius: 2px; } /* About & Contact Text */ .about-text, .contact-text { max-width: 900px; margin: 0 auto; font-size: 1.2rem; line-height: 1.6; text-align: center; padding: 0 20px; } /* ======================= PRODUCT GRID & CARDS ======================= */ .product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; } .product-card { background-color: #fff; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; } .product-card:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(0,0,0,0.2); } .product-image { width: 100%; height: 300px; object-fit: cover; transition: transform 0.3s ease; } .product-card:hover .product-image { transform: scale(1.05); } .product-info { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; } .product-name { font-size: 1.4rem; margin-bottom: 10px; font-weight: 600; transition: color 0.3s ease; } .product-name:hover { color: #ff3c00; } .product-price { font-size: 1.2rem; font-weight: 700; color: #ff3c00; margin-top: 10px; } .btn-secondary { margin-top: 15px; padding: 10px 20px; background-color: transparent; border: 2px solid #ff3c00; border-radius: 50px; font-weight: 600; color: #ff3c00; cursor: pointer; font-size: 1rem; transition: background-color 0.3s ease, color 0.3s ease; } .btn-secondary:hover { background-color: #ff3c00; color: #fff; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } /* ======================= FOOTER & SOCIAL ICONS ======================= */ footer { background-color: #000; color: #fff; padding: 40px 20px; margin-top: 60px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; } /* Footer text styling */ footer p { font-size: 1rem; margin-bottom: 10px; } /* Social icons styles */ .social-icons { display: flex; gap: 20px; font-size: 1.8rem; } .social-link { color: #fff; transition: transform 0.2s ease, color 0.3s ease; } .social-link:hover { color: #ff3c00; transform: scale(1.1); } /* ======================= INPUT & FORM STYLES ======================= */ input[type="text"], input[type="email"], textarea { width: 100%; padding: 12px 15px; border-radius: 8px; border: 1px solid #ccc; font-family: 'Montserrat', sans-serif; font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; margin-top: 10px; margin-bottom: 20px; } input[type="text"]:focus, input[type="email"]:focus, textarea:focus { border-color: #ff3c00; box-shadow: 0 0 8px rgba(255, 60, 0, 0.3); } /* SUBMIT BUTTONS & CTA Buttons */ button, .btn { font-family: 'Montserrat', sans-serif; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; } button:disabled { opacity: 0.6; cursor: not-allowed; } .btn { display: inline-block; padding: 14px 28px; border-radius: 50px; font-size: 1.2rem; border: none; background-color: #ff3c00; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.2); } .btn:hover { background-color: #e63500; transform: scale(1.05); } .btn-outline { background-color: transparent; border: 2px solid #ff3c00; color: #ff3c00; } .btn-outline:hover { background-color: #ff3c00; color: #fff; } /* ======================= Animations & Effects ======================= */ @keyframes fadeInDown { 0% { opacity: 0; transform: translateY(-30px); } 100% { opacity: 1; transform: translateY(0); } } @keyframes fadeInUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } } /* ======================= Responsive Design ======================= */ @media(max-width: 1024px) { /* Header adjustments */ .header { padding: 15px 30px; } /* Hero text resize */ .hero h1 { font-size: 2.5rem; } /* Section titles resize */ .section-title { font-size: 2.2rem; } } @media(max-width: 768px) { /* Stack header vertically */ .header { flex-direction: column; align-items: flex-start; } nav { width: 100%; } nav ul { flex-direction: column; width: 100%; } nav ul li { margin: 10px 0; } /* Hero height adjustment */ .hero { height: 60vh; } /* Text sizes */ .hero h1 { font-size: 2rem; } /* Product images */ .product-image { height: 200px; } /* Section titles */ .section-title { font-size: 2rem; } } @media(max-width: 480px) { /* Smaller fonts for tiny screens */ .hero h1 { font-size: 1.8rem; } /* Footer padding */ footer { padding: 20px 10px; } /* Social icon size */ .social-link { font-size: 1.5rem; } }