/*
Theme Name: Ajaz Faisal Couture
Theme URI: https://ajazfaisal.com
Author: Antigravity Agent
Author URI: https://antigravity.ai
Description: Custom minimalist luxury theme for Ajaz Faisal. Features a custom portfolio post type, hero slider, and WhatsApp integration.
Version: 1.1
Text Domain: ajaz-faisal
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Montserrat:wght@200;300;400;500&display=swap');

:root {
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-accent: #bfa37c;
    /* Subtle gold/bronze for interactions */

    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;

    --spacing-unit: 2rem;
    --container-width: 1600px;
    /* Wider for that broad couture feel */
    --header-height: 100px;
}


/* Reset & Basics */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.02em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    margin-bottom: var(--spacing-unit);
    line-height: 1.1;
    color: var(--color-black);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4s ease;
}

a:hover {
    color: var(--color-black);
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 4vw;
}

/* Typography Helpers */
.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.font-serif {
    font-family: var(--font-serif);
}

.font-sans {
    font-family: var(--font-sans);
}

/* Animation Utils */
.fade-in {
    animation: fadeIn 1.5s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: transparent;
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    border: 1px solid var(--color-white);
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-dark {
    border-color: var(--color-black);
    color: var(--color-black);
}

.btn-dark:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Header */
/* Header */
.site-header {
    background: #fff;
    width: 100%;
    z-index: 1000;
    position: sticky;
    /* Sticky Header */
    top: 0;
    border-bottom: 1px solid #f5f5f5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
}

.top-bar-container {
    background-color: #fcfcfc;
    /* Light grey top bar */
    border-bottom: 1px solid #eee;
    font-size: 0.7rem;
    height: 30px;
    /* Control Top Bar Height */
    display: flex;
    align-items: center;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4vw;
    width: 100%;
}

.main-header {
    padding: 0 4vw !important;
    /* Remove vertical padding */
    height: 80px;
    /* Control Main Header Height */
    display: flex;
    align-items: center;
}

.site-branding img {
    max-height: 60px;
    /* Adjust logo size */
    width: auto;
}

.site-title img {
    max-height: 90px;
    margin: 0 auto;
}

/* Navigation */
.main-navigation {
    margin-left: auto;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: #000;
    position: relative;
    padding-bottom: 5px;
}

.main-navigation a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.main-navigation a:hover:after {
    width: 100%;
}


/* Dropdown Menu - Refined Standard */
.menu-item-has-children {
    position: relative;
    /* Clean hover state */
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

.sub-menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    /* Align left edge with parent, or slightly offset */
    left: -20px;
    transform: translateY(10px);

    margin-top: 25px;
    /* Large visual gap */
    background: #fff;

    /* Standard Width */
    min-width: 260px;
    display: flex;
    flex-direction: column;

    padding: 20px 0;
    /* Vertical padding for the box */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--color-black);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
}

/* Override transform for hover state to keep centering */
.menu-item-has-children:hover .sub-menu {
    transform: translateY(0);
}

/* Invisible Bridge */
.sub-menu:before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
    display: block;
}

.sub-menu li {
    margin: 0;
    display: block;
    padding: 0 25px;
    /* Horizontal padding for items */
}

/* Separator Line */
.sub-menu li:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.sub-menu a {
    color: #555;
    font-size: 0.8rem;
}

.sub-menu a {
    color: #666;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid #f9f9f9;
    transition: all 0.2s ease;
}

.sub-menu a:last-child {
    border-bottom: none;
}

.sub-menu a:after {
    display: none;
}

.sub-menu a:hover {
    color: #000;
    padding-left: 10px;
    background: transparent;
    /* Clean look */
}

/* --- PAGE BANNER --- */
.page-banner {
    position: relative;
    width: 100%;
    height: 350px;
    /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Overlay for text readability */
}

.page-banner .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    animation: fadeInUp 1s ease;
}

