/* Global Styles */
/* Font import handled by functions.php */

:root {
    --primary-color: #4527a0;
    --secondary-color: #7e57c2;
    --accent-color: #03a9f4;
    --dark-color: #121212;
    --light-color: #f5f5f5;
    --gradient-bg: linear-gradient(135deg, #4527a0 0%, #7e57c2 50%, #03a9f4 100%);
}

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

body {
    font-family: 'Tajawal', sans-serif; /* Apply default font */
    background-color: var(--dark-color);
    color: var(--light-color);
    line-height: 1.6;
}

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

/* Header Styles */
header {
    padding: 50px 0;
    text-align: center;
    background: var(--gradient-bg);
    border-radius: 0 0 30px 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    margin-bottom: 20px;
}

.domain-name {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tagline p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0;
    gap: 20px;
}

.feature-card {
    flex: 1 1 300px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Domain Highlight Section */
.domain-highlight {
    text-align: center;
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: inset 0 0 20px rgba(126, 87, 194, 0.3);
}

.domain-display {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(3, 169, 244, 0.5);
}

.arabic-part {
    color: var(--light-color);
}

.ai-part {
    color: var(--accent-color);
}

.com-part {
    color: var(--secondary-color);
    font-size: 3rem;
}

.cta-button {
    margin-top: 30px;
}

.cta-button a {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-bg);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cta-button a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(3, 169, 244, 0.4);
}

/* Use Cases Section */
.use-cases {
    margin: 60px 0;
    text-align: center;
}

.use-cases h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.use-case-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.use-case {
    flex: 1 1 200px;
    max-width: 250px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.use-case:hover {
    transform: scale(1.05);
}

.use-case i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.use-case h3 {
    font-size: 1.2rem;
    color: var(--light-color);
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 20px;
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px; /* Increased margin */
    color: var(--secondary-color);
}

/* Styles for Contact Form 7 */
.wpcf7-form p {
    margin: 0 0 25px 0; /* Ensure consistent spacing for paragraphs wrapping fields */
    padding: 0;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 10px; /* Increased spacing */
    font-size: 1.1rem;
    font-weight: 500; /* Slightly bolder */
    color: var(--light-color);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 18px; /* Slightly increased padding */
    background: rgba(0, 0, 0, 0.2); /* Darker background for better contrast */
    border: 1px solid rgba(126, 87, 194, 0.4); /* Slightly stronger border */
    border-radius: 8px;
    color: var(--light-color);
    font-family: 'Tajawal', sans-serif; /* Ensure font consistency */
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7-form textarea {
    min-height: 120px; /* Ensure textarea has enough height */
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(3, 169, 244, 0.4); /* Slightly stronger focus shadow */
}

/* Style placeholders (if user adds them in CF7 settings) */
.wpcf7-form ::placeholder {
    color: rgba(245, 245, 245, 0.6);
    opacity: 1; /* Override browser defaults */
}

.wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--gradient-bg);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem; /* Slightly larger font */
    font-weight: 700; /* Bolder font */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Tajawal', sans-serif; /* Ensure font consistency */
    margin-top: 10px; /* Add some space above the button */
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(3, 169, 244, 0.4); /* Match CTA hover */
}

/* CF7 Response Output Styling */
.wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background-color: rgba(3, 169, 244, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.wpcf7-validation-errors, .wpcf7-spam-blocked, .wpcf7-mail-sent-ng {
    background-color: rgba(255, 82, 82, 0.1);
    border: 1px solid #ff5252;
    color: #ff8a80;
}

.wpcf7 span.wpcf7-not-valid-tip {
    color: #ff8a80;
    font-size: 0.9em;
    margin-top: 5px;
}

.contact-form-notice {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 0, 0.1);
    border: 1px solid rgba(255, 255, 0, 0.3);
    border-radius: 8px;
    color: #ffffcc;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .domain-name {
        font-size: 2.5rem;
    }
    
    .tagline h1 {
        font-size: 2rem;
    }
    
    .domain-display {
        font-size: 3rem;
    }
    
    .com-part {
        font-size: 2.5rem;
    }
    
    .contact-section {
        padding: 40px 20px; /* Adjusted padding */
    }
}

@media (max-width: 480px) {
    .domain-name {
        font-size: 2rem;
    }
    
    .tagline h1 {
        font-size: 1.8rem;
    }
    
    .domain-display {
        font-size: 2.5rem;
    }
    
    .com-part {
        font-size: 2rem;
    }
    
    .feature-card,
    .use-case {
        padding: 20px;
    }
    .contact-section {
        padding: 30px 15px; /* Adjusted padding */
    }
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form textarea {
        padding: 12px 15px; /* Adjust padding for smaller screens */
    }
    .wpcf7-form input[type="submit"] {
        font-size: 1.1rem;
    }
}

/* Animation Effects */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.domain-display {
    animation: pulse 3s infinite;
}

/* WordPress Specific Styles */
.admin-bar .container header {
    /* Adjust header padding if admin bar overlaps */
    /* padding-top: 82px; */ /* Example: 50px + 32px admin bar */
}

