petare-bloom / style.css
spwotton's picture
Manual changes saved
8734e02 verified
/* ========= TOKENS ========= */
:root {
color-scheme: light only;
--font-base: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
--font-display: 'Dancing Script', 'Segoe Script', cursive;
--clr-bg: #FFF9F4;
--clr-surface: #FFFFFF;
--clr-surface-alt: #FFEFE7;
--clr-text: #3E2723;
--clr-text-soft: rgba(62, 39, 35, 0.72);
--clr-accent: #E78A6C;
--clr-accent-soft: #F5B79F;
--clr-gold: #CDA06A;
--clr-line: rgba(62, 39, 35, 0.1);
--shadow-xs: 0 4px 12px rgba(62, 39, 35, 0.08);
--shadow-sm: 0 10px 30px rgba(62, 39, 35, 0.12);
--shadow-md: 0 20px 45px rgba(62, 39, 35, 0.16);
--blur-bg: blur(18px);
--radius-pill: 999px;
--radius-lg: 28px;
--radius-md: 20px;
--radius-sm: 12px;
--transition-base: 220ms ease;
--transition-long: 420ms cubic-bezier(0.19, 1, 0.22, 1);
--container-max: 1200px;
--grid-gap: clamp(1.25rem, 2vw, 2.3rem);
--gradient-soft: linear-gradient(135deg, #FDE9DF 0%, #FFD8CC 40%, #FBD7C3 100%);
--gradient-hero-overlay: linear-gradient(120deg, rgba(62,39,35,0.78), rgba(231,138,108,0.58), rgba(255,249,244,0.55));
}
*, *::before, *::after {
box-sizing: border-box;
}
html { scroll-behavior: smooth; font-size: 100%; }
body {
margin: 0;
font-family: var(--font-base);
background: var(--clr-bg);
color: var(--clr-text);
line-height: 1.65;
-webkit-font-smoothing: antialiased;
}
::selection { background: rgba(231,138,108,0.25); }
/* Layout Helpers */
.container {
width: min(100%, var(--container-max));
margin-inline: auto;
padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.section {
padding-block: clamp(3.5rem, 8vw, 6rem);
}
.section-title {
text-align: center;
font-family: var(--font-display);
font-size: clamp(2.4rem, 5vw, 3.8rem);
color: var(--clr-accent);
margin-bottom: clamp(2.2rem, 5vw, 3.2rem);
position: relative;
}
.section-title::after {
content: '🍪';
display: block;
margin-top: 0.8rem;
font-size: 1.7rem;
opacity: 0.85;
}
/* ========= HERO ========= */
.hero {
min-height: 100vh;
display: grid;
place-items: center;
padding-block: clamp(5rem, 10vw, 8rem);
position: relative;
overflow: hidden;
isolation: isolate;
}
.hero::before {
content: '';
position: absolute;
inset: 0;
background: var(--gradient-hero-overlay);
mix-blend-mode: multiply;
z-index: 1;
}
.hero::after {
content: '';
position: absolute;
inset: 0;
z-index: 1;
pointer-events: none;
background:
radial-gradient(circle at 20% 15%, rgba(255,255,255,0.35), transparent 45%),
radial-gradient(circle at 80% 10%, rgba(255,255,255,0.25), transparent 40%);
filter: blur(12px);
animation: aurora 28s ease-in-out infinite alternate;
}
.hero-content {
position: relative;
z-index: 2;
max-width: 640px;
text-align: center;
background: rgba(255, 249, 244, 0.65);
border-radius: var(--radius-lg);
padding: clamp(1.8rem, 5vw, 2.6rem);
box-shadow: 0 50px 90px rgba(62,39,35,0.25);
backdrop-filter: blur(16px);
animation: fadeUp 900ms ease forwards;
}
.eyebrow {
font-size: 0.95rem;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--clr-text-soft);
margin-bottom: 0.8rem;
}
.brand-name {
font-family: var(--font-display);
font-size: clamp(3rem, 8vw, 5rem);
margin: 0 0 0.4rem;
color: var(--clr-text);
text-shadow: 0 12px 24px rgba(255,255,255,0.45);
animation: pulse 6s ease-in-out infinite;
}
.tagline {
font-size: clamp(1.2rem, 3vw, 1.5rem);
color: var(--clr-text-soft);
margin-bottom: 1.5rem;
font-weight: 500;
}
.hero-description {
display: grid;
gap: 0.5rem;
color: var(--clr-text-soft);
}
.hero-note {
font-size: 0.95rem;
color: var(--clr-text);
font-style: italic;
opacity: 0.9;
}
.hero-buttons {
margin-top: clamp(1.8rem, 4vw, 2.6rem);
display: flex;
flex-wrap: wrap;
gap: 0.9rem;
justify-content: center;
}
/* Buttons */
.btn {
border: none;
cursor: pointer;
padding: 0.95rem 2.3rem;
border-radius: var(--radius-pill);
font-size: 1rem;
font-weight: 600;
letter-spacing: 0.01em;
transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
box-shadow: var(--shadow-xs);
}
.btn-primary {
background: var(--clr-text);
color: var(--clr-bg);
}
.btn-secondary {
background: transparent;
border: 1px solid rgba(62,39,35,0.4);
color: var(--clr-text);
}
.btn-accent {
background: var(--clr-accent);
color: #fff;
}
.btn:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-sm);
}
.btn:active {
transform: translateY(0);
box-shadow: var(--shadow-xs);
}
/* Floating emoji */
.floating-desserts {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 1;
}
.dessert {
position: absolute;
font-size: clamp(1.8rem, 3vw, 2.4rem);
opacity: 0.22;
animation: floatDessert 18s ease-in-out infinite;
}
.dessert-1 { top: 12%; left: 10%; }
.dessert-2 { top: 20%; right: 15%; animation-delay: 3s; }
.dessert-3 { bottom: 28%; left: 18%; animation-delay: 6s; }
.dessert-4 { bottom: 18%; right: 12%; animation-delay: 9s; }
.dessert-5 { top: 48%; left: 52%; animation-delay: 12s; }
/* ========= PRODUCTS ========= */
.product-filters {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
justify-content: center;
margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter-btn {
border: 1px solid transparent;
border-radius: var(--radius-pill);
padding: 0.7rem 1.8rem;
font-weight: 500;
font-size: 0.95rem;
color: var(--clr-text-soft);
background: rgba(231,138,108,0.12);
transition: all var(--transition-base);
cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
color: #fff;
background: var(--clr-accent);
border-color: var(--clr-accent);
box-shadow: 0 15px 30px rgba(231,138,108,0.25);
}
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: var(--grid-gap);
}
.product-card {
background: var(--clr-surface);
border-radius: var(--radius-lg);
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: var(--shadow-sm);
transition: transform var(--transition-long), box-shadow var(--transition-long);
}
.product-card:hover {
transform: translateY(-12px);
box-shadow: var(--shadow-md);
}
.product-media {
position: relative;
height: clamp(220px, 32vw, 260px);
overflow: hidden;
}
.product-media img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--transition-long);
}
.product-card:hover .product-media img {
transform: scale(1.08);
}
.product-overlay {
position: absolute;
inset: 0;
background: linear-gradient(160deg, rgba(62,39,35,0.75), rgba(231,138,108,0.6));
display: grid;
place-items: center;
opacity: 0;
transition: opacity var(--transition-base);
}
.product-card:hover .product-overlay {
opacity: 1;
}
.quick-view {
border: none;
background: #fff;
color: var(--clr-text);
padding: 0.6rem 1.7rem;
border-radius: var(--radius-pill);
font-weight: 600;
box-shadow: var(--shadow-xs);
cursor: pointer;
}
.product-badge {
position: absolute;
top: 1rem;
right: 1rem;
background: var(--clr-gold);
color: #fff;
padding: 0.4rem 1rem;
border-radius: var(--radius-pill);
font-size: 0.8rem;
letter-spacing: 0.03em;
}
.product-info {
padding: clamp(1.4rem, 3vw, 2.2rem);
display: flex;
flex-direction: column;
gap: 0.85rem;
}
.product-name {
font-size: clamp(1.3rem, 3vw, 1.6rem);
font-weight: 600;
margin: 0;
}
.product-description {
margin: 0;
color: var(--clr-text-soft);
}
.product-meta {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.product-tag,
.product-time {
font-size: 0.85rem;
padding: 0.35rem 0.85rem;
border-radius: var(--radius-pill);
background: rgba(231,138,108,0.12);
color: var(--clr-accent);
}
.product-price-row {
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid var(--clr-line);
padding-top: 0.7rem;
}
.product-price {
font-size: 1.4rem;
font-weight: 700;
color: var(--clr-accent);
}
.btn-order {
padding: 0.7rem 1.5rem;
}
/* ========= STORY ========= */
.story-section { background: var(--gradient-soft); }
.story-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: var(--grid-gap);
align-items: center;
}
.story-paragraph {
color: var(--clr-text-soft);
text-align: justify;
margin-bottom: 1.2rem;
}
.story-quote {
font-style: italic;
color: var(--clr-accent);
margin: 1.4rem 0;
position: relative;
padding-inline: 2rem;
font-size: clamp(1.1rem, 3vw, 1.5rem);
}
.story-quote::before,
.story-quote::after {
position: absolute;
font-size: 3rem;
opacity: 0.18;
}
.story-quote::before {
content: '“';
left: 0;
top: -12px;
}
.story-quote::after {
content: '”';
right: 5px;
bottom: -20px;
}
.story-image img {
width: 100%;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
}
.story-signature {
text-align: right;
font-weight: 600;
}
/* ========= TESTIMONIALS ========= */
.testimonials-section { background: var(--clr-surface); }
.testimonials-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: var(--grid-gap);
}
.testimonial-card {
border-radius: var(--radius-md);
padding: clamp(1.5rem, 3vw, 2rem);
background: radial-gradient(circle at top, rgba(255,255,255,0.95), var(--clr-surface-alt));
box-shadow: var(--shadow-sm);
border: 1px solid rgba(231,138,108,0.12);
transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.testimonial-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-md);
}
.testimonial-stars {
color: var(--clr-gold);
font-size: 1.3rem;
margin-bottom: 0.9rem;
}
.testimonial-text {
color: var(--clr-text-soft);
font-style: italic;
margin-bottom: 1.2rem;
}
.testimonial-author {
display: flex;
align-items: center;
gap: 0.9rem;
}
.author-avatar {
width: 50px;
height: 50px;
border-radius: 50%;
object-fit: cover;
border: 2px solid rgba(231,138,108,0.3);
}
.author-details {
display: flex;
flex-direction: column;
gap: 0.15rem;
}
.author-name { font-weight: 600; }
.author-location { color: var(--clr-accent); font-size: 0.9rem; }
/* ========= LOCATION ========= */
.location-section {
background: linear-gradient(135deg, #FFE2D6 0%, #FFF9F4 100%);
}
.location-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: var(--grid-gap);
}
.location-card {
background: var(--clr-surface);
border-radius: var(--radius-lg);
padding: clamp(1.6rem, 3vw, 2.2rem);
box-shadow: var(--shadow-sm);
}
.location-title,
.social-title {
font-size: 1.2rem;
font-weight: 600;
color: var(--clr-text);
margin-bottom: 1rem;
}
.location-list {
list-style: none;
padding: 0;
margin: 0;
}
.location-item {
padding-block: 0.6rem;
border-bottom: 1px solid var(--clr-line);
color: var(--clr-text-soft);
font-size: 1rem;
}
.instagram-feed {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.6rem;
margin-bottom: 1rem;
}
.instagram-post {
aspect-ratio: 1;
overflow: hidden;
border-radius: var(--radius-sm);
}
.instagram-post img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--transition-base);
}
.instagram-post:hover img {
transform: scale(1.08);
}
.social-link {
color: var(--clr-accent);
font-weight: 600;
text-decoration: none;
}
.social-link:hover {
text-decoration: underline;
}
/* ========= FOOTER ========= */
.main-footer {
background: #36201E;
color: rgba(255, 249, 244, 0.9);
padding-block: 3rem 1.5rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: var(--grid-gap);
margin-bottom: 2rem;
}
.footer-title {
font-family: var(--font-display);
font-size: 2.1rem;
margin-bottom: 0.3rem;
}
.footer-subtitle {
color: var(--clr-gold);
margin-bottom: 0.6rem;
}
.footer-description {
color: rgba(255, 249, 244, 0.85);
}
.footer-contact a,
.social-icon {
color: inherit;
text-decoration: none;
transition: color var(--transition-base);
}
.footer-contact a:hover,
.social-icon:hover {
color: var(--clr-accent-soft);
}
.footer-bottom {
border-top: 1px solid rgba(255,255,255,0.12);
margin-top: 2rem;
padding-top: 1.2rem;
text-align: center;
font-size: 0.9rem;
opacity: 0.8;
}
/* ========= MOTION + RESPONSIVE ========= */
@keyframes aurora {
0% { transform: translate(-6%, -6%) scale(1); }
100% { transform: translate(5%, 5%) scale(1.15); }
}
@keyframes fadeUp {
from { opacity: 0; transform: translateY(35px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.03); }
}
@keyframes floatDessert {
0%, 100% { transform: translateY(0) rotate(0); }
50% { transform: translateY(-18px) rotate(180deg); }
}
@media (max-width: 768px) {
.hero-content { padding: 1.6rem; }
.hero-buttons { flex-direction: column; }
.product-card,
.testimonial-card,
.location-card {
border-radius: var(--radius-md);
}
}
@media (max-width: 480px) {
.container { padding-inline: 1rem; }
.hero-content { padding: 1.35rem; }
.brand-name { font-size: clamp(2.4rem, 15vw, 3.4rem); }
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0s !important;
transition-duration: 0s !important;
}
}