/*
Theme Name: FitoutPro
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Description: A modern, professional WordPress theme designed for commercial fitout companies, interior designers, and construction businesses. Features mobile-responsive design, SEO optimization, and specialized landing pages for different fitout segments.
Author: Jestin Joseph
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fitoutpro
Domain Path: /languages
Tags: business, construction, fitout, interior-design, commercial, responsive, seo-friendly
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
  box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fixed Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.main-header.header-scrolled {
    background-color: rgba(26, 30, 38, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.main-header.header-hidden {
    transform: translateY(-100%);
}

/* Header Content Styles */
.header-sticky {
    padding: 15px 0;
    transition: padding 0.3s ease;
}

.header-scrolled .header-sticky {
    padding: 10px 0;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.header-scrolled .navbar-brand img {
    max-height: 45px;
}

/* Navigation Menu Styles */
.main-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 50px;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
  margin: 0;
  padding: 0;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-link:hover,
.nav-link:focus {
    color: #dc2626;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #dc2626;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-item.current-menu-item .nav-link::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  list-style: none;
}

.nav-item:hover .sub-menu {
  opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .nav-link {
    color: #333;
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    text-transform: none;
}

.sub-menu .nav-link:hover {
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

/* Header Button Styles */
.header-btn {
    margin-left: 30px;
}

.btn-default {
    background-color: #dc2626;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #dc2626;
    display: inline-block;
}

.btn-default:hover {
    background-color: transparent;
    color: #dc2626;
    text-decoration: none;
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 991px) {
    .main-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(26, 30, 38, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
    }

    .main-menu.show {
        transform: translateY(0);
  opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        padding: 15px 0;
        display: block;
        width: 100%;
    }

    .sub-menu {
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding: 0 0 0 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav-item.show .sub-menu {
        display: block;
    }

    .header-btn {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }

    .btn-default {
        width: 100%;
        text-align: center;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 767px) {
    .header-sticky {
        padding: 10px 0;
    }

    .navbar-brand img {
        max-height: 40px;
    }

    .header-scrolled .navbar-brand img {
        max-height: 35px;
    }
}



/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Additional utility classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
    border: 0;
}

/* Container and layout styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-12,
.col-md-6,
.col-lg-4,
.col-lg-6 {
    padding: 0 15px;
}

.col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (max-width: 767px) {
    .col-md-6,
    .col-lg-4,
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Alignment utilities */
.align-items-center {
  align-items: center;
}

.d-flex {
    display: flex;
}

.d-inline-flex {
  display: inline-flex;
}

/* Text utilities */
.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

/* Spacing utilities */
.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Background utilities */
.bg-gray-800 {
    background-color: #1f2937;
}

.bg-gray-700 {
    background-color: #374151;
}

.bg-red-600 {
    background-color: #dc2626;
}

.bg-red-700 {
    background-color: #b91c1c;
}

.bg-green-600 {
    background-color: #059669;
}

/* Border utilities */
.border {
    border: 1px solid;
}

.border-gray-600 {
    border-color: #4b5563;
}

.border-red-500 {
    border-color: #ef4444;
}

.rounded-lg {
    border-radius: 0.5rem;
}

/* Text color utilities */
.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.placeholder-gray-400::placeholder {
    color: #9ca3af;
}

/* Focus utilities */
.focus\:outline-none:focus {
    outline: none;
}

.focus\:border-red-500:focus {
    border-color: #ef4444;
}

/* Transition utilities */
.transition-colors {
    transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.duration-300 {
  transition-duration: 300ms;
}

/* Display utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-1 {
    flex: 1 1 0%;
}

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

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

.gap-4 {
    gap: 1rem;
}

/* Max width utilities */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-7xl {
    max-width: 80rem;
}

/* Margin utilities */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Font utilities */
.font-bold {
    font-weight: 700;
}

/* Whitespace utilities */
.whitespace-nowrap {
    white-space: nowrap;
}

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  }

@media (min-width: 1024px) {
    .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Form styles */
input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #4b5563;
    border-radius: 0.5rem;
    background-color: #374151;
    color: white;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: #dc2626;
}

input[type="email"]::placeholder {
    color: #9ca3af;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Newsletter section specific styles */
.bg-gray-800 {
    background-color: #1f2937;
}

.bg-gray-800 h2 {
    color: white;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

.bg-gray-800 p {
    color: #d1d5db;
    margin-bottom: 2rem;
  }

.bg-gray-800 .btn-default {
    background-color: #dc2626;
    color: white;
    padding: 16px 32px;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    border: 2px solid #dc2626;
    display: inline-block;
}

.bg-gray-800 .btn-default:hover {
    background-color: #b91c1c;
    text-decoration: none;
}

/* Success state for newsletter */
.bg-gray-800 .btn-default.bg-green-600 {
    background-color: #059669;
    border-color: #059669;
}

.bg-gray-800 .btn-default.bg-green-600:hover {
    background-color: #047857;
}

/* Error state for email input */
.bg-gray-800 input[type="email"].border-red-500 {
    border-color: #ef4444;
}

/* Footer styles */
.main-footer {
    background-color: #1a1e26;
    color: white;
    padding: 60px 0 20px;
}

.footer-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
}

.footer-social-links h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-social-links ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

.footer-links h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #dc2626;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact-item .icon-box {
    width: 40px;
    height: 40px;
    background-color: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #dc2626;
}

.footer-contact-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-newsletter-form p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.form-group {
    position: relative;
    display: flex;
    align-items: center;
}

.form-control {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group button {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #dc2626;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.form-group button:hover {
    background-color: rgba(220, 38, 38, 0.1);
}

.footer-copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright-text p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}

/* Responsive footer */
@media (max-width: 767px) {
    .footer-header {
        text-align: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
    
    .footer-links {
        margin-bottom: 30px;
    }
}

/* Site main content */
.site-main {
    min-height: 100vh;
}

/* Skip link accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #dc2626;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}
