/* === SALON EXCHANGE STYLING === */ /* Box sizing for more predictable layouts */ * { box-sizing: border-box; } :root { --bg: #FAF6EE; --text: #2F3E37; --accent: #C7A977; --secondary: #ECE7E2; --button-dark: #3E514F; --button-light: #F1EDE2; --button-hover: #E5D5C5; } body { background: var(--bg); color: var(--text); font-family: 'Georgia', serif; margin: 0; padding: 60px 40px; } #salon-exchange { background-color: #FFFEF7; border-radius: 25px; max-width: 460px; margin: auto; overflow: hidden; /* Ensures content doesn't spill out of rounded corners */ } header { text-align: center; padding: 4rem 1rem 2rem; } .hero { text-align: center; padding: 40px 1rem 2rem; } h1 { font-size: 2.5rem; margin: 0; font-weight: normal; } h2 { font-weight: normal; margin: 0; } .subtitle { font-size: 22px; max-width: 350px; margin: 15px auto; } .trusted { font-style: normal; font-family: Arial, Helvetica, sans-serif; margin: 0; font-size: 14px; } p.mission { font-size: 1.25rem; margin: 1rem 0; } .buttons, .cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 20px; } .buttons a, .cta-buttons a { padding: 8px 20px; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: normal; transition: all 0.3s ease; font-family: Arial, Helvetica, sans-serif; } /* Button styles with hover effects */ .btn-dark { background: var(--button-dark); color: white; } .btn-dark:hover { background: #2A3B39; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .btn-light { background: var(--button-light); color: var(--text); } .btn-light:hover { background: var(--button-hover); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } /* Learn More buttons in cards */ .btn-secondary { display: inline-block; margin-top: 10px; font-family: Arial, Helvetica, sans-serif; background: var(--button-light); color: var(--text); padding: 8px 12px; font-size: 12px; font-weight: normal; border-radius: 6px; text-decoration: none; transition: all 0.3s ease; } .btn-secondary:hover { background: var(--secondary); transform: translateY(-1px); } .grid { display: flex; justify-content: center; gap: 15px; } .features { padding: 0 20px; } .feature-card { background: white; border-radius: 12px; padding: 15px; max-width: 130px; text-align: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; } .feature-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); } .feature-card img { height: 27px; width: auto; margin-bottom: 10px; } .feature-card h3 { font-weight: 500; margin-top: 0; margin-bottom: 10px; } .feature-card p { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 11px; } .testimonial { font-style: italic; text-align: center; margin: 2rem auto; max-width: 600px; padding: 0 1rem; } .testimonial blockquote { margin: 0; } .testimonial blockquote, .testimonial cite { font-size: 12px; font-family: Arial, Helvetica, sans-serif; } .why { text-align: center; padding: 0 1rem; } .why ul { list-style: none; padding: 0 30px; columns: 2; max-width: 600px; margin: 0 auto; text-align: start; } .why-list { margin-top: 20px !important; } .why li { font-size: 14px; font-family: Arial, Helvetica, sans-serif; padding-bottom: 8px; } .why li::before { content: "✓ "; color: var(--text); font-weight: bold; } /* How It Works Section - Improved */ .how { text-align: center; padding: 35px 1rem 15px; } .how-steps { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-top: 30px; position: relative; } /* Create connecting lines with CSS instead of images */ .how-steps::before { content: ''; position: absolute; top: 12px; left: 25%; right: 25%; height: 2px; background: linear-gradient(to right, transparent 0%, #ddd 10%, #ddd 40%, transparent 40%, transparent 60%, #ddd 60%, #ddd 90%, transparent 100%); z-index: 0; } .how-steps .step { position: relative; z-index: 1; background: white; padding: 0 10px; } .how-steps .step img { height: 25px; width: auto; } .how-steps .step p { margin: 5px 0 0 0; font-size: 10px; font-family: Arial, Helvetica, sans-serif; } /* Remove the old shape styling since we're using CSS lines */ .how .shape { display: none; } .final-cta { background: var(--button-dark); color: white; padding: 15px 30px; display: flex; justify-content: center; align-items: center; gap: 10px; } .final-cta h2 { font-size: 14px; font-family: Arial, Helvetica, sans-serif; } .final-cta a { background: white; color: var(--text); padding: 10px 15px; border-radius: 6px; font-weight: bold; text-decoration: none; display: inline-block; font-size: 12px; font-family: Arial, Helvetica, sans-serif; min-width: 120px; text-align: center; transition: all 0.3s ease; } .final-cta a:hover { background: var(--button-light); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } footer { padding: 15px 30px; display: flex; align-items: center; justify-content: space-between; } footer h2 { font-size: 20px; } footer ul { display: flex; gap: 15px; list-style: none; margin: 0; padding: 0; } footer ul li a { text-decoration: none; color: #000; font-size: 12px; font-family: Arial, Helvetica, sans-serif; transition: color 0.3s ease; } footer ul li a:hover { color: var(--accent); text-decoration: underline; } /* Mobile Responsiveness - Improved */ @media (max-width: 600px) { /* Reduce padding on mobile */ body { padding: 20px 15px; } h1 { font-size: 1.75rem; } .subtitle { font-size: 18px; } .why ul { columns: 1; } .grid { flex-direction: column; align-items: center; } /* Stack how-steps vertically on mobile */ .how-steps { flex-direction: column; gap: 1.5rem; } /* Hide connecting line on mobile */ .how-steps::before { display: none; } /* Add vertical line for mobile */ .how-steps .step:not(:last-child)::after { content: ''; position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); width: 2px; height: 15px; background: #ddd; } .buttons { flex-direction: column; align-items: center; width: 100%; } .buttons a, .cta-buttons a { width: 100%; max-width: 200px; text-align: center; } /* Stack final CTA on mobile */ .final-cta { flex-direction: column; text-align: center; padding: 20px; gap: 15px; } .final-cta h2 { margin-bottom: 10px; } /* Stack footer vertically on mobile */ footer { flex-direction: column; text-align: center; gap: 20px; padding: 20px; } footer ul { flex-wrap: wrap; justify-content: center; } }