/*
Theme Name: S World Wide
Author: Karthik Krish
Description: Custom theme for S World Wide
Version: 1.0
Text Domain: s-world-wide
*/

body { margin: 0; font-family: "Manrope", sans-serif; } 
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; color: #283838;}


/* MAIN MENU FIX */
.main-menu { display: flex; gap: 30px; list-style: none; padding-left: 0; margin: 0; }
.main-menu li { position: relative; }
.main-menu > li > a { padding: 12px 0; text-decoration: none; color: #111; font-weight: 400; transition: color 0.2s; }
.main-menu > li:hover a.nav-link{color: #E66445 !important;}
.main-menu > li:hover > a { color: #e94e1b; }
.mega-menu ul.row > li:hover > a{color: #E66445 !important; background: none;}
.mega-menu ul.row > li ul li:hover a{color: #E66445 !important; background: none; transform: translateX(6px);}
.main-menu li:hover > .mega-menu, .main-menu li:hover > .dropdown-submenu { display: block; }

/* Mega Menu Styling */
.mega-menu { display: none; position: absolute; top: 100%; left: 0; width: max-content; background: #fff; border-radius: 0; z-index: 9999; border: none; }
.mega-menu ul.row { display: flex ; gap: 40px; padding-left: 0; list-style: none; margin: 0; }
.mega-menu ul.row > li {flex: 1;}
.mega-menu ul.row > li > a { font-weight: 600; color: #111; margin-bottom: 8px; display: block; padding: 0; position: relative; font-family: "DM Sans", sans-serif; font-size: 18px; }
.mega-menu ul.row > li > a:after { content: ''; border-bottom: 1px solid #E66445; width: 39px; position: absolute; bottom: -2px; left: 0; }
.mega-menu ul.row > li ul li a { display: block; text-decoration: none; color: #333; margin: 15px 0; padding: 12px 0 0; transition: 0.5s; transform: translateX(0);}
.mega-menu ul.row > li ul li a::before { content: '➜ '; color: #000; margin-right: 6px; font-size: 14px; font-weight: 100; }
.main-menu li.sg-col .mega-menu ul.row a { transition: 0.5s; transform: translateX(0); font-size: 16px; font-weight: 400; }
.main-menu li.sg-col .mega-menu ul.row li:hover > a{transform: translateX(6px);}
.main-menu .list-unstyled a { font-family: "DM Sans", sans-serif; font-weight: 400; font-size: 16px;}

/* Prevent overflow cut-off */
.site-header { overflow: visible; }

/* Single Column */
.main-menu li.sg-col .mega-menu ul.row { display: flex ; flex-direction: column; gap: 12px; padding: 10px 5px; }
.main-menu li.sg-col .mega-menu ul.row a::after { content: none; }
.main-menu li.sg-col .mega-menu ul.row > li > a::before{content: '➜ '; color: #000; margin-right: 6px; font-size: 14px; font-weight: 100;}

/* Header */
.site-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 10; background: transparent; border-bottom: none; }
.main-menu { list-style: none; display: flex; gap: 30px; } 
.main-menu li { position: relative; } 
.main-menu a { text-decoration: none; color: #111; font-weight: 500; } 

/* Logo */
.logo img { height: 50px; }
.logo a { text-decoration: none; display: inline-block; } 
.logo a img { display: block; }

.header-inner { max-width: 1200px; margin: 0 auto; padding: 30px 8px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }

/* Menu */
.enquire-btn { background-color: #283838; color: #fff; padding: 10px 24px; font-size: 16px; border-radius: 30px; text-decoration: none; transition: 0.3s ease; font-weight: 500;} 
.enquire-btn:hover { background-color: #000; }
.mobile-menu-toggle { display: none; font-size: 28px; cursor: pointer; }

/* Footer  */
.site-footer { background-color: #fff; color: #000; font-size: 18px; line-height: 1.8; font-family: "DM Sans", sans-serif; padding: 80px 0 50px; }
.site-footer .wp-block-heading { font-weight: 600; text-transform: uppercase; font-size: 16px; margin-bottom: 20px; position: relative; display: inline-block; padding-bottom: 5px; color: #201D1E;}
.site-footer .wp-block-heading::after { content: ""; display: block; width: 45px; height: 1px; background: #E66445; position: absolute; left: 0; bottom: 0; }
.site-footer ul { padding: 0; list-style: none; margin: 0; } 
.site-footer ul li { margin-bottom: 12px; } 
.site-footer ul li a { color: #201D1ECC; text-decoration: none; font-weight: 600; font-size: 16px; } 
.site-footer ul li a:hover { color: #E66445; }
.site-footer .social-icons a img { width: 32px; height: 32px; transition: opacity 0.3s ease; } 
.site-footer .social-icons a img:hover { opacity: 0.75; } 
.site-footer p { font-size: 18px; color: #201D1E; margin-top: 40px; }

footer.site-footer .footer-links img { width: 32px; height: 32px; object-fit: fill; }
footer.site-footer .footer-links { margin-top: 90px; }

/* Home */
body.home{background: #FAF5EB;}
.hero-section { position: relative; background-size: cover; background-position: center center; background-repeat: no-repeat; display: flex; align-items: center; z-index: 1; padding:70px 0;} 
.hero-section::before { content: ""; position: absolute; inset: 0; background-color: rgba(255, 255, 255, 0.4); z-index: 2; } 
.hero-section .container { position: relative; z-index: 3; padding-top: 40px; padding-bottom: 60px; } 
.hero-section h1 { font-family: 'Playfair Display', serif; font-size: 62px; font-weight: 500; line-height: 1.1; color: #1c2e29; max-width: 450px; margin-bottom: 5px; } 
.hero-section p.lead { font-size: 28px; color: #201D1E; max-width: 450px; font-family: "Manrope", sans-serif; margin-bottom: 40px; }
.hero-section .btn { font-size: 18px;padding: 12px 28px; border-radius: 50px; } 
.hero-section .btn-danger { background-color: #E66445; border-color: #E66445; color: white; } 
.hero-section .btn-outline-dark { border-color: #888; color: #333; } 
.hero-section .btn-outline-dark:hover { background-color: #333; color: white; } 
.hero-section .col-xl-6:first-child { background-color: rgba(255, 255, 255, 0.6); padding: 40px; border-radius: 8px; }

/* Our Certificate */
.certification-section { position: relative; margin-top: -40px; z-index: 5; padding-bottom: 50px;}
.certification-container { width: 75%; margin: 0 auto; background-color: #fff; padding: 55px 30px 60px; border-radius: 25px; max-width: 1200px;}
.certification-container img { object-fit: contain; transition: transform 0.3s ease; } 
/*.certification-container img:hover { transform: scale(1.05); }*/
section.certification-section h3 { text-align: center; font-weight: 500; font-size: 26px;}

/* About */
.about-section { padding: 50px 0;} 
.about-section .bg-darkbg { background-color: #283838; padding: 45px;} 
.about-section h3 { font-size: 32px; line-height: 1.1; font-weight: 400; color: #fff;}
.about-section .btn-danger { background-color: #E66445; border-color: #E66445; }
.about-section img { height: 570px; object-fit: cover; border-radius: 42px;}
.about-section small { font-size: 22px; font-weight: 500; color: #E66445;}
.about-section p { font-size: 18px; margin: 20px 0 0; color: #fff;}


/* Product */
.product-explore { padding:50px 0; } 
.product-explore p.small { font-size: 22px; font-weight: 500; color: #E66445;}
.product-explore h2 { font-size: 48px; color: #283838; }
.product-explore .bg-orange { background-color: #E66445; } 
.product-explore .bg-dark { background-color: #1c2e29; } 
.product-explore img { transition: 0.3s; } 
.product-explore img:hover { transform: scale(1.02); }
.product-explore p.text-muted { font-size: 22px; }
section.product-explore .rounded-4 { font-size: 28px; font-family: 'Playfair Display', serif; height: 420px; }
section.product-explore .rounded-4 img { object-fit: cover; object-position: right; }
section.product-explore .rounded-4.anime-section { transform: translateY(60px); }

/* Material Swatch */
.material-swatch-section { padding: 100px 0; }
.material-swatch-section h2 { font-size: 58px; font-family: 'Playfair Display', serif; font-weight: 500;} 
.material-swatch-section p { font-size: 18px; color: #393536; } 
.material-swatch-section .btn-danger { background-color: #E66445; border-color: #E66445; color: white; font-size:18px; font-weight:500; } 
.material-swatch-section .btn-danger:hover { background-color: #d65a3d; }

/* Sustainable */
section.sustainable-fabric-section h2 { font-size: 52px; font-family: 'Playfair Display', serif; font-weight: 500; }
section.sustainable-fabric-section p {font-size: 18px; font-weight: 500;}
section.sustainable-fabric-section a {background:#E66445; font-size: 18px; font-weight: 500; color: #fff;}
section.sustainable-fabric-section .text-white { max-width: 672px; }
section.sustainable-fabric-section .col-md-6.d-flex.align-items-center.p-0 { background: #283838; }

/* Testimonial */
section.testimonials-section { padding: 80px 0; }
section.testimonials-section h2 {font-size: 52px; font-weight: 500; line-height: 1.2; font-family: 'Playfair Display', serif;}
.testimonial-card { background-color: #E66445; border-radius: 42px; max-width: 1030px; box-shadow: 0 8px 16px rgba(0,0,0,0.1); padding: 50px;} 
.testimonial-card .content-wrapper { max-width: 610px; margin: auto; padding-bottom: 30px;}
.testimonial-text { font-size: 18px; color: #fff; font-weight:500;margin-bottom: 1.5rem; } 
.testimonial-person h5 { font-weight: 600; font-size: 20px; }
.testimonial-person { color: #000; display: flex ; align-items: center; justify-content: center; gap: 20px; }
.testimonial-person .author { text-align: left; }
.swiper-pagination-bullet { background-color: #fff !important; opacity: 0.5; } 
.swiper-pagination-bullet-active { opacity: 1; background-color: #1c2e29 !important; }
.testimonial-person .image-wrapper { width: 82px; height: 82px; background: #FFCBBF; display: inline-block; border-radius: 50%; overflow: hidden; }

section.testimonials-section .swiper-button-next:after, section.testimonials-section .swiper-button-prev:after { font-size: 21px; background: #FFDAD2; padding: 14px 19px; border-radius: 50%; color: #000; }
section.testimonials-section .swiper-button-prev {left: 20px;}
section.testimonials-section .swiper-button-next{right: 20px;}

/* Latest Post */
section.latest-posts { padding: 20px 0 60px; }
.latest-posts .card-img-top { border-radius: 12px; height: 262px; width: 100%; object-fit: cover; border-radius: 24px;}
.latest-posts .badge { font-size: 0.75rem; padding: 6px 10px; border-radius: 6px; background-color: #f5f5f5; } 
.latest-posts .card-text { font-size: 18px; color: #333; font-weight: 500; }
.latest-posts .card-body { background: #faf5eb; }
.latest-posts .bi-arrow-right-circle-fill { color: #E66445; transition: transform 0.3s ease; } 
.latest-posts .bi-arrow-right-circle-fill:hover { transform: translateX(4px); }

@media (max-width: 1024px) {
	.main-menu { flex-direction: column; display: none; background: #fff; width: 100%; position: absolute; top: 100%; left: 0; z-index: 1000; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); } 
	.main-menu.active { display: flex; gap: 8px;} 
	.mobile-menu-toggle { display: block; } 
	.header-inner { flex-wrap: wrap; }

	.navbar-nav li:hover > .mega-menu { display: none !important; } 
	.navbar-nav li.show-mega .mega-menu { display: block !important; } 
	.mega-menu { position: relative; top: auto; left: auto; width: 100%; padding: 20px 0; box-shadow: none; border-radius: 0; } 
	.mega-menu ul.row { flex-direction: column; gap: 10px; } 
	.mega-menu ul.row > li { flex: 1 1 100%; }
	.header-inner{gap: 20px;}
	button.mobile-menu-toggle { border: none; background: none; }
}

@media(max-width: 991px){
	section.product-explore .rounded-4{font-size: 22px;}
	.hero-section h1{font-size: 56px;}
	.hero-section p.lead{font-size: 22px;}
	.about-section h3 { font-size: 28px;}
	.product-explore h2 { font-size: 42px;}
	.material-swatch-section h2{font-size:52px;}
	section.sustainable-fabric-section h2, section.testimonials-section h2{font-size: 46px;}
}

@media (max-width: 768px) {
	.hero-section { min-height: auto; padding-top: 30px; padding-bottom: 30px; } 
	.hero-section h1 { font-size: 2.2rem; } 
	.hero-section p { font-size: 1rem; }
	.testimonial-card{padding: 30px 5px;}
	.certification-container { width: 100%;}
}
@media(max-width: 767px){
	.hero-section .col-xl-6 .d-flex { display: flex ; flex-direction: column; }
	section.product-explore .rounded-4.anime-section { transform: translateY(0); }
	.material-swatch-section { padding: 30px 0; }
	section.sustainable-fabric-section h2, section.testimonials-section h2{font-size:32px;}
section.testimonials-section .swiper-button-next:after, section.testimonials-section .swiper-button-prev:after{content:none;}	
}