﻿
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-darker: #4338ca;
    --secondary: #8b5cf6;
    --accent: #a855f7;
    --dark: #374151;
    --light: #f9fafb;
    --text: #4b5563;
    --light-text: #9ca3af;
    --white: #ffffff;
    --gray: #f3f4f6;
    --border: #e5e7eb;
    --shadow: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 12px;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-enabled: true;
    --rounded-enabled: true;
    --animations-enabled: false;
    --emanation-enabled: false;
    --menu-bg-color: rgba(99, 102, 241, 0.2);
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: var(--text);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    line-height: 1.6;
    min-height: 100vh;
    transition: all 0.3s ease;
}

    body[dir="rtl"] {
        font-family: var(--body-font), 'Tahoma', sans-serif;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--dark);
}

body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] h5,
body[dir="rtl"] h6 {
    font-family: var(--heading-font), 'Tahoma', serif;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.studio-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-darker) 100%);
    color: var(--white);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .logo i {
        font-size: 32px;
    }

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.language-switcher {
    display: flex;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.3);
}

.language-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--white);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .language-btn.active {
        background: var(--white);
        color: var(--primary-darker);
    }

.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-darker);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

    .btn-primary:hover {
        background: var(--light);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    }

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

    .btn-secondary:hover {
        background: rgba(255,255,255,0.25);
        transform: translateY(-2px);
    }

/* Main Builder Layout */
.builder-container {
    display: flex;
    height: calc(100vh - 70px);
    padding: 20px 0;
}

/* Components Panel */
.components-panel {
    width: 300px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-right: 20px;
    overflow-y: auto;
}

body[dir="rtl"] .components-panel {
    margin-right: 0;
    margin-left: 20px;
}

.panel-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

    .panel-title i {
        font-size: 22px;
    }

.components-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.component-item {
    padding: 16px;
    background: var(--gray);
    border-radius: var(--radius);
    cursor: move;
    transition: all 0.3s ease;
    border: 2px dashed var(--light-text);
    display: flex;
    align-items: center;
    gap: 12px;
}

    .component-item:hover {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
    }

    .component-item i {
        font-size: 20px;
        width: 24px;
        text-align: center;
    }

/* Workspace */
.workspace {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--gray);
}

.workspace-container {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-height: 100%;
    position: relative;
    padding: 20px;
}

.section-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: var(--light-text);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
}

    .section-placeholder i {
        font-size: 48px;
        margin-bottom: 15px;
        color: var(--primary);
    }

    .section-placeholder h3 {
        margin-bottom: 10px;
    }

