/*
Theme Name: SS-2025
Theme URI: 
Author: Codebrain
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ss-2025
Tags: 

/*
Theme Name: SS-2025
Description: Professional exterior design WordPress block theme for Sublime Systems
Author: codebrain
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ss-2025
*/

/* CSS Reset and Base Styles */
:root {
    --primary-color: #0f172a;
    --secondary-color: #475569;
    --accent-color: #64748b;
    --accent-light: #94a3b8;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --background-light: #f8fafc;
    --background-gradient: linear-gradient(135deg, #64748b 0%, #334155 100%);
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

:root :where(.wp-block-group) {
    margin-bottom: 0rem !important;
  }

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

html {
    scroll-behavior: smooth;
}

.admin-bar .fixed-header {
    position: fixed;
    top:45px;
    left: 0;
    right: 0;
    z-index: 1000;
}






@media (max-width: 782px) { 
    #wpadminbar {
        top: 0 !important;
        position: fixed !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
}

@media (min-width: 782px) { 
    body {
        padding-top: 60px !important;
    }

    .fixed-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .admin-bar {
        padding-top: 72px !important;
    }

    .admin-bar .fixed-header {
        position: fixed;
        top:32px !important;
        left: 0;
        right: 0;
        z-index: 1000;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
}

.portfolio-image {
    border-radius: 10px;
}



.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(shadow-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px !important;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}


.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    padding: 16px;
    margin-bottom: 20px !important;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.service-icon i {
    font-size: 32px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services CTA */
.services-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

.services-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.services-cta p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 8rem 0;
    background: var(--white);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid transparent;
    background: var(--background-light);
    color: var(--text-dark);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.filter-btn:hover:not(.active) {
    background: rgba(100, 116, 139, 0.1);
    color: var(--accent-color);
    transform: translateY(-1px);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}


.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
    max-width: 100%;
}


.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    color: var(--accent-color);
}

.contact-icon i {
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: var(--background-light);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background: var(--white);
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: rgba(28, 28, 28, 0.95);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 28, 28, 0.95);
    opacity: 1;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

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

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

.footer-logo,
.wp-block-group.footer .footer-logo,
.wp-block-group.footer .wp-block-image.footer-logo img {
    height: 40px !important;
    width: auto !important;
    max-width: 40px !important;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-logo-title {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.footer-logo-subtitle {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: -0.25rem;
}

.footer .logo-sublime {
    color: #ea5a0c;
}

.footer .logo-systems {
    color: var(--white);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

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

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    color: var(--white);
}

.social-links a:hover {
    transform: translateY(-2px);
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-light);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.modal-prev,
.modal-next {
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu,
    .wp-block-group.navbar .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(28, 28, 28, 0.98) !important;
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0.5rem;
    }

    .nav-menu.active,
    .wp-block-group.navbar .nav-menu.active {
        left: 0;
    }

    .nav-item {
        padding: 0.5rem 0;
    }

    .hamburger-menu,
    .wp-block-group.navbar .hamburger-menu {
        display: flex !important;
    }

    /* Logo responsive */
    .logo-text {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

 

    /* Sections */
    .section-title {
        font-size: 2.25rem;
    }

    .section-subtitle {
        font-size: 1.125rem;
    }

    .services {
        padding: 6rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about {
        padding: 6rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text h2 {
        text-align: center;
    }

    .contact {
        padding: 6rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery {
        padding: 6rem 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .about-image img {
        height: auto;
    }

    .gallery-filter {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-btn {
        font-size: 0.75rem;
        padding: 10px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .footer-logo-text {
        display: none;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .logo-text {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .logo-sublime,
    .logo-systems {
        font-size: 1.25rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .services {
        padding: 4rem 0;
    }

    .about {
        padding: 4rem 0;
    }

    .contact {
        padding: 4rem 0;
    }

    .gallery {
        padding: 4rem 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .gallery-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        font-size: 0.75rem;
        padding: 8px 16px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

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

    .footer-logo-text {
        display: none;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


#contact input,
#contact textarea {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 10px 15px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    background-color: #f8fafc !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 15px !important;
    width: 100% !important;
}

/* Contact Form 7 button */
#contact input[type="submit"] {
    background-color: #0f172a !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
}