/* Optimized CSS with one-liner format for Golden Superior Building Materials */

/* Variables and Base Styles */
:root { --primary-gold: #e5b53b; --secondary-gold: #f8c218; --dark-bg: #212121; --darker-bg: #1b1b1b; --white-text: #ffffff; --black-text: #000000; --border-color: rgba(255, 255, 255, 0.1); }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Nunito', sans-serif; font-weight: 300; color: var(--white-text); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 400; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Material Icons Styles */
.material-symbols-rounded { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; vertical-align: middle; margin-right: 5px; }
.icon-animate { transition: all 0.3s ease; }
.icon-animate:hover { transform: scale(1.2); color: var(--primary-gold); }
.icon-spin { animation: spin 10s linear infinite; display: inline-block; }
.icon-pulse { animation: pulse 2s ease-in-out infinite; display: inline-block; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* Header Styles */
header { background-color: var(--dark-bg); padding: 15px 0; position: relative; }
.header-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo img { height: 60px; width: auto; max-width: 100%; }
.logo h1 { font-size: 28px; font-weight: 400; color: var(--primary-gold); }
.logo h1, .logo img { cursor: pointer; }
.nav-menu { display: flex; list-style: none; flex-wrap: nowrap; }
.nav-menu li a { transition: all 0.3s ease; padding: 5px; margin: 2px; }
.nav-menu li a:hover { color: var(--black-text); background-color: var(--primary-gold); padding: 5px 10px; border-radius: 4px; }
.call-btn { background-color: var(--primary-gold); color: var(--black-text); padding: 8px 20px; border-radius: 4px; font-weight: 500; transition: background-color 0.3s; white-space: nowrap; }
.call-btn:hover { background-color: var(--secondary-gold); }

/* Fixed header on desktop only */
@media (min-width: 768px) {
    header {position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);}
    body {padding-top: 80px;}
}
@media (max-width: 767px) {
    header {position: relative;}
    body {padding-top: 0;}
}

/* Hero Slider Styles - Updated for Swipe */
.hero-slider { position: relative; overflow: hidden; width: 100%; height: 80vh; max-height: 600px; touch-action: auto; -webkit-user-select: none; user-select: none; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease-in-out; background-size: cover; background-position: center; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 1; }
.slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); }
.slide-content { position: relative; z-index: 1; max-width: 600px; padding: 0 15px; }
.slide-title { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.slide-tagline { font-size: 1.5rem; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; margin-top: 30px; }
.hero-btn { background-color: var(--primary-gold); color: var(--black-text); padding: 10px 25px; border-radius: 4px; font-weight: 500; transition: background-color 0.3s; }
.hero-btn:hover { background-color: var(--secondary-gold); }
@media (min-width: 768px) {.hero-slider { cursor: grab; }.hero-slider:active { cursor: grabbing; }}

/* Slider Navigation */
.slider-arrows { position: absolute; width: 100%; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; justify-content: space-between; padding: 0 20px; }
.slider-arrow {background-color: rgba(0, 0, 0, 0.5); color: white; border: none; border-radius: 50%; width: 50px; height: 50px; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color 0.3s; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; }
.slider-arrow:hover {background-color: var(--primary-gold);}
.slider-arrow.prev {left: 20px;}
.slider-arrow.next {right: 20px;}
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.5); border: none; cursor: pointer; transition: background-color 0.3s; }
.slider-dot.active { background-color: var(--primary-gold); }
.slider-arrow .material-symbols-rounded { margin-right: 0; font-size: inherit;}

/* About Us Section */
.about { background-color: var(--dark-bg); padding: 80px 0; color: var(--white-text); }
.about-container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.about-title { font-size: 2.5rem; margin-bottom: 30px; color: var(--primary-gold); }
.about-text { max-width: 800px; margin-bottom: 20px; font-size: 1.1rem; }