/* Section Styles */
.section {
    margin-bottom: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

    .section.animation-enabled {
        animation: fadeInUp 0.6s ease-out;
    }

    .section.emanation-enabled::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
        z-index: -1;
        border-radius: calc(var(--radius) + 10px);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section.dragging {
    opacity: 0.5;
}

.section.drop-zone {
    border: 2px dashed var(--primary);
}

.section-header {
    background: var(--gray);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-actions {
    display: flex;
    gap: 10px;
}

.section-action {
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .section-action:hover {
        background: var(--primary);
        color: var(--white);
    }

.section-content {
    padding: 20px;
}


/* FIXED: Menu/Navigation Section - NOT fixed position in workspace */
.menu-section {
    background: var(--menu-bg-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    position: relative; /* Changed from fixed - for workspace only */
}


.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

body[dir="rtl"] .menu-container {
    flex-direction: row-reverse;
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray);
    cursor: pointer;
}

    .logo-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.menu-nav {
    display: flex;
    gap: 30px;
}

body[dir="rtl"] .menu-nav {
    flex-direction: row-reverse;
}

.menu-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: var(--radius);
    cursor: pointer;
}

    .menu-nav a:hover, .menu-nav a.active {
        color: var(--white);
        background: rgba(255,255,255,0.2);
    }

/* Image Component */
.image-component {
    text-align: center;
    margin: 20px 0;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: var(--gray);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .image-placeholder:hover {
        border-color: var(--primary);
        background: rgba(99, 102, 241, 0.05);
    }

    .image-placeholder i {
        font-size: 48px;
        margin-bottom: 15px;
    }

.image-upload-btn {
    margin-top: 15px;
}

/* Button Component */
.button-component {
    text-align: center;
    margin: 20px 0;
    padding: 30px;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.custom-btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-style-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-style-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-style-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

/* Hero Section */
.hero-section {
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

    .hero-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-background::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(55, 65, 81, 0.2), rgba(55, 65, 81, 0.4));
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-section h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about-section {
    display: flex;
    gap: 40px;
    align-items: center;
}

body[dir="rtl"] .about-section {
    flex-direction: row-reverse;
}

.about-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

    .about-image img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

.image-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.about-image:hover .image-upload-overlay {
    opacity: 1;
}

.image-upload-overlay i {
    color: white;
    font-size: 24px;
}

.about-content {
    flex: 1;
}

    .about-content h2 {
        margin-bottom: 15px;
        font-size: 32px;
    }

    .about-content p {
        margin-bottom: 20px;
        color: var(--light-text);
    }

/* Content Block Section */
.content-block-section {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

body[dir="rtl"] .content-block-section {
    flex-direction: row-reverse;
}

.content-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
}

    .content-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.content-text {
    flex: 1;
    padding: 20px;
    background: var(--gray);
    border-radius: var(--radius);
}

    .content-text h3 {
        margin-bottom: 15px;
    }

    .content-text p {
        color: var(--light-text);
        margin-bottom: 15px;
    }

/* Gallery Section */
.gallery-section {
    padding: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 24px;
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-info {
    transform: translateY(0);
}

.gallery-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-item-description {
    font-size: 14px;
    opacity: 0.8;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--gray);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow);
    }

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--primary), var(--primary-darker));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .service-icon i {
        font-size: 28px;
        color: var(--white);
    }

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: var(--light-text);
    font-size: 14px;
}

/* Members Section */
.members-section {
    padding: 60px 0;
    text-align: center;
}

.members-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.member-card {
    width: 280px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .member-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .member-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.member-card:hover .member-image img {
    transform: scale(1.1);
}

.member-image .circle-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
}

    .member-image .circle-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.member-info {
    padding: 25px;
}

    .member-info h3 {
        margin-bottom: 8px;
        font-size: 20px;
    }

.member-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
}

.member-bio {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

    .member-social a {
        width: 36px;
        height: 36px;
        background: var(--gray);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text);
        transition: all 0.3s ease;
        text-decoration: none;
        position: relative;
    }

        .member-social a:hover {
            background: var(--primary);
            color: var(--white);
            transform: translateY(-3px);
        }

.social-edit {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.member-social a:hover .social-edit {
    opacity: 1;
}

.add-member-btn {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Pricing Section */
.pricing-section {
    padding: 60px 0;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .pricing-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

    .pricing-card.popular {
        border: 2px solid var(--primary);
        transform: scale(1.05);
    }

        .pricing-card.popular:hover {
            transform: scale(1.05) translateY(-10px);
        }

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-name {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.pricing-period {
    color: var(--light-text);
    font-size: 16px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

    .pricing-features li {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .pricing-features li:last-child {
            border-bottom: none;
        }

        .pricing-features li i {
            color: var(--success);
            font-size: 18px;
        }

        .pricing-features li.disabled {
            color: var(--light-text);
        }

            .pricing-features li.disabled i {
                color: var(--light-text);
            }

/* Contact Section */
.contact-section {
    display: flex;
    gap: 40px;
}

body[dir="rtl"] .contact-section {
    flex-direction: row-reverse;
}

.contact-info {
    flex: 1;
}

    .contact-info h2 {
        margin-bottom: 20px;
    }

    .contact-info p {
        margin-bottom: 30px;
        color: var(--light-text);
    }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
}

body[dir="rtl"] .contact-detail {
    flex-direction: row-reverse;
}

.contact-detail i {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--body-font);
    transition: all 0.3s ease;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary);
    }

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Footer Section */
.footer-section {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
}

    .footer-column h3 {
        color: var(--white);
        margin-bottom: 20px;
        font-size: 18px;
    }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--primary);
        }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.1);
        color: var(--white);
        border-radius: 50%;
        transition: all 0.3s ease;
        position: relative;
        text-decoration: none;
    }

        .social-links a:hover {
            background: var(--primary);
            color: var(--white);
            transform: translateY(-3px);
        }

        .social-links a .social-edit {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--primary);
            color: white;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .social-links a:hover .social-edit {
            opacity: 1;
        }

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    text-align: center;
}

