/*
Theme Name: Fairly Booked
Theme URI: https://fairlybooked.com
Author: Fairly Booked Team
Author URI: https://fairlybooked.com
Description: A modern, professional WordPress theme for the Fairly Booked venue management platform
Version: 1.4.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fairly-booked
Tags: business, one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

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

body {
    font-family: 'Instrument Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #111827;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C2D5A;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 5rem;
    max-width: 100%;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.125rem;
    }

    .logo img {
        height: 3.5rem;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 50%, #2C2D5A 100%);
    color: white;
    padding: 5rem 1.5rem;
}

/* Buttons */
.btn-primary {
    background: #F59E0B;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #D97706;
    color: white;
}

.btn-secondary {
    background: white;
    color: #111827;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #f3f4f6;
    color: #111827;
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    background: transparent;
    cursor: pointer;
}

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

/* Feature Icons */
.icon-bg {
    background: #FEF3C7;
    color: #F59E0B;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Brand Colors */
.brand-orange { color: #F59E0B; }
.brand-navy { color: #2C2D5A; }
.bg-brand-orange { background-color: #F59E0B; }
.bg-brand-navy { background-color: #2C2D5A; }

/* Header */
header {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .nav-links {
    display: flex;
    gap: 1rem;
}

header .nav-links a {
    padding: 0.5rem 1.25rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

header .nav-links a.login {
    color: #4b5563;
    border: 1px solid #d1d5db;
}

header .nav-links a.login:hover {
    border-color: #9ca3af;
}

header .nav-links a.get-started {
    background: #F59E0B;
    color: white;
}

header .nav-links a.get-started:hover {
    background: #D97706;
}

/* Primary Navigation Menu */
header .menu-container {
    display: flex;
    align-items: center;
}

header .primary-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

header .primary-menu li {
    margin: 0;
}

header .primary-menu a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

header .primary-menu a:hover {
    color: #F59E0B;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    z-index: 1001;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    width: 1.75rem;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 0.1875rem;
    background-color: #2C2D5A;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1000;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-primary-menu li {
    margin: 0;
}

.mobile-primary-menu a {
    display: block;
    padding: 1rem;
    color: #2C2D5A;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-primary-menu a:hover {
    background: #f9fafb;
    color: #F59E0B;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.mobile-nav-links a {
    display: block;
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

.mobile-nav-links a.login {
    color: #4b5563;
    border: 1px solid #d1d5db;
}

.mobile-nav-links a.login:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.mobile-nav-links a.get-started {
    background: #F59E0B;
    color: white;
}

.mobile-nav-links a.get-started:hover {
    background: #D97706;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fed7aa;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

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

/* Features Section */
.features-section {
    padding: 5rem 1.5rem;
    background: #f9fafb;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2C2D5A;
}

.features-header p {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 42rem;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2C2D5A;
}

.feature-card p {
    color: #4b5563;
    line-height: 1.75;
}

/* CTA Section */
.cta-section {
    padding: 5rem 1.5rem;
    background: #2C2D5A;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #bfdbfe;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

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

/* Footer */
footer {
    padding: 3rem 1.5rem;
    background: #111827;
    color: white;
}

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

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

/* Responsive Design */
@media (min-width: 769px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Desktop menu visible, mobile hidden */
    .desktop-menu {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Hide desktop menu */
    .desktop-menu {
        display: none;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    /* Adjust header */
    header {
        padding: 0.75rem 0;
    }

    header nav {
        padding: 0;
    }

    /* Hero section adjustments */
    .hero-section {
        padding: 3rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    /* Features section */
    .features-section {
        padding: 3rem 1.5rem;
    }

    .features-header {
        margin-bottom: 2rem;
    }

    .features-header h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .features-header p {
        font-size: 1rem;
    }

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

    /* CTA section */
    .cta-section {
        padding: 3rem 1.5rem;
    }

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

    .cta-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Buttons */
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a,
    .cta-buttons a {
        width: 100%;
        text-align: center;
    }

    /* Footer */
    footer {
        padding: 2rem 1.5rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }
}

/* Elementor full-width templates helpers */
.elementor-full-width .elementor-section .elementor-container,
body.elementor-blank .elementor-section .elementor-container {
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
}

/* Ensure stretched sections can span edge-to-edge */
.elementor-full-width .elementor-section.elementor-section-stretched,
body.elementor-blank .elementor-section.elementor-section-stretched {
    left: 0 !important;
    width: 100% !important;
}

@media (min-width: 1024px) {
	#menu-footer-nav li {
		display: inline-block;
		margin: 1em;
	}
}