/*===== GOOGLE FONTS =====*/ @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap"); /*===== VARIABLES CSS =====*/ :root { --header-height: 4rem; /* Orange & Yellow Color Palette */ --primary: #E67E22; /* Pumpkin Orange */ --secondary: #F1C40F; /* Sunflower Yellow */ --highlight: #D35400; /* Dark Orange */ --highlight-light: #F39C12; /* Bright Orange */ --accent: #F5B041; /* Golden Yellow */ --text-color: #FFFFFF; /* Changed to white */ --white-color: #FFFFFF; --black-color: #111111; /*===== Font and typography =====*/ --body-font: 'Roboto', sans-serif; --biggest-font-size: 1.5rem; --big-font-size: 1.5rem; --normal-font-size: .938rem; --smaller-font-size: .75rem; } @media screen and (min-width: 968px) { :root { --biggest-font-size: 3.25rem; --big-font-size: 2.25rem; --normal-font-size: 1rem; --smaller-font-size: .813rem; } } /*===== BASE =====*/ *, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: var(--body-font); color: var(--text-color); background: linear-gradient(135deg, #FF0000 0%, #FFA500 100%); background-attachment: fixed; min-height: 100vh; line-height: 1.6; transition: background 0.8s ease-in-out; margin: 0; padding: 0; } /* ===== PRELOADER CONTAINER ===== */ #preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #5E1914 0%, #A23530 100%); z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; animation: collapseDown 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; animation-delay: 2s; } /* ===== CENTERED CONTENT ===== */ .preloader-content { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; text-align: center; animation: fadeOut 2s ease-in forwards; animation-delay: 1.5s; } /* ===== LOGO & EXPANDING CIRCLES ===== */ .logo-container { position: relative; width: 400px; height: 400px; margin: 0 auto 40px; display: flex; justify-content: center; align-items: center; } .expanding-circle { position: absolute; border: 3px solid rgba(255, 255, 255, 0.5); border-radius: 50%; animation: expand 3s infinite cubic-bezier(0.36, 0, 0.66, -0.56); opacity: 0; width: 100%; height: 100%; box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); } .expanding-circle:nth-child(1) { animation-delay: 0s; } .expanding-circle:nth-child(2) { animation-delay: 1s; } .expanding-circle:nth-child(3) { animation-delay: 2s; } .logo { width: 300px; height: 300px; object-fit: contain; position: relative; z-index: 2; animation: pulse 2.5s infinite alternate ease-in-out; filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4)); } /* ===== BRAND TEXT ===== */ .brand-name { font-size: 42px; font-weight: 700; margin: 0 auto 10px; letter-spacing: 4px; text-transform: uppercase; color: white; text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); } .brand-tagline { font-size: 18px; font-weight: 300; letter-spacing: 12px; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); margin: 0 auto; padding-left: 12px; } /* ===== WORKING LOADING BAR ===== */ .loading-container { width: 300px; margin: 60px auto 0; } .loading-bar { width: 100%; height: 4px; background-color: rgba(255, 255, 255, 0.4); border-radius: 2px; overflow: hidden; } .loading-progress { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #fff, #aaa); animation: loading 3.5s linear forwards; border-radius: 2px; } /* ===== ANIMATIONS ===== */ @keyframes collapseDown { 0% { clip-path: circle(150% at 50% 100%); } 100% { clip-path: circle(0% at 50% 100%); } } @keyframes fadeOut { to { opacity: 0; transform: translateY(20px); } } @keyframes pulse { 0% { transform: scale(1); } 100% { transform: scale(1.15); } } @keyframes expand { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(2.5); opacity: 0; } } @keyframes loading { 0% { width: 0%; } 100% { width: 100%; } } /*===== LAYOUT =====*/ .grid { max-width: 1200px; margin-left: 1rem; margin-right: 1rem; } /*===== HEADER & NAV =====*/ .header { width: 100%; position: fixed; top: 0; left: 0; z-index: 100; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(10px); border-bottom: none; } .nav { height: var(--header-height); display: flex; justify-content: space-between; align-items: center; padding: 0 1.5rem; } .nav__logo { font-weight: 700; color: var(--white-color); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 3px; text-shadow: 0 0 5px rgba(0,0,0,0.3); } .nav__toggle { display: none; cursor: pointer; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--white-color); } .nav__list { display: flex; flex-direction: column; row-gap: 1.8rem; } .nav__item { font-weight: 500; } .nav__link { color: var(--white-color); font-weight: 500; transition: all 0.3s; text-decoration: none; position: relative; padding: 0.5rem 0; font-size: 1.1rem; } .nav__link:hover { color: var(--secondary); } .nav__link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--secondary); transition: width 0.3s; } .nav__link:hover::after { width: 100%; } .nav__shop { display: none; } /*===== HOME =====*/ .home { height: calc(100vh - var(--header-height)); display: grid; overflow: hidden; padding-top: var(--header-height); } /*===== Product Container =====*/ .product-container { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; } /*===== Product =====*/ .product { display: flex; justify-content: center; align-items: center; position: relative; width: 100%; height: 100%; } .product__figure { display: flex; justify-content: center; align-items: center; perspective: 1000px; width: 100%; height: 100%; background: transparent; } .product__img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.3)); transform-style: preserve-3d; position: absolute; opacity: 0; transition: opacity 0.5s ease; } .product__img.active { opacity: 1; animation: float 4s ease-in-out infinite; } @keyframes float { 0% { transform: translate(-50%, -50%) rotateY(0deg); } 50% { transform: translate(-50%, -53%) rotateY(10deg); } 100% { transform: translate(-50%, -50%) rotateY(0deg); } } /*===== Data =====*/ .data { display: flex; flex-direction: column; justify-content: center; padding: 2rem; z-index: 2; background: transparent; } .data__subtitle { font-size: var(--normal-font-size); font-weight: 500; color: var(--white-color); letter-spacing: 1px; margin-bottom: 0.5rem; text-shadow: 0 0 5px rgba(0,0,0,0.5); } .data__title { font-size: var(--biggest-font-size); margin-bottom: 0.75rem; color: var(--white-color); font-weight: 700; line-height: 1.2; text-shadow: 0 0 10px rgba(0,0,0,0.5); } .data__description { font-size: var(--normal-font-size); max-width: 400px; line-height: 1.6; color: var(--white-color); margin-bottom: 1.5rem; text-shadow: 0 0 5px rgba(0,0,0,0.5); /* Add these new properties: */ word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; padding-right: 1rem; } /* Flavor Selector */ /* Flavor Selector Styles */ .flavor-selector { display: flex; gap: 1rem; margin-top: 1.5rem; } .flavor-option { padding: 0.8rem 1.5rem; background: rgba(255, 255, 255, 0.15); color: var(--white-color); border-radius: 30px; cursor: pointer; font-weight: 500; transition: all 0.3s ease; border: 2px solid rgba(255, 255, 255, 0.3); font-size: 0.9rem; backdrop-filter: blur(5px); } /* Masala Munch active state */ .flavor-option.active[data-flavor="masala"] { background: rgba(230, 126, 34, 0.7); /* Pumpkin Orange */ border-color: #F1C40F; /* Sunflower Yellow */ box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4); color: white; } /* Achari Masala active state */ .flavor-option.active[data-flavor="achari"] { background: rgba(46, 125, 50, 0.7); /* Green */ border-color: #FDD835; /* Golden Yellow */ box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4); color: white; } /* Hover effects */ .flavor-option[data-flavor="masala"]:hover:not(.active) { background: rgba(230, 126, 34, 0.4); } .flavor-option[data-flavor="achari"]:hover:not(.active) { background: rgba(46, 125, 50, 0.4); } .flavor-option:hover, .flavor-option.active { background-color: var(--secondary); color: var(--black-color); border-color: var(--secondary); } /* Size Selector */ .size__content { display: flex; gap: 0.5rem; margin-top: 0.5rem; } .size__tallas { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.2); color: var(--white-color); cursor: pointer; transition: all 0.3s; backdrop-filter: blur(5px); } .size__tallas.active { background-color: var(--secondary); color: var(--black-color); font-weight: bold; } /* Quantity Selector */ .quantity__content { width: 100px; height: 30px; display: flex; justify-content: space-between; align-items: center; background-color: rgba(255, 255, 255, 0.2); color: var(--white-color); padding: .5rem; border-radius: .25rem; backdrop-filter: blur(5px); } /*===== BREAKPOINTS =====*/ /* Mobile devices (768px and below) */ @media screen and (max-width: 768px) { .home { grid-template-rows: 55vh auto; height: auto; min-height: 100vh; } .product-container { height: 55vh; } .product__img { width: 75%; height: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); } .data { order: 2; padding: 2rem 1.5rem; align-items: center; text-align: center; } .data__description { max-width: 100%; } .flavor-selector { flex-direction: column; width: 100%; } .flavor-option { width: 100%; text-align: center; } /* Preloader adjustments */ .logo-container { width: 220px; height: 220px; } .logo { width: 160px; height: 160px; } .brand-name { font-size: 26px; } .brand-tagline { font-size: 12px; letter-spacing: 6px; } @keyframes expand { 100% { transform: scale(2.5); } } } /* PC devices (769px and above) */ @media screen and (min-width: 769px) { .home { grid-template-columns: 1fr 1fr; } .product__img { width: 85%; height: 85%; max-width: 650px; max-height: 650px; top: 50%; left: 50%; transform: translate(-50%, -50%); } .data { padding-left: 4rem; padding-right: 3rem; } } /* Large desktop devices (968px and above) */ @media screen and (min-width: 968px) { .product__img { max-width: 750px; max-height: 750px; } .nav__list { flex-direction: row; column-gap: 3.5rem; } .nav__logo { font-size: 1.5rem; } .data__subtitle { font-size: 1.1rem; } .data__title { font-size: 3.5rem; } .data__description { font-size: 1.05rem; } .nav__toggle { display: none; } } @media screen and (min-width: 1200px) { .grid { margin-left: auto; margin-right: auto; padding: 0 2rem; } .product__img { max-width: 800px; max-height: 800px; } } /* ===== MINIMAL QUALITY BADGES ===== */ .quality-badges { display: flex; justify-content: center; gap: 2rem; margin-top: 1.5rem; } .quality-badge { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--white-color); white-space: nowrap; } .quality-badges::-webkit-scrollbar { display: none; } .quality-badge i { font-size: 0.9rem; color: var(--secondary); } .quality-badge:hover { opacity: 1; } @media (max-width: 768px) { .quality-badges { flex-wrap: wrap; row-gap: 1rem; column-gap: 2rem; justify-content: center; } .quality-badge { flex: 0 0 calc(50% - 2rem); justify-content: center; } } @media (max-width: 360px) { .quality-badges { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 10px; -webkit-overflow-scrolling: touch; } .quality-badge { flex: 0 0 auto; } } @media (max-width: 480px) { .quality-badge { min-width: calc(50% - 2rem); /* 2 items per row */ } } /* ===== MOBILE NAV BAR FIXES ===== */ @media screen and (max-width: 968px) { .nav__menu { position: fixed; left: -100%; top: var(--header-height); background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(15px); width: 80%; height: calc(100vh - var(--header-height)); padding: 2rem; transition: 0.3s ease-in-out; z-index: 99; border-right: 1px solid rgba(255, 255, 255, 0.1); } .nav__list { flex-direction: column; row-gap: 2rem; } .nav__link { font-size: 1.2rem; color: var(--white-color); padding: 0.5rem 0; display: block; } .nav__toggle { display: flex; z-index: 100; } /* Show menu when active */ .show-menu { left: 0; box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2); } /* Animate hamburger icon */ .nav__toggle img { transition: transform 0.3s; } .show-menu + .nav__toggle img { transform: rotate(90deg); } } /* Prevent scrolling when menu is open */ .no-scroll { overflow: hidden; height: 100vh; } /* Smooth transitions for header */ .header { transition: background 0.3s ease; } /* Mobile hamburger icon sizing */ .nav__toggle img { width: 24px; height: 24px; } /* ===== ABOUT SECTION ===== */ .about-section { padding: 5rem 0; background: rgba(0,0,0,0.2); position: relative; } .about-section { position: relative; padding: 5rem 1.5rem; background: linear-gradient( to bottom right, rgba(0, 0, 0, 0.25), rgba(230, 126, 34, 0.1) ); backdrop-filter: blur(10px); overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); } /* Keep all other existing about-section styles */ .section-title { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; color: var(--secondary); } .about-content { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; } .about-text h3 { font-size: 1.8rem; color: var(--white-color); margin-bottom: 1.5rem; } .about-text p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 2rem; max-width: 600px; } .about-image img { width: 100%; border-radius: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.3); } .values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; } .value-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 1.5rem; border-radius: 0.5rem; text-align: center; transition: transform 0.3s; } .value-card:hover { transform: translateY(-5px); } .value-card i { font-size: 2rem; color: var(--secondary); margin-bottom: 1rem; } @media (min-width: 768px) { .about-content { grid-template-columns: 1fr 1fr; } .section-title { font-size: 3rem; } } /* ===== UPDATED SCROLL PROGRESS STYLES ===== */ .scroll-progress-container { position: fixed; top: var(--header-height); left: 0; width: 100%; height: 4px; background: rgba(255, 255, 255, 0.1); z-index: 99; /* Below navbar but above content */ } .scroll-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--secondary), var(--primary)); transition: width 0.1s ease-out; position: relative; /* Add this */ z-index: 99; /* Add this */ } /* New wrapper styles */ .contact-form-wrapper { position: relative; z-index: 10; /* Lower than progress bar */ background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(10px); padding-top: 1px; /* Prevents margin collapse */ margin-top: -1px; /* Counteract the padding */ } /* Target potential pseudo-elements */ .contact-section::before, .contact-section::after { display: none !important; } /* Override any section borders */ section[class*="contact"] { border-top: none !important; box-shadow: none !important; } /* Add this CSS to override any existing border styles */ .contact-section .section-header { border-top: none !important; padding-top: 0 !important; } /* Ensure the parent container doesn't have borders either */ .contact-section { border-top: none !important; } .contact-section .row, .contact-section .col { border-top: none !important; } body .contact-section * { border-top: none !important; }