/* Properties Panel */
.properties-panel {
    width: 300px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-left: 20px;
    overflow-y: auto;
}

body[dir="rtl"] .properties-panel {
    margin-left: 0;
    margin-right: 20px;
}

.property-group {
    margin-bottom: 25px;
}

.property-title {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
}

    .property-title i {
        color: var(--primary);
    }

.property-item {
    margin-bottom: 18px;
}

    .property-item label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 500;
    }

.color-palette {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.color-option {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

    .color-option.active {
        border-color: var(--dark);
        transform: scale(1.1);
    }

.font-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.font-option {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .font-option.active {
        border-color: var(--primary);
        background: rgba(99, 102, 241, 0.05);
    }

    .font-option:hover {
        border-color: var(--primary);
    }

/* Effect Controls */
.effect-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.effect-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--gray);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .effect-toggle:hover {
        background: var(--border);
    }

    .effect-toggle.active {
        background: rgba(99, 102, 241, 0.1);
        border: 1px solid var(--primary);
    }

.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background: var(--light-text);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .toggle-switch::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        background: white;
        border-radius: 50%;
        top: 2px;
        left: 2px;
        transition: all 0.3s ease;
    }

.effect-toggle.active .toggle-switch {
    background: var(--primary);
}

    .effect-toggle.active .toggle-switch::after {
        left: 28px;
    }

/* Image Upload Styles */
.image-preview {
    width: 100%;
    max-height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 15px;
}

    .image-preview img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h2 {
        margin: 0;
    }

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--light-text);
    transition: all 0.3s ease;
}

    .close-modal:hover {
        color: var(--danger);
    }

.modal-body {
    padding: 25px;
}

.preview-container {
    width: 100%;
    height: 70vh;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: auto;
    background: var(--white);
}

.save-options {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.save-option {
    flex: 1;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .save-option:hover {
        border-color: var(--primary);
        background: rgba(99, 102, 241, 0.05);
    }

    .save-option i {
        font-size: 36px;
        margin-bottom: 15px;
        color: var(--primary);
    }

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lightbox-content img {
        max-width: 100%;
        max-height: 100%;
        border-radius: var(--radius);
        object-fit: contain;
    }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    margin-left: auto;
    z-index: 1001;
    position: relative;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

    .scroll-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .scroll-to-top:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
    }

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid, .gallery-grid, .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-block-section {
        flex-direction: column;
    }

    .builder-container {
        flex-direction: column;
        height: auto;
    }

    .components-panel, .properties-panel {
        width: 100%;
        margin: 0 0 20px 0;
    }
}

@media (max-width: 992px) {
    .about-section, .contact-section {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .menu-container {
        flex-direction: column;
        gap: 20px;
    }

    .menu-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .services-grid, .gallery-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .save-options {
        flex-direction: column;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .menu-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--menu-bg-color);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 20px;
        backdrop-filter: blur(10px);
        z-index: 1000;
    }

        .menu-nav.active {
            display: flex;
        }

        .menu-nav a.active {
            color: var(--white);
            background: rgba(255,255,255,0.3);
            font-weight: 600;
        }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-section p {
        font-size: 18px;
    }

    .members-container {
        gap: 20px;
    }

    .member-card {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .member-card {
        width: 100%;
    }

    .pricing-card.popular {
        transform: none;
    }

        .pricing-card.popular:hover {
            transform: translateY(-10px);
        }
}
/* Social URL Input Styles - Add this to your CSS */
.social-url-input {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 8px 12px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 10;
    width: 200px;
    border: 1px solid var(--border);
}

    .social-url-input input {
        width: 100%;
        padding: 6px 10px;
        border: 1px solid var(--border);
        border-radius: 4px;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .social-url-input button {
        padding: 4px 8px;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 12px;
        width: 100%;
    }


