/*
Theme Name: Guy From Chakwal
Theme URI: https://guyfromchakwal.com
Author: Muhammad Touseef (Guy From Chakwal)
Author URI: https://guyfromchakwal.com
Description: A powerful digital marketing agency WordPress theme with complete GFC Panel control system. Built by Muhammad Touseef from Chakwal, Pakistan.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guyfromchakwal
Tags: custom-logo, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout, theme-options, portfolio, gutenberg-ready

Contact: talk@guyfromchakwal.com | WhatsApp: +92 300 5470730

This theme is built by a Guy From Chakwal. 🇵🇰
*/

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #0a1628;
    background-color: #f9f7f4;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* WordPress Core Classes */
.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    margin-left: -80px;
    margin-right: -80px;
    max-width: 1280px;
}

.alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.gallery-item {
    padding: 10px;
}

/* Post Navigation */
.post-navigation {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(10, 22, 40, 0.1);
}

/* Comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
}

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

.comment-author img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.comment-content {
    padding-left: 64px;
}

/* Widgets */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(10, 22, 40, 0.08);
}

.widget li:last-child {
    border-bottom: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.pagination a {
    background: rgba(10, 22, 40, 0.05);
    color: #0a1628;
}

.pagination a:hover {
    background: #ff6b6b;
    color: white;
}

.pagination .current {
    background: #ff6b6b;
    color: white;
}

/* Blocks */
.wp-block-button__link {
    background: #ff6b6b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    transition: all 0.3s;
}

.wp-block-button__link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(10, 22, 40, 0.15);
    border-radius: 12px;
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #ff6b6b;
}

button,
input[type="submit"] {
    cursor: pointer;
    border: none;
}

/* Customizer Preview Styles */
.customize-partial-refreshing {
    opacity: 0.7;
    transition: opacity 0.3s;
}

/* Contact Form 7 Styling */
.wpcf7-form {
    font-family: 'Inter', sans-serif;
}

.wpcf7-form label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #0a1628;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 16px 20px;
    background: white;
    border: 1px solid #0a16281a;
    border-radius: 12px;
    font-size: 15px;
    color: #0a1628;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px #ff6b6b15;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #0a162850;
}

.wpcf7-form textarea {
    min-height: 140px;
    resize: vertical;
}

.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: #ff6b6b;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255,107,107,0.4);
}

.wpcf7-form .wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #d4edda;
    border-color: #16a34a;
    color: #155724;
}

.wpcf7-form .wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-form .wpcf7-response-output.wpcf7-acceptance-missing {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.wpcf7-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px;
    margin-top: -15px;
    margin-bottom: 15px;
}