.page-banner h1.page-title {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-banner .breadcrumb {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* --- ANIMATIONS & HOVER EFFECTS --- */
/* Image Hover Scale */
.wp-block-image img,
.about-image img,
.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wp-block-image:hover img,
.about-image:hover img,
.gallery-item:hover img {
    transform: scale(1.03);
}

/* Button Pulse */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 8s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    /* Zoom effect start */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    /* Zoom effect end */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 0 2rem;
}

.hero-content h2 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle p {
    font-size: 1.4rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

/* Categories Grid */
.categories-section {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    aspect-ratio: 3/4;
    /* Porterait for couture feel */
    overflow: hidden;
    cursor: pointer;
}

.category-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Text at bottom */
    padding: 3rem;
    transition: background 0.4s ease;
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.category-title {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.view-link {
    color: var(--color-white);
    width: max-content;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s 0.1s ease;
}

.category-card:hover .category-title,
.category-card:hover .view-link {
    transform: translateY(0);
    opacity: 1;
}

.category-card:hover .view-link {
    border-bottom-color: var(--color-white);
}

/* Portfolio Archive / Page */
.page-header {
    padding: 12rem 0 6rem;
    text-align: center;
    background-color: #fcfcfc;
}

.page-title {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.page-description {
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-text-light);
}

/* Footer */
.site-footer {
    background-color: #0f0f0f;
    color: #999;
    padding: 6rem 0 3rem;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.footer-logo {
    margin-bottom: 3rem;
    filter: invert(1);
    opacity: 0.7;
}

.footer-links ul {
    display: flex;
    justify-content: center;
    gap: 3rem;
    list-style: none;
    margin-bottom: 4rem;
}

.footer-links a {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
}

.footer-copyright {
    border-top: 1px solid #222;
    padding-top: 2rem;
    opacity: 0.5;
}

/* Mobile */
@media (max-width: 768px) {
    .top-bar-container {
        display: none;
        /* Simplify for mobile, or keep if user wants */
    }

    .main-header {
        padding: 1rem 0 !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        position: relative;
    }

    .site-branding {
        text-align: left;
    }

    .site-title-text {
        font-size: 1.5rem !important;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .site-header {
        position: relative;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: block !important;
        background: transparent;
        color: #000;
        border: 1px solid #ddd;
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
        text-transform: uppercase;
        cursor: pointer;
        z-index: 200;
    }

    .main-navigation {
        margin-left: 0;
    }

    .main-navigation ul#primary-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 150;
        align-items: flex-start;
    }

    .main-navigation.toggled ul#primary-menu {
        display: flex;
    }

    .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        padding: 1rem 0 0 1rem !important;
        border: none !important;
        display: none;
        /* Hidden by default in mobile list until clicked? Or just show all */
        min-width: auto;
    }

    .menu-item-has-children:hover .sub-menu {
        display: flex;
        /* Simple hover for now, or just show all */
    }

    .container {
        padding: 0 6vw;
    }
}

/* --- CONTACT PAGE STYLES --- */
.contact-page-container {
    background-color: #fff;
    padding-bottom: 4rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 5rem;
    display: none;
    /* Hide if duplicated */
}

/* Hide duplicate header on About Us page */
.about-page-container .page-header {
    display: none;
}

/* Main Card Layout: 2 Columns Side-by-Side */
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Equal columns */
    gap: 0;
    /* Seamless or gap? User showed a clean look */
    /* Let's use a gap for better separation on white bg */
    gap: 4rem;
    align-items: start;
}

/* Left Column: Info */
.contact-info-panel {
    padding: 1rem;
    /* Minimal padding */
}

.contact-info-panel h3.panel-title {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-weight: 400;
    /* Elegant light weight */
}

.contact-info-panel .panel-subtitle {
    display: none;
    /* Hide generic subtitle if preferred, or style it minimal */
}

.info-items {
    margin-top: 2rem;
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.info-item i {
    margin-top: 5px;
    /* Align icon with first line of text */
    font-size: 1rem;
}

.info-item a {
    color: #333;
}

/* Right Column: Form */
.contact-form-panel {
    /* No background, just clean inputs */
}

/* Form Styling - Couture Look */
.contact-form-panel label {
    font-size: 1rem;
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.contact-form-panel input[type="text"],
.contact-form-panel input[type="email"],
.contact-form-panel textarea,
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    /* Clean border */
    border-radius: 0;
    padding: 12px 15px;
    font-size: 1rem;
    font-family: var(--font-sans);
    margin-bottom: 1.5rem;
    transition: border-color 0.3s;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
    outline: none;
    border-color: #000;
    /* Dark highlight on focus */
}

.contact-form-panel textarea {
    height: 150px;
    resize: vertical;
}

/* Submit Button */
.contact-form-panel input[type="submit"],
.wpcf7-submit,
button[type="submit"] {
    background: transparent;
    color: #000;
    border: 1px solid #000;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.contact-form-panel input[type="submit"]:hover,
.wpcf7-submit:hover,
button[type="submit"]:hover {
    background: #000;
    color: #fff;
}

/* Map */
.map-container-full {
    margin-top: 5rem;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.map-container-full:hover {
    filter: grayscale(0%);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 3rem;
    }
}
}

transition: border-color 0.4s ease;
border-radius: 0;
/* Remove default radius */
}

.contact-form-col input:focus,
.contact-form-col textarea:focus {
    outline: none;
    border-bottom-color: #000;
}

.contact-form-col input[type="submit"] {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 1rem 3rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 2rem;
}

.contact-form-col input[type="submit"]:hover {
    background: #000;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}