/* ASHRAY PACKAGING - PREMIUM GLAMOUR KRAFT THEME */
:root {
    --bg-light: #efe6d9;
    /* Deep, rich Kraft Cream background */
    --bg-card: #ffffff;
    /* Pure white cards for high contrast */
    --bg-alt: #e3d5c1;
    /* Deeper Kraft for alternating sections */

    --brand-dark: #3e2723;
    /* Intense Espresso Brown (Headers) */
    --brand-primary: #8b5a2b;
    /* True Packaging Brown */
    --brand-accent: #d97706;
    /* Vibrant Amber Accent */

    --text-main: #33231c;
    --text-muted: #6b5548;

    --border-color: rgba(139, 90, 43, 0.2);
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

::selection {
    background-color: var(--brand-primary);
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.text-center {
    text-align: center;
}

.w-full {
    width: 100%;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--brand-dark);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(239, 230, 217, 0.85);
    /* Frosty Kraft */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    /* Bright lip */
    box-shadow: 0 4px 30px rgba(93, 58, 26, 0.05);
    /* Dark depth */
    z-index: 1000;
    transition: all 0.3s ease;
}

.brand-logo {
    height: 130px;
    max-width: 500px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* PREMIUM BLEND MODE */
    /* By using 'multiply', the light brown background of your logo will automatically melt into the website's background, making it look authentically transparent and highly professional! */
    mix-blend-mode: multiply;
    filter: contrast(115%);
}

.brand-logo:hover {
    transform: scale(1.03) translateY(-2px);
    filter: contrast(125%) drop-shadow(0 4px 10px rgba(139, 90, 43, 0.3));
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--brand-dark);
}

.logo-accent {
    color: var(--brand-accent);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--brand-dark);
    cursor: pointer;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), #5d3a1a);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    /* DUAL SHADOW COMBINATION */
    box-shadow:
        0 8px 20px rgba(93, 58, 26, 0.3),
        /* Dark drop shadow */
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    /* Bright inner glow */
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 12px 30px rgba(93, 58, 26, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-outline {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    color: var(--brand-dark);
    border: 1px solid var(--border-color);
    box-shadow:
        0 4px 15px rgba(93, 58, 26, 0.05),
        inset 0 2px 3px rgba(255, 255, 255, 1);
}

.btn-outline:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(93, 58, 26, 0.1);
}

.nav-btn {
    background: linear-gradient(135deg, #ffffff, #fdfaf6);
    color: var(--brand-primary);
    border: 1px solid rgba(139, 90, 43, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(93, 58, 26, 0.05), inset 0 1px 1px white;
}

.nav-btn:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(93, 58, 26, 0.2);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.1) 0%, rgba(239, 230, 217, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    margin-bottom: 2rem;
    background: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-accent);
    border: 1px solid rgba(217, 119, 6, 0.3);
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.08);
}

.title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.btn-group {
    display: flex;
    gap: 1rem;
}

/* HERO GRAPHIC */
.hero-graphic {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-floating {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 1);
    backdrop-filter: blur(8px);
    box-shadow:
        0 30px 60px rgba(93, 58, 26, 0.15),
        /* Deep dark structural shadow */
        inset 0 4px 10px rgba(255, 255, 255, 1);
    /* Intense bright edge */
}

