@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary-dark: #1e2229;
    --secondary-dark: #11141a;
    --accent-gold: #c5a059;
    --accent-gold-hover: #b38e46;
    --bg-light: #f8f9fa;
    --bg-darker: #0d0f13;
    --text-dark: #212529;
    --text-muted: #868e96;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-headers: 'Montserrat', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --border-radius-lg: 16px;
    --border-radius-md: 8px;
    --box-shadow-sm: 0 12px 28px rgb(17 20 26 / 13%), 0 4px 10px rgb(0 0 0 / 0%);
    --box-shadow-lg: 0 30px 60px rgba(17, 20, 26, 0.25), 0 12px 30px rgba(197, 160, 89, 0.25);
}

/* Global Reset & Typography */
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headers);
    font-weight: 700;
    color: var(--primary-dark);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-gold-hover);
    text-decoration: none;
}

/* Button Premium styling */
.btn-gold {
    background-color: var(--accent-gold);
    color: #ffffff;
    font-family: var(--font-headers);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: var(--border-radius-md);
    border: 2px solid var(--accent-gold);
    transition: var(--transition-smooth);
    box-shadow: var(--box-shadow-sm);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(197, 160, 89, 0.3);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--accent-gold);
    font-family: var(--font-headers);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: var(--border-radius-md);
    border: 2px solid var(--accent-gold);
    transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
    background-color: var(--accent-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(197, 160, 89, 0.2);
}

/* Header & Responsive Navbar */
.navbar-custom {
    background-color: rgba(30, 34, 41, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
    z-index: 1000;
}

.navbar-custom.navbar-scrolled {
    background-color: var(--secondary-dark);
    padding: 10px 0;
    box-shadow: var(--box-shadow-lg);
}

.navbar-custom .navbar-brand img {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}

.navbar-custom.navbar-scrolled .navbar-brand img {
    height: 40px;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-headers);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 18px !important;
    position: relative;
    transition: var(--transition-smooth);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--accent-gold) !important;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: calc(100% - 36px);
}

.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
}

.navbar-custom .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Page Headers & Hero Banners */
.hero-banner {
    position: relative;
    min-height: 80vh;
    background-color: var(--primary-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 20, 26, 0.92) 30%, rgba(30, 34, 41, 0.6) 100%);
    z-index: 2;
}

.hero-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 800px;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--accent-gold);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Inner Page Hero header */
.inner-hero {
    position: relative;
    padding: 160px 0 100px;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
}

.inner-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(17, 20, 26, 0.95) 0%, rgba(30, 34, 41, 0.75) 100%);
    z-index: 1;
}

.inner-hero .container {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.inner-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.inner-hero p {
    font-size: 1.15rem;
    color: var(--accent-gold);
    font-weight: 400;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-gold);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Welcome/Intro Section */
.intro-section {
    padding: 80px 0;
}

.intro-section .card-accent {
    border-left: 5px solid var(--accent-gold);
    padding-left: 24px;
}

.intro-section p {
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Products Section (Card Design) */
.products-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.product-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.15);
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--box-shadow-lg);
}

.product-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: #e5e7eb;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-card-img img {
    transform: scale(1.08);
}

.product-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-body h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.product-card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
}

.product-card-tag {
    font-size: 0.75rem;
    font-family: var(--font-headers);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-gold);
    display: inline-block;
}

/* Values Grid Section */
.values-section {
    padding: 80px 0;
}

.value-box {
    padding: 40px 30px;
    background-color: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.value-box:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--box-shadow-lg);
}

.value-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-gold);
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}


.value-box:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.value-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Timeline/Quarry Process Styles */
.quarry-process-section {
    padding: 80px 0;
}

.process-step {
    position: relative;
    padding-left: 50px;
    border-left: 2px solid rgba(197, 160, 89, 0.3);
    margin-bottom: 40px;
}

.process-step:last-child {
    border-left-color: transparent;
    margin-bottom: 0;
}

.process-step-number {
    position: absolute;
    left: -21px;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--accent-gold);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headers);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 0 8px rgba(197, 160, 89, 0.15);
}

.process-step h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* Downloads List Styling */
.downloads-section {
    padding: 80px 0;
}

.download-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: var(--box-shadow-sm);
    margin-bottom: 20px;
}

.download-card:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-5px) scale(1.01);
}

.download-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.download-file-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.download-details h5 {
    font-size: 1.1rem;
    margin: 0 0 4px;
    color: var(--primary-dark);
}

.download-details span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-btn {
    width: 44px;
    height: 44px;
    background-color: var(--bg-light);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.download-card:hover .download-btn {
    background-color: var(--accent-gold);
    color: #ffffff;
}

/* Contact Details Page styling */
.contact-section {
    padding: 80px 0;
}

.contact-card-info {
    background-color: var(--primary-dark);
    color: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: var(--box-shadow-sm);
}

.contact-card-info:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.contact-card-info h3 {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item-icon {
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin-top: 3px;
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-item p a {
    color: #ffffff;
}

.contact-item p a:hover {
    color: var(--accent-gold);
}

.contact-map-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 400px;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
}

/* Footer styling */
#footer {
    background-color: var(--secondary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#footer h3 {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 25px;
    font-weight: 700;
}

#footer p {
    font-size: 0.95rem;
    line-height: 1.7;
}

#footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer-links li {
    margin-bottom: 12px;
}

#footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

#footer-links li a:hover {
    color: var(--accent-gold);
    padding-left: 6px;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}

.social-links li a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links li a:hover {
    background-color: var(--accent-gold);
    color: #ffffff;
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

#copyright-bar {
    background-color: var(--bg-darker);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

#copyright-bar p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsiveness overrides */
@media (max-width: 991.98px) {
    .navbar-custom .navbar-brand img {
        height: 40px;
    }

    .navbar-custom .navbar-collapse {
        background-color: var(--secondary-dark);
        margin-top: 15px;
        padding: 15px;
        border-radius: var(--border-radius-md);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-custom .nav-link {
        padding: 8px 10px !important;
    }

    .navbar-custom .nav-link::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .inner-hero {
        padding: 130px 0 70px;
    }

    .inner-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .download-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .download-btn {
        align-self: flex-end;
    }
}