
/* ====================================================
   GRINDTEC WEBSITE V2.2 - ENHANCED LAYOUT & NAVIGATION
   ==================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.875rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: #ea580c;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #dc2626;
}

/* === CONTAINER & LAYOUT === */
.container {
    max-width: 95%;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Desktop constraints - maximum width for very large screens */
@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
    }
}

/* Large desktop constraints */
@media (min-width: 1400px) and (max-width: 1599px) {
    .container {
        max-width: 96%;
    }
}

/* Tablet constraints */
@media (max-width: 1024px) {
    .container {
        max-width: 97%;
        padding: 0 1.25rem;
    }
}

/* Mobile constraints */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

.section {
    padding: 5rem 0;
}

.section-light {
    background: #ffffff;
}

.section-gray {
    background: #f8fafc;
}

.section-dark {
    background: #1f2937;
    color: #ffffff;
}

/* === HEADER & NAVIGATION === */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 3.5rem;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.company-info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.company-info p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: #374151;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(229, 231, 235, 0.6);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.875rem;
}

.nav-link:hover {
    color: #ea580c;
    background: rgba(234, 88, 12, 0.08);
    border-color: rgba(234, 88, 12, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-link.active {
    color: #ea580c;
    background: rgba(234, 88, 12, 0.1);
    border-color: rgba(234, 88, 12, 0.4);
    font-weight: 600;
}

/* === HERO SECTION === */
.hero {
    background-image: url('../images/Grindtec services Ltd Belfast.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(234, 88, 12, 0.9);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
    color: #f97316;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Coming Soon Banner */
.hero-coming-soon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    padding: 2rem 0 1.5rem;
    backdrop-filter: blur(8px);
}

.coming-soon-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.9);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.coming-soon-content p {
    font-size: 1rem;
    opacity: 0.95;
    color: #ffffff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #ea580c;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -1px rgba(234, 88, 12, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: white;
    color: #1f2937;
    border-color: white;
}

.btn-outline {
    background: transparent;
    color: #ea580c;
    border: 2px solid #ea580c;
}

.btn-outline:hover {
    background: #ea580c;
    color: white;
}

/* === SERVICE BANNER === */
.service-banner {
    background: #ea580c;
    color: white;
    padding: 1rem 0;
    text-align: center;
    font-weight: 600;
}

/* === CARDS === */
.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
    border-color: rgba(234, 88, 12, 0.2);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-icon-orange {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

.card-icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.card-icon-green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* === STATS === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ea580c;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* === GRID LAYOUTS === */
.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* === BADGES & TAGS === */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-orange {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

.badge-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.badge-green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* === COMPANY LOGOS GRID === */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.logo-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 100px;
}

.logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.logo-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

/* === CONTACT SECTION === */
.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-details p {
    color: #6b7280;
    margin-bottom: 0.25rem;
}

/* === FOOTER === */
.footer {
    background: #111827;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

/* Footer responsive adjustments */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-section {
        padding-bottom: 1rem;
        border-bottom: 1px solid #374151;
    }
    
    .footer-section:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section {
        padding-bottom: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

.footer-section {
    padding-right: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* === PAGE HEADERS === */
.page-hero {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

/* === LOADING STATES === */
.loading {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.loading i {
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
    display: block;
    font-size: 2rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.opacity-90 { opacity: 0.9; }
.opacity-80 { opacity: 0.8; }
.opacity-70 { opacity: 0.7; }

.text-orange { color: #ea580c; }
.text-gray { color: #6b7280; }
.text-dark { color: #1f2937; }
.text-white { color: #ffffff; }

.bg-orange { background: #ea580c; }
.bg-gray { background: #f8fafc; }
.bg-white { background: #ffffff; }

/* === SMOOTH ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

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

/* === EMAIL PROTECTION === */
.email-protected {
    cursor: pointer;
    color: #ea580c;
    text-decoration: underline;
}

.email-protected:hover {
    color: #dc2626;
}