.box-1 {
    width: 250px;
    height: 300px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    background: linear-gradient(145deg, #ffffff, #fcfaf8);
}

.box-2 {
    width: 200px;
    height: 200px;
    right: 10%;
    top: 10%;
    z-index: 1;
    animation: float 8s ease-in-out infinite reverse;
}

.box-3 {
    width: 150px;
    height: 180px;
    left: 10%;
    bottom: 15%;
    z-index: 3;
    animation: float 5s ease-in-out infinite 1s;
    border: 1px solid var(--brand-accent);
}

.cmyk-accents {
    position: absolute;
    bottom: 5%;
    right: 5%;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dot-c {
    background-color: #06b6d4;
}

.dot-m {
    background-color: #ec4899;
}

.dot-y {
    background-color: #eab308;
}

.dot-k {
    background-color: #1e293b;
}

/* ABOUT SECTION */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* CARD GLAMOUR */
.stat-card,
.service-card {
    background: linear-gradient(145deg, #ffffff, rgba(255, 255, 255, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    /* DUAL SHADOW */
    box-shadow:
        0 15px 35px rgba(93, 58, 26, 0.04),
        /* Soft dark depth */
        inset 0 2px 0 rgba(255, 255, 255, 1);
    /* Bright structural lip */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stat-card {
    padding: 1.5rem;
    border-radius: 12px;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(93, 58, 26, 0.08), inset 0 2px 0 white;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
}

.service-card:hover {
    transform: translateY(-8px);
    border: 1px solid rgba(217, 119, 6, 0.4);
    box-shadow:
        0 25px 50px rgba(93, 58, 26, 0.12),
        inset 0 2px 0 rgba(255, 255, 255, 1);
}

.service-card.highlighted {
    background: linear-gradient(160deg, #ffffff 0%, #fefcf8 100%);
    border-top: 4px solid var(--brand-accent);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(93, 58, 26, 0.15));
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    color: var(--text-main);
    font-size: 0.95rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-accent);
    font-weight: bold;
}

/* CONTACT */
.contact-wrapper {
    padding: 4rem;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: linear-gradient(145deg, #d8bc98, #c6a27a);
    /* Light Brown Kraft Gradient */
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 25px 60px rgba(93, 58, 26, 0.15),
        /* Soft dark depth */
        inset 0 2px 0 rgba(255, 255, 255, 0.7);
    /* Subtle Bright Structural Lip */
}

/* Text styling for the light brown contact card */
.contact-wrapper .section-title,
.contact-wrapper .info-block strong,
.contact-wrapper label,
.contact-wrapper h2 {
    color: var(--brand-dark);
}

.contact-wrapper p,
.contact-wrapper .info-block span {
    color: var(--text-main);
}

.info-blocks {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-block strong {
    font-size: 1.1rem;
    color: var(--brand-dark);
}

.info-block span {
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-dark);
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(139, 90, 43, 0.2);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    /* DUAL INPUT SHADOW */
    box-shadow: inset 0 2px 4px rgba(93, 58, 26, 0.05), 0 1px 0 rgba(255, 255, 255, 1);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15), inset 0 1px 2px rgba(93, 58, 26, 0.05);
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    background: var(--bg-alt);
    box-shadow: inset 0 4px 15px rgba(93, 58, 26, 0.03);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer p {
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand-primary);
}

.admin-link {
    color: var(--brand-accent) !important;
    font-weight: 800 !important;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 90, 43, 0.1);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ANIMATIONS */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .hero-container,
    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-graphic {
        display: none;
    }

    .hero {
        text-align: center;
        padding-top: 8rem;
    }

    .subtitle {
        margin: 0 auto 2.5rem;
    }

    .btn-group {
        justify-content: center;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(239, 230, 217, 0.98);
        backdrop-filter: blur(16px);
        padding: 1.5rem 0;
        gap: 1rem;
        text-align: center;
        box-shadow: 0 10px 20px rgba(93, 58, 26, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .nav-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .contact-wrapper {
        padding: 2.5rem 1.5rem;
    }
    
    .form-group[style*="display: flex"] {
        flex-direction: column !important;
    }
    
    .form-group > div[style*="display: flex"] {
        flex-wrap: wrap !important;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
    }

    .dashboard-container {
        padding: 1.5rem;
    }
}

/* ADMIN DASHBOARD SPECIFIC STYLES */
.dashboard-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(145deg, #ffffff, rgba(255, 255, 255, 0.6));
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(93, 58, 26, 0.08), inset 0 2px 0 white;
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 3rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th,
.data-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: rgba(239, 230, 217, 0.5);
    color: var(--brand-dark);
    font-weight: 800;
    border-radius: 8px 8px 0 0;
}

.data-table tr:hover {
    background: rgba(255, 255, 255, 0.8);
}

.empty-state {
    padding: 4rem;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
}

/* OPTION 1: INDUSTRIAL SHOWCASE (ALTERNATING ROWS) */
.equipment-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.equipment-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(93, 58, 26, 0.03);
    transition: all 0.4s ease;
    outline: none;
    cursor: pointer;
}

.equipment-row:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px rgba(93, 58, 26, 0.08);
    transform: translateY(-5px);
}

.equipment-row:nth-child(even) {
    flex-direction: row-reverse;
}

.equipment-image-container {
    flex: 1.2;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(93, 58, 26, 0.12);
    border: 1px solid var(--border-color);
    height: 400px;
}

.equipment-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.equipment-row:hover .equipment-image-container img {
    transform: scale(1.05);
}

.equipment-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.equipment-number {
    font-size: 6rem;
    font-weight: 800;
    color: rgba(139, 90, 43, 0.06);
    position: absolute;
    top: -1rem;
    left: -1rem;
    z-index: -1;
    line-height: 1;
}

.equipment-row:nth-child(even) .equipment-number {
    left: auto;
    right: -1rem;
}

.equipment-specs-reveal {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid transparent;
}

.equipment-row:hover .equipment-specs-reveal,
.equipment-row:active .equipment-specs-reveal,
.equipment-row:focus-within .equipment-specs-reveal {
    max-height: 400px;
    opacity: 1;
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-color: var(--border-color);
    box-shadow: inset 0 2px 4px rgba(93, 58, 26, 0.05);
}

.interaction-hint {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-accent);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.equipment-row:hover .interaction-hint {
    opacity: 0;
}

.specialty-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(217, 119, 6, 0.1);
    color: var(--brand-accent);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
    .equipment-row, .equipment-row:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
        margin-bottom: 4rem;
    }
    .equipment-image-container {
        height: 280px;
        width: 100%;
    }
    .equipment-number {
        font-size: 4rem;
        top: 1rem;
        left: 1rem;
    }
}