
/* =========================================
   GANDTT PRODUCTS
   Reusable Components
========================================= */


/* =========================================
   01. BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    padding: 0.85rem 1.5rem;

    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.5;

    border: 1px solid transparent;
    border-radius: var(--radius-sm);

    cursor: pointer;

    transition:
        background-color var(--transition-normal),
        color var(--transition-normal),
        border-color var(--transition-normal),
        transform var(--transition-fast);
}


/* Primary Button */

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}


/* Outline Button */

.btn--outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}


/* Light Button */

.btn--light {
    background-color: var(--color-ivory);
    color: var(--color-primary);
}

.btn--light:hover {
    background-color: var(--color-beige);
}


/* WhatsApp Button */

.btn--whatsapp {
    background-color: #167443;
    color: var(--color-white);
}

.btn--whatsapp:hover {
    background-color: #105C34;
}


/* Button Sizes */

.btn--sm {
    padding: 0.6rem 1rem;
    font-size: var(--text-xs);
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: var(--text-base);
}

.btn--block {
    width: 100%;
}

.btn:active {
    transform: translateY(1px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* =========================================
   02. ANNOUNCEMENT BAR
========================================= */

.announcement-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: var(--text-xs);
    padding-block: 0.6rem;
}

.announcement-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.announcement-bar__message {
    font-weight: 500;
}

.announcement-bar__contacts {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.announcement-bar__contacts a {
    transition: color var(--transition-fast);
}

.announcement-bar__contacts a:hover {
    color: var(--color-sage);
}

.announcement-bar a:focus-visible {
    outline-color: var(--color-white);
}


/* =========================================
   03. SITE HEADER AND NAVIGATION
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background-color: var(--color-ivory);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.navbar {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 82px;
    gap: var(--space-lg);
}


/* Company Brand */

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.75rem;
}

.brand__symbol {
    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
}

.brand__symbol svg {
    width: 26px;
    height: 26px;
}

.brand__text {
    display: flex;
    flex-direction: column;
}

.brand__name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary);
}

.brand__tagline {
    margin-top: 0.3rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--color-brown);
}


/* Navigation Menu */

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    position: relative;

    display: inline-block;
    padding-block: 0.5rem;

    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-charcoal);

    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--color-secondary);
}


/* Navigation Underline */

.nav-link::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background-color: var(--color-secondary);

    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
    width: 100%;
}


/* Mobile Menu Toggle */

.nav-toggle {
    display: none;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.nav-toggle span {
    display: block;

    width: 22px;
    height: 2px;

    background-color: var(--color-primary);

    transition:
        transform var(--transition-normal),
        opacity var(--transition-fast);
}


/* Hamburger to Close Icon */

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}



/* =========================================
   04. FEATURE LIST
========================================= */

.feature-list {
    display: flex;
    flex-direction: column;

    gap: 0.85rem;

    margin-block: var(--space-md);
}

.feature-list li {
    position: relative;

    padding-left: 1.8rem;

    font-size: var(--text-sm);
    font-weight: 500;

    color: var(--color-charcoal);
}

.feature-list li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0.3rem;

    width: 16px;
    height: 16px;

    border-radius: var(--radius-full);

    background-color: var(--color-secondary);
}

.feature-list li::after {
    content: "";

    position: absolute;

    left: 5px;
    top: 0.5rem;

    width: 5px;
    height: 8px;

    border-right: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);

    transform: rotate(45deg);
}



/* =========================================
   05. PRODUCT CATEGORY CARDS
========================================= */

.category-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: var(--space-md);
}


/* Category Card */

.category-card {
    display: flex;
    flex-direction: column;

    background-color: var(--color-ivory);

    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}


/* Card Image */

