/* Color Variables and Base Setup */
:root {
    --primary-sol: #FBB023;
    /* Meticulous Gold */
    --secondary-sol: #D4AF37;
    /* Secondary Gold */
    --bg-dark: #1C1917;
    /* Warm Tobacco Espresso Black */
    --bg-section-alt: #231F1E;
    /* Slightly lighter for architectural layering */
    --bg-card-dark: #292524;
    /* Warm dark gray for featured cards */
    --text-gold: #FBB023;
    --border-charcoal: #56514D;
    --border-dark: rgba(255, 255, 255, 0.1);
    --text-muted: #A1A1AA;
    --max-width: 1400px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-dark);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Container Override for 1400px max-width */
.container,
.container-lg,
.container-xl,
.container-xxl {
    max-width: var(--max-width) !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

/* Typography Utilities */
.font-serif {
    font-family: 'Playfair Display', serif;
}

h1,
.display-2 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2,
.display-3 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3,
.display-5 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.display-4 {
    font-size: 3rem !important;
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    font-weight: 700;
    line-height: 1.2;
}



@media (max-width: 768px) {

    h1,
    .display-2 {
        font-size: 48px;
    }

    h2,
    .display-3,
    .display-5 {
        font-size: 30px;
    }

    .display-4 {
        font-size: 2.5rem !important;
    }
}

.text-primary-sol {
    color: var(--primary-sol) !important;
}

.bg-primary-sol {
    background-color: var(--primary-sol) !important;
}

.border-primary-sol {
    border-color: var(--primary-sol) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.tracking-widest {
    letter-spacing: 0.15em;
}

.font-small {
    font-size: 0.875rem;
}

.font-xsmall {
    font-size: 0.75rem;
}

/* Overriding Bootstrap Utils for specific opacity */
.opacity-75 {
    opacity: 0.75 !important;
}

.opacity-50 {
    opacity: 0.50 !important;
}

/* Global Utilities */
.min-h-300 {
    min-height: 300px;
}

.min-h-400 {
    min-height: 400px;
}

.transition-all {
    transition: all 0.3s ease;
}

.badge-line-centered {
    margin-left: auto !important;
    margin-right: auto !important;
}

.contact-form-container {
    width: 100%;
    max-width: 600px;
}

.hover-light:hover {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Button Customizations */
.btn-primary-sol {
    background-color: var(--primary-sol);
    color: #000;
    border: none;
    transition: all 0.3s ease;
    border-radius: 15px !important;
}

.btn {
    border-radius: 15px !important;
}

.rounded-md,
.rounded-pill {
    border-radius: 15px !important;
}


.btn-primary-sol:hover {
    background-color: #dca300;
    color: #000;
}

.btn-manufacturing {
    background-color: #3b2416;
    border: 1px solid #564033 !important;
    color: var(--primary-sol);
    transition: all 0.3s ease;
}

.btn-manufacturing:hover {
    background-color: #4a2e1c;
    color: var(--primary-sol);
    border-color: var(--primary-sol) !important;
}

.btn-outline-dark {
    border: 1px solid var(--border-dark);
}

.btn-outline-dark:hover {
    background-color: #1a1a1a;
}

.hero-empty-btn {
    width: 130px;
}

.scale-empty-btn {
    width: 100px;
}

/* Navbar styles */
.navbar {
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(28, 25, 23, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #333333 !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.navbar-brand img {
    height: 75px;
    /* Increased size for desktop */
    width: auto;
    transition: var(--transition);
    opacity: 1;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 50px;
        /* Adjusted for mobile */
    }
}

.navbar.scrolled .navbar-brand img {
    opacity: 1;
}

.nav-link-custom {
    font-size: 0.825rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-link-custom:hover {
    color: var(--primary-sol) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.hero-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #000;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.3;
}

.hero-bg-texture {
    position: absolute;
    inset: 0;
    background-image: url('hero-texture.svg');
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.15;
    mix-blend-mode: overlay;
    z-index: 1;
}

.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, var(--bg-dark) 0%, transparent 100%);
    z-index: 3;
}

.badge-line {
    background-color: var(--primary-sol);
    height: 1px;
}

.hero-desc {
    font-size: 21px;
    max-width: 550px;
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-desc {
        font-size: 24px;
    }
}

/* Animations */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fade-up 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Stats Section */
.border-y {
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.stat-col {
    border-right: 1px solid var(--border-dark);
}

@media (max-width: 767.98px) {
    .stat-col:nth-child(even) {
        border-right: none;
    }

    .stat-col {
        border-bottom: 1px solid var(--border-dark);
    }

    .border-bottom-mobile {
        border-bottom: none !important;
    }

    .stats-section h2 {
        font-size: 30px !important;
    }
}

.stats-section h2 {
    letter-spacing: -1px;
    font-size: 2.75rem;
}

/* Grid Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border-dark);
    border-left: 1px solid var(--border-dark);
}

.feature-item {
    border-right: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background-color: #1a1a1a;
}

.feature-image-item {
    background-color: #222222;
}

.feature-image-item:hover {
    background-color: #222222;
}

@media (max-width: 991.98px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Advantage Section watermark */
.watermark-logo {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    /* Softly embedded SVG watermark behind the advantage section */
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 70%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" stroke="%23333333" stroke-width="0.5" fill="none"/><ellipse cx="50" cy="50" rx="45" ry="12" stroke="%23333333" stroke-width="0.5" fill="none" transform="rotate(25 50 50)"/><ellipse cx="50" cy="50" rx="45" ry="12" stroke="%23333333" stroke-width="0.5" fill="none" transform="rotate(-25 50 50)"/><text x="50" y="55" font-family="sans-serif" font-size="22" fill="%23444" font-weight="bold" text-anchor="middle">SOL</text><text x="50" y="75" font-family="sans-serif" font-size="10" fill="%23444" font-weight="bold" text-anchor="middle">CONES</text></svg>') center center no-repeat;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.manufacturing-facility-box {
    background-color: #181818;
    border: 1px solid var(--border-dark);
    transition: background-color 0.3s ease;
}

.manufacturing-facility-box:hover {
    background-color: #1c1c1c;
}

.advantage-points i {
    opacity: 0.9;
}

/* Scale Section */
.scale-box {
    border-color: var(--border-dark) !important;
    background-color: transparent;
    z-index: 2;
}

/* Footer styles */
.footer {
    background-color: transparent;
}

.footer .navbar-brand {
    flex-direction: column;
    align-items: flex-start;
}

.footer .navbar-brand img {
    opacity: 1;
    transform: none;
    width: 120px;
    /* Specific size as requested */
    height: auto;
    margin-bottom: 1rem;
}

.footer .navbar-brand span {
    margin-left: 0 !important;
}

.footer h6 {
    font-size: 0.9rem !important;
    color: #FFFFFF !important;
}

.footer p,
.footer a {
    font-size: 1rem !important;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-sol);
}

/* Fix spacing on extremely small screens */
@media (max-width: 575.98px) {
    .display-2 {
        font-size: 48px !important;
    }

    .display-5 {
        font-size: 30px !important;
    }

    .display-3 {
        font-size: 30px !important;
    }
}

/* watermark */

/* Watermark Container Styling */
.watermark-container {
    position: relative;
    overflow: hidden;
}

.watermark-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Background Logo Settings */
    background-image: url('sol-cones-logo.png');
    /* Ensure path is correct */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 800px;
    /* Adjust size of the watermark here */
    background-attachment: fixed;
    /* This keeps it fixed while scrolling */

    /* Watermark Effect */
    opacity: 0.09;
    /* Adjust this for transparency (0.03 to 0.1 is best) */

    /* Optional: makes it look more like a subtle watermark */

    z-index: -1;
    /* Places it behind all content */
    pointer-events: none;
    /* Ensures it doesn't interfere with clicks */
}

/* Optional: Ensure sections have transparent backgrounds 
   to see the watermark through them */
.stats-section,
.feature-grid-section,
.advantage-section,
.scale-section {
    background-color: transparent !important;
}

/* font setting */
/* The horizontal line above the text */
.badge-line {
    width: 48px;
    height: 1px;
    background-color: var(--primary-sol);
    margin-bottom: 2rem;
}

/* "SOL CONES" styling */
.hero-badge-title {
    font-family: 'Playfair Display', serif;
    /* Serif font from image */
    font-size: 1.8rem;
    /* Larger size */
    color: #e3a01f;
    /* Gold color */
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* "PREMIUM MANUFACTURING PARTNER" styling */
.hero-badge-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    /* Smaller font */
    color: #FBBD23;
    /* Changed from gray to Gold */
    letter-spacing: 0.4em;
    /* Extra wide tracking like the image */
    font-weight: 600;
    text-transform: uppercase;
}

/* Ensure the main brand color matches throughout */
.text-primary-sol {
    color: #FBBD23 !important;
}

/* Products Page Specifics */
.pt-150 {
    padding-top: 150px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: transparent;
}

.bg-card-dark {
    background-color: var(--bg-card-dark) !important;
}

.product-card {
    background-color: var(--bg-card-dark);
    transition: all 0.4s ease;
    cursor: pointer;
    min-height: 480px;
}

.product-grid-border,
.border-charcoal {
    border-color: #333333 !important;
}

.product-card:hover {
    background-color: #1a1a1a;
    box-shadow: inset 0 0 40px rgba(251, 189, 35, 0.05);
}

.product-card-empty {
    background-color: #141414;
    cursor: default;
}




@media (max-width: 991.98px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .pt-150 {
        padding-top: 120px;
    }
}

.nav-link-custom.active {
    color: var(--primary-sol) !important;
}

/* Custom Page Process Grid */
.process-grid {
    background-color: transparent;
}

.process-item {
    transition: background-color 0.4s ease;
}

.process-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 991.98px) {
    .process-grid {
        border-left: none !important;
    }
}

/* Contact Form & Input Styles */
.custom-input {
    background-color: #1a1a1a;
    border: 1px solid var(--border-dark);
    color: white;
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}


.custom-input:focus {
    background-color: #222222;
    border-color: var(--primary-sol);
    color: white;
    box-shadow: none;
    outline: none;
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-label {
    margin-bottom: 0.75rem;
    color: #F8F7F6;
    font-size: 11px;
    opacity: 0.8;
}

.contact-hero-desc {
    max-width: 600px;
    color: #F8F7F6 !important;
}

/* Dropdown specific styling */
select.custom-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FBBD23' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

/* About Page Utilities */
.placeholder-image-container {
    border-radius: 16px;
    background-color: #181818;
}

.max-600 {
    max-width: 600px;
}

/* Detail Page Utilities */
.text-muted-white {
    color: rgba(255, 255, 255, 0.5);
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.detail-specs-list li {
    letter-spacing: 0.02em;
}

.detail-spec-dot {
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(251, 189, 35, 0.3);
}

.product-detail-icon-box {
    border-radius: 4px;
}

@media (max-width: 991px) {
    .product-detail-icon-box {
        min-height: 400px !important;
    }
}