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

body {
    font-family: 'Raleway', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

/* Layout */
#boxed-wrapper {
    max-width: 100%;
    overflow-x: hidden;
}

#wrapper.fusion-wrapper {
    width: 100%;
    position: relative;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20000;
    background-color: #ffffff;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
}

.header-container {
    padding: 0 6%;
}

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

.logo h1 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: #333333;
    text-transform: uppercase;
}

.header-spacer {
    height: 130px;
}

/* Navigation */
.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 50px;
    align-items: center;
}

.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-link:hover,
.nav-item.current-menu-item .nav-link {
    color: #fed03d;
}

.nav-link.contact-btn {
    background-color: #fed03d;
    color: #333333;
    padding: 12px 25px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link.contact-btn:hover {
    background-color: #333333;
    color: #ffffff;
}

/* Main Content */
main {
    margin-top: 0;
    padding: 0;
}

/* Hero Section */
.hero-section {
    background-image: url('../themes/alsolo2/assets/images/home_files/alsolo_1.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Service Boxes */
.service-section {
    background-color: #fed03d;
    padding: 50px 0 20px;
    text-align: center;
}

.service-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333333;
}

.service-button {
    display: inline-block;
    background-color: #333333;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 500;
}

.service-button:hover {
    background-color: #ffffff;
    color: #333333;
}

.flip-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 15%;
}

.flip-box-wrapper {
    flex: 1;
    min-width: 250px;
    max-width: 25%;
    perspective: 1000px;
}

.flip-box {
    position: relative;
    width: 100%;
    min-height: 259px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-box-front,
.flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.flip-box-front {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.flip-box-back {
    background-color: #f8f8f8;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.flip-box-wrapper:hover .flip-box {
    transform: rotateY(180deg);
}

.flip-box-grafix {
    font-size: 60px;
    color: #747474;
    margin-bottom: 20px;
}

.flip-box-heading {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333333;
}

.flip-box-heading-back {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333333;
}

/* Values Section */
.values-section {
    background-color: #f5f5f5;
    padding: 90px 0 70px;
}

.values-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333333;
}

.values-section .separator {
    width: 206px;
    height: 2px;
    background-color: #fed03d;
    margin: 0 auto 30px;
}

.content-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding: 0 15%;
}

.content-box-column {
    flex: 1;
    min-width: 250px;
    max-width: 25%;
    text-align: center;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.content-box-column .icon {
    font-size: 60px;
    color: #fed03d;
    margin-bottom: 20px;
}

.content-box-column h2 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333333;
}

/* Gallery Section */
.gallery-section {
    background-color: #ffffff;
    padding: 95px 0 70px;
}

.gallery-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333333;
}

.gallery-section .separator {
    width: 206px;
    height: 2px;
    background-color: #fed03d;
    margin: 0 auto 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 15%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Clients Section */
.clients-section {
    background-color: #ffffff;
    padding: 95px 0 70px;
}

.clients-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333333;
}

.clients-section .separator {
    width: 206px;
    height: 2px;
    background-color: #fed03d;
    margin: 0 auto 30px;
}

/* Footer */
.site-footer {
    background-color: rgba(51,51,51,0.87);
    color: rgba(51,51,51,0.7);
    padding: 10px 6%;
}

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

.footer-copyright p {
    margin: 0;
    font-size: 12px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #747474;
    font-size: 16px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #fed03d;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.back-to-top-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #fed03d;
    color: #333333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-top-link:hover {
    background-color: #333333;
    color: #ffffff;
}

/* Service Section */
.service-section {
    background-color: #fed03d;
    padding: 50px 0 20px;
    text-align: center;
}

.service-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333333;
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    perspective: 1000px;
}

.flip-box {
    position: relative;
    width: 100%;
    min-height: 320px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.service-card:hover .flip-box {
    transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.flip-box-front {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #f0f0f0;
}

.flip-box-back {
    background: linear-gradient(135deg, #fed03d 0%, #f4c430 100%);
    transform: rotateY(180deg);
    color: #333333;
}

.service-icon {
    font-size: 70px;
    color: #747474;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.flip-box-back .service-icon {
    color: #333333;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-title-back {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.service-description-back {
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Values Section */
.values-section {
    background-color: #f5f5f5;
    padding: 90px 0 70px;
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333333;
}

.values-section .separator {
    width: 206px;
    height: 2px;
    background-color: #fed03d;
    margin: 0 auto 30px;
}

.section-description {
    text-align: center;
    margin-bottom: 0;
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.value-icon {
    font-size: 70px;
    color: #fed03d;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.value-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-separator {
    width: 60px;
    height: 3px;
    background-color: #fed03d;
    margin: 0 auto 25px;
}

.value-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* Gallery Section */
.gallery-section {
    background-color: #ffffff;
    padding: 95px 0 70px;
}

.gallery-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333333;
}

.gallery-section .separator {
    width: 206px;
    height: 2px;
    background-color: #fed03d;
    margin: 0 auto 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact Page */
.contact-hero {
    background-image: url('../themes/alsolo2/assets/images/home_files/alsolo_1.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.contact-hero h1 {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    font-size: 60px;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-form-section {
    padding: 85px 12% 10px;
}

.contact-form-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333333;
}

.contact-form-section .separator {
    width: 206px;
    height: 2px;
    background-color: #fed03d;
    margin: 0 auto 30px;
}

.contact-form {
    max-width: 100%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fed03d;
}

.submit-btn {
    background-color: #fed03d;
    color: #333333;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #333333;
    color: #ffffff;
}

/* Projects Page */
.projects-hero {
    background-color: #fed03d;
    padding: 50px 0;
    text-align: center;
}

.projects-hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    color: #333333;
    text-transform: uppercase;
}

.project-section {
    padding: 50px 15%;
}

.project-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333333;
}

.project-section .separator {
    width: 206px;
    height: 2px;
    background-color: #fed03d;
    margin: 0 auto 30px;
}

.project-section p {
    text-align: center;
    margin-bottom: 30px;
    color: #333333;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 50px;
}

.project-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.project-gallery img:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .value-card {
        padding: 35px 25px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .service-card .flip-box {
        min-height: 300px;
    }
}

@media (max-width: 1024px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 20px;
    }
    
    .gallery-grid,
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-grid,
    .project-gallery {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .contact-hero h1 {
        font-size: 40px;
    }
    
    .projects-hero h1 {
        font-size: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card .flip-box {
        min-height: 280px;
    }
    
    .flip-box-front,
    .flip-box-back {
        padding: 30px 20px;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 0 20px;
    }
    
    .gallery-section,
    .project-section {
        padding: 50px 20px;
    }
    
    .contact-form-section {
        padding: 50px 20px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .values-section {
        padding: 60px 0 40px;
    }
    
    .values-header {
        margin-bottom: 40px;
    }
    
    .values-section h2 {
        font-size: 28px;
    }
    
    .services-section {
        padding: 40px 0;
    }
    
    .service-icon {
        font-size: 60px;
        height: 70px;
    }
    
    .service-title {
        font-size: 20px;
    }
    
    .service-title-back {
        font-size: 18px;
    }
}