.category-card__media {
    aspect-ratio: 16 / 10;

    background-color: var(--color-beige);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Card Body */

.category-card__body {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: var(--space-md);
}

.category-card__title {
    font-size: var(--text-2xl);

    margin-bottom: var(--space-xs);
}

.category-card__description {
    font-size: var(--text-sm);
    color: var(--color-text-muted);

    margin-bottom: var(--space-md);
}


/* Category Link */

.category-card__link {
    display: inline-flex;
    align-items: center;

    align-self: flex-start;

    gap: 0.5rem;

    margin-top: auto;

    font-size: var(--text-sm);
    font-weight: 600;

    color: var(--color-secondary);
}

.category-card__link:hover {
    text-decoration: underline;
}

.category-card__link span {
    transition: transform var(--transition-fast);
}

.category-card__link:hover span {
    transform: translateX(4px);
}



/* =========================================
   06. SPLIT CONTENT LAYOUT
========================================= */

.split-layout {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    align-items: center;

    gap: clamp(2rem, 6vw, 6rem);
}

.split-layout__content {
    min-width: 0;
}

.split-layout__content .section-description {
    margin-bottom: var(--space-sm);
}

.split-layout__content .feature-list {
    margin-bottom: var(--space-lg);
}

.split-layout__visual {
    position: relative;
    min-width: 0;
}

.split-layout__image {
    min-height: 460px;

    background-color: var(--color-sage);

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    border-radius: var(--radius-lg);
}


/* Reusable Image Label */

.image-label {
    position: absolute;

    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;

    display: flex;
    flex-direction: column;

    padding: var(--space-md);

    background-color: var(--color-ivory);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-md);
}

.image-label strong {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-primary);
}

.image-label span {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}


/* =========================================
   07. PRODUCT CARDS
========================================= */

.product-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    background-color: var(--color-ivory);

    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}


/* Product Image */

.product-card__media {
    position: relative;

    aspect-ratio: 16 / 10;

    background-color: var(--color-beige);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-card__tag {
    position: absolute;

    top: 1rem;
    left: 1rem;

    padding: 0.4rem 0.85rem;

    background-color: var(--color-primary);
    color: var(--color-white);

    font-size: var(--text-xs);
    font-weight: 600;

    border-radius: var(--radius-full);
}


/* Product Information */

.product-card__body {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: var(--space-md);
}

.product-card__category {
    color: var(--color-secondary);

    font-size: var(--text-xs);
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.1em;

    margin-bottom: var(--space-xs);
}

.product-card__title {
    font-size: var(--text-2xl);

    margin-bottom: var(--space-xs);
}

.product-card__description {
    color: var(--color-text-muted);

    font-size: var(--text-sm);

    margin-bottom: var(--space-md);
}

.product-card__price {
    margin-top: auto;
    margin-bottom: var(--space-sm);

    color: var(--color-brown);

    font-size: var(--text-sm);
    font-weight: 600;
}

.product-card__actions {
    display: flex;
    flex-wrap: wrap;

    gap: var(--space-xs);
}

.product-card__actions .btn {
    flex: 1;
}

/* =========================================
   08. BUSINESS INQUIRY CTA
========================================= */

.business-cta {
    background-color: var(--color-beige);
}

.business-cta__inner {
    display: grid;

    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);

    align-items: center;

    gap: var(--space-xl);
}

.business-cta__content {
    max-width: 720px;
}

.business-cta__actions {
    display: flex;
    flex-direction: column;

    gap: var(--space-sm);
}

.business-cta__actions .btn {
    width: 100%;
}


/* =========================================
   09. CORPORATE FOOTER
========================================= */

.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);

    padding-top: var(--space-2xl);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1.3fr);

    gap: var(--space-xl);

    padding-bottom: var(--space-2xl);
}

.footer-column {
    min-width: 0;
}


/* Footer Brand */

.footer-brand {
    display: inline-flex;
    flex-direction: column;

    margin-bottom: var(--space-md);
}

.footer-brand__name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;

    color: var(--color-white);
}

