/*
Theme Name: Scannecs Procurement
Theme URI: https://scannecs.com
Author: Scannecs
Author URI: https://scannecs.com
Description: A professional one-page theme for Scannecs Procurement & Consultancy - Offshore Renewable Energy, Oil & Gas and Industry sectors.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scannecs
Tags: one-page, custom-background, custom-logo, custom-menu, featured-images, responsive-layout, business
*/

/* ==========================================================================
   CSS Variables / Design Tokens
   ========================================================================== */

:root {
    /* Professional Navy & Gold Theme */
    --background: hsl(210, 25%, 97%);
    --foreground: hsl(215, 35%, 15%);
    
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(215, 35%, 15%);
    
    /* Deep Navy Primary */
    --primary: hsl(215, 55%, 22%);
    --primary-foreground: hsl(45, 100%, 96%);
    
    /* Warm Gold Secondary */
    --secondary: hsl(40, 70%, 50%);
    --secondary-foreground: hsl(215, 55%, 15%);
    
    /* Soft backgrounds */
    --muted: hsl(210, 20%, 94%);
    --muted-foreground: hsl(215, 20%, 45%);
    
    /* Gold Accent */
    --accent: hsl(40, 75%, 55%);
    --accent-foreground: hsl(215, 55%, 15%);
    
    --border: hsl(210, 25%, 88%);
    
    /* Custom tokens */
    --navy-deep: hsl(215, 55%, 18%);
    --navy-light: hsl(215, 45%, 28%);
    --gold-warm: hsl(40, 70%, 50%);
    --gold-light: hsl(45, 80%, 70%);
    --cream: hsl(45, 30%, 96%);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(215, 55%, 18%) 0%, hsl(215, 45%, 28%) 100%);
    --gradient-gold: linear-gradient(135deg, hsl(40, 70%, 50%) 0%, hsl(45, 80%, 60%) 100%);
    
    /* Shadows */
    --shadow-elegant: 0 10px 40px -10px hsla(215, 55%, 22%, 0.15);
    --shadow-card: 0 4px 20px -4px hsla(215, 55%, 22%, 0.1);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans 3', sans-serif;
    
    --radius: 0.5rem;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

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

.section {
    padding: 5rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.main-navigation {
    display: none;
}

@media (min-width: 1024px) {
    .main-navigation {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--muted);
}

.header-cta {
    display: none;
}

@media (min-width: 1024px) {
    .header-cta {
        display: block;
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 1rem;
}

.mobile-nav.active {
    display: block;
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    border-radius: var(--radius);
}

.mobile-nav-link:hover {
    color: var(--primary);
    background: var(--muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--secondary-foreground);
}

.btn-gold:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-hero {
    background: var(--accent);
    color: var(--accent-foreground);
}

.btn-hero:hover {
    opacity: 0.9;
}

.btn-hero-outline {
    background: transparent;
    color: var(--primary-foreground);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.btn-navy {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-navy:hover {
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding-top: 80px; /* Account for fixed header */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 500px;
    height: 500px;
    background: var(--accent);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(100px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: var(--accent);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-container {
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    color: var(--primary-foreground);
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--primary-foreground);
}

.hero-title span {
    color: var(--accent);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 2rem;
    max-width: 540px;
}

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

.hero-image {
    display: none;
}

@media (min-width: 1024px) {
    .hero-image {
        display: block;
        text-align: center;
    }
}

.hero-image img {
    max-width: 400px;
    margin: 0 auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
}

/* ==========================================================================
   Quote Section
   ========================================================================== */

.quote-section {
    padding: 5rem 0;
    background: var(--muted);
}

.quote-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--foreground);
}

/* ==========================================================================
   Problem Section
   ========================================================================== */

.problem-section {
    padding: 5rem 0;
    background: var(--background);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.problem-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s ease;
}

.problem-card:hover {
    box-shadow: var(--shadow-elegant);
}

.problem-card h3 {
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ==========================================================================
   Solution Section
   ========================================================================== */

.solution-section {
    padding: 5rem 0;
    background: var(--gradient-hero);
    color: var(--primary-foreground);
}

.solution-section .section-title {
    color: var(--primary-foreground);
}

.solution-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.solution-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--accent);
}

.solution-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-foreground);
}

.solution-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    padding: 5rem 0;
    background: var(--background);
}

.about-container {
    display: grid;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image img {
    max-width: 320px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.about-subtitle {
    display: inline-block;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.about-title {
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    padding: 5rem 0;
    background: var(--muted);
}

.service-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-elegant);
}

.service-icon-wrapper {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsla(40, 75%, 55%, 0.1);
    border-radius: var(--radius);
}

.service-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ==========================================================================
   Referrals/Testimonials Section
   ========================================================================== */

.referrals-section {
    padding: 5rem 0;
    background: var(--background);
}

.testimonial-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-elegant);
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.testimonial-author {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-title {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
    padding: 5rem 0;
    background: var(--muted);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    color: var(--foreground);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   Offer Section
   ========================================================================== */

.offer-section {
    padding: 5rem 0;
    background: var(--background);
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsla(40, 75%, 55%, 0.2);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.offer-card {
    background: var(--card);
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-elegant);
    max-width: 700px;
    margin: 2rem auto;
}

.offer-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.offer-check {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.offer-item p {
    font-size: 1.125rem;
    line-height: 1.7;
}

.offer-cta {
    background: var(--gradient-hero);
    color: var(--primary-foreground);
    padding: 3rem;
    border-radius: var(--radius);
    text-align: center;
    max-width: 700px;
    margin: 2rem auto 0;
}

.offer-cta h3 {
    color: var(--primary-foreground);
    margin-bottom: 1rem;
}

.offer-cta p {
    opacity: 0.85;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    padding: 5rem 0;
    background: var(--background);
}

.contact-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form h2 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    color: var(--foreground);
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    resize: none;
    min-height: 150px;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-card);
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsla(40, 75%, 55%, 0.1);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-card a,
.contact-card p {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--accent);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    padding: 5rem 0;
    background: var(--muted);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-foreground);
}

.footer-brand .logo-text h3 {
    font-size: 1.125rem;
    color: var(--primary-foreground);
}

.footer-brand .logo-text p {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-brand > p {
    opacity: 0.8;
    line-height: 1.7;
    max-width: 400px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary-foreground);
}

.footer-links a,
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }

@media (min-width: 768px) {
    .md-block { display: block; }
    .md-hidden { display: none; }
}

@media (min-width: 1024px) {
    .lg-block { display: block; }
    .lg-hidden { display: none; }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* ==========================================================================
   WordPress Specific
   ========================================================================== */

.wp-block-image img {
    height: auto;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}