/* Welcome Section */
::marker { display: none; font-size: 0px; }
.welcome { background-color: var(--primary-gold); padding: 80px 0; color: var(--black-text); }
.welcome-container { display: flex; align-items: center; gap: 40px; }
.welcome-image { flex: 1; max-width: 400px; }
.welcome-image img { width: 100%; height: auto; border-radius: 4px; }
.welcome-content { flex: 1; }
.welcome-title { font-size: 2.5rem; margin-bottom: 20px; }
.welcome-text { margin-bottom: 20px; }
.welcome-list { margin: 20px 0; padding-left: 20px; }
.welcome-list li { margin-bottom: 10px; position: relative; padding-left: 25px; }
.welcome-list li::before { content: '•'; color: var(--dark-bg); font-weight: bold; position: absolute; left: 0; top: 0; font-size: 20px; }

/* Gallery Section */
.gallery { background-color: var(--dark-bg); padding: 80px 0; }
.gallery-title { font-size: 2.5rem; margin-bottom: 40px; text-align: center; color: var(--primary-gold); }
.gallery-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.gallery-item { overflow: hidden; border-radius: 16px; height: 250px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; cursor: pointer; }
.gallery-item img:hover { transform: scale(1.05); }

/* Contact Section */
.contact { background-color: var(--primary-gold); padding: 80px 0; color: var(--black-text); }
.contact-title { font-size: 2.5rem; margin-bottom: 40px; text-align: center; }
.contact-container { display: flex; flex-wrap: wrap; gap: 40px; }
.contact-info { flex: 1; min-width: 300px; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 20px; }
.contact-details { margin-bottom: 30px; }
.contact-details p { margin-bottom: 10px; display: flex; align-items: center; }
.contact-details i { margin-right: 10px; width: 20px; text-align: center; }
.contact-map { flex: 1; min-width: 300px; height: 400px; }
.contact-map iframe { width: 100%; height: 100%; border: none; border-radius: 4px; }

/* Business Hours in Contact Section */
.contact-hours { margin-top: 20px; }
.contact-hours h3 { font-size: 1.2rem; margin-bottom: 10px; }
.hours-grid-small { display: grid; grid-template-columns: auto auto; gap: 5px; font-size: 0.9rem; }
.hours-day-small { padding: 3px 0; }
.hours-day-small.closed { color: #ffffff; font-weight: bold; background-color: #ff0000; padding: 8px 12px; border-radius: 4px; display: inline-block; border: 2px solid #ff0000; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); margin-top: 5px; }

/* Footer */
footer { background-color: var(--darker-bg); padding: 30px 0; text-align: center; }
.footer-logo { margin-bottom: 15px; color: var(--white-text); }
#footer-content { color: var(--white-text); font-size: 14px; line-height: 1.6; }
#footer-content a { color: var(--primary-gold); transition: color 0.3s; }
#footer-content a:hover { color: var(--secondary-gold); }

/* WhatsApp Floating Button */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; text-align: center; font-size: 30px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); z-index: 100; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.whatsapp-float:hover { background-color: #128c7e; transform: scale(1.1); }

/* Responsive Styles */
@media (max-width: 992px) {
    .logo { flex-direction: column; gap: 5px; align-items: flex-start; }
    .logo img { height: 50px; }
    .logo h1 { font-size: 1.2rem; }
}

@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; text-align: center; }
    .logo { margin-bottom: 15px; align-items: center; }
    .nav-menu { margin-top: 15px; justify-content: center; flex-wrap: wrap; }
    .nav-menu li { margin: 5px 10px; }
    .slide-title { font-size: 2.5rem; }
    .slide-tagline { font-size: 1.2rem; }
    .welcome-container { flex-direction: column; }
    .welcome-image { max-width: 100%; }
    .hero-slider { height: 70vh; cursor: grab; }
    .hero-slider:active { cursor: grabbing; }
    .slider-arrow { width: 36px; height: 36px; font-size: 16px; }
    .slider-dot { width: 10px; height: 10px; }
}