.footer-brand__tagline {
    margin-top: 0.5rem;

    font-size: var(--text-xs);
    letter-spacing: 0.35em;

    color: var(--color-beige);
}

.footer-description {
    color: var(--color-cream);

    font-size: var(--text-sm);

    margin-bottom: var(--space-md);
}


/* Footer Social Links */

.footer-socials {
    display: flex;
    flex-wrap: wrap;

    gap: var(--space-xs);
}

.footer-socials a {
    padding: 0.45rem 0.75rem;

    font-size: var(--text-xs);

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);

    transition:
        background-color var(--transition-normal),
        color var(--transition-normal);
}

.footer-socials a:hover {
    background-color: var(--color-ivory);
    color: var(--color-primary);
}


/* Footer Navigation */

.footer-title {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;

    color: var(--color-white);

    margin-bottom: var(--space-md);
}

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 0.7rem;
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--color-cream);

    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-sage);
    text-decoration: underline;
}


/* Contact Information */

.footer-address {
    font-style: normal;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;

    gap: 0.25rem;

    margin-bottom: var(--space-sm);

    font-size: var(--text-sm);

    overflow-wrap: anywhere;
}

.footer-contact-item strong {
    font-size: var(--text-xs);
    color: var(--color-beige);
}

.footer-contact-item p,
.footer-contact-item a {
    color: var(--color-cream);
}

.footer-contact-item a:hover {
    text-decoration: underline;
}


/* Footer Bottom */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);

    padding-block: var(--space-md);
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: var(--space-sm);

    font-size: var(--text-xs);
    color: var(--color-cream);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;

    gap: var(--space-md);
}

.footer-legal a:hover {
    text-decoration: underline;
}

.site-footer a:focus-visible {
    outline-color: var(--color-white);
}

#siteHeader nav a.active {
    color: var(--color-secondary);
    font-weight: 600;
}

/* =========================================
   06. NATURAL RESOURCES
========================================= */

.resource-highlight {
    position: absolute;

    left: 1.5rem;
    bottom: 1.5rem;

    display: flex;
    flex-direction: column;

    padding: 1.5rem 2rem;

    background-color: var(--color-primary);
    color: var(--color-white);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-md);
}

.resource-highlight strong {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;

    color: var(--color-beige);
}

.resource-highlight span {
    margin-top: 0.5rem;

    font-size: var(--text-sm);
}


/* =========================================
   09. INTERNATIONAL BUSINESS
========================================= */

.market-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: var(--space-md);
}

.market-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: var(--space-lg) var(--space-sm);

    text-align: center;

    background-color: var(--color-cream);

    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.market-card__code {
    display: grid;
    place-items: center;

    width: 64px;
    height: 64px;

    margin-bottom: var(--space-sm);

    background-color: var(--color-primary);
    color: var(--color-white);

    border-radius: var(--radius-full);

    font-family: var(--font-heading);
    font-size: var(--text-2xl);
}

.market-card h3 {
    font-size: var(--text-xl);

    margin-bottom: var(--space-xs);
}

.market-card p {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}


/* ========================================
   FLOATING WHATSAPP BUTTON
======================================== */

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;

    min-height: 54px;
    padding: 0.85rem 1.25rem;

    background-color: #167443;
    color: var(--color-white);

    font-size: var(--text-sm);
    font-weight: 600;

    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);

    transition:
        background-color var(--transition-normal),
        transform var(--transition-normal);
}

.floating-whatsapp svg {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

.floating-whatsapp:hover {
    background-color: #105C34;
    transform: translateY(-3px);
}
/* ========================================
   ACCESSIBILITY - SKIP NAVIGATION
======================================== */

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 9999;

    padding: 0.85rem 1.25rem;

    background-color: var(--color-primary);
    color: var(--color-white);

    border-radius: var(--radius-sm);

    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
    outline: 3px solid var(--color-brown);
    outline-offset: 3px;
}

#mainContent {
    scroll-margin-top: 130px;
}