/*
Theme Name: Jeel Oza Professional
Theme URI: https://jeeloza.com
Author: Custom Design
Author URI: https://jeeloza.com
Description: Professional attorney website theme - Menu order: Home, Portfolio, Services, About, Contact - Frame alignment CORRECTLY fixed
Version: 1.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jeel-oza
*/

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

:root {
    --navy: #0a1828;
    --gold: #c9a963;
    --cream: #f8f6f3;
    --gray: #4a5568;
    --light-gray: #e2e8f0;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--navy);
    background: var(--cream);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 24, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 6%;
    z-index: 1000;
}

nav .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
    text-decoration: none;
    z-index: 1001;
}

/* Hamburger Menu Button - Always Visible */
.menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu - Hidden by default, shown via hamburger */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--navy);
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-menu.active {
    right: 0;
}

.nav-menu ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0;
}

.nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
    display: block;
    padding: 1.2rem 0;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu .current-menu-item a {
    color: var(--gold);
}

/* Mobile Menu Styles - Already handled above */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 6% 4rem;
    background: linear-gradient(to right, var(--navy) 0%, #1a2e44 100%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 4.5rem;
    font-weight: 300;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text h1 strong {
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-meta {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    font-style: italic;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.btn:hover {
    background: #b89852;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 169, 99, 0.3);
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--gold);
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2e44 100%);
    padding: 10rem 6% 5rem;
    text-align: center;
}

.page-header h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 6rem 6%;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 4rem;
    margin-top: 2rem;
}

/* Services Grid */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    padding: 2.5rem;
    background: var(--cream);
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.service-card:hover {
    border-left-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.service-card li {
    padding: 0.7rem 0 0.7rem 25px;
    color: var(--gray);
    border-bottom: 1px solid var(--light-gray);
    position: relative;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.service-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link:hover {
    color: var(--navy);
}

/* Featured Work */
.featured {
    background: var(--cream);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-item {
    background: white;
    padding: 2.5rem;
    border-top: 3px solid var(--gold);
}

.featured-tag {
    display: inline-block;
    background: var(--navy);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.featured-item h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 600;
}

.featured-item p {
    color: var(--gray);
    line-height: 1.8;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    background: white;
    padding: 2.5rem;
    border-left: 3px solid var(--gold);
    transition: all 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.portfolio-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.portfolio-item h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 600;
}

.portfolio-item p {
    color: var(--gray);
    line-height: 1.8;
}

/* About Styles */
.about-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2e44 100%);
    padding: 10rem 6% 6rem;
}

.about-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-container {
    position: relative;
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--gold);
    z-index: 0;
    pointer-events: none;
}

.about-image-container img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 1;
    display: block;
}

.about-header-text {
    color: white;
}

.about-header-text h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gold);
}

.about-header-text .title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.about-header-text .firm {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.about-header-text .bio-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.background-section {
    background: white;
}

.background-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.background-content strong {
    color: var(--navy);
    font-weight: 600;
}

.credentials-section {
    background: white;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
}

.credential-card {
    background: var(--cream);
    padding: 2.5rem;
    border-left: 4px solid var(--gold);
}

.credential-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.credential-card ul {
    list-style: none;
}

.credential-card li {
    padding: 0.8rem 0;
    color: var(--gray);
    line-height: 1.8;
    border-bottom: 1px solid var(--light-gray);
}

/* Contact */
.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
}

.contact-info h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--gray);
    line-height: 1.8;
}

.contact-details a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--navy);
}

.contact-form {
    background: white;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 2rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    background: var(--cream);
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: var(--navy);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-disclaimer {
    background: #fff8e7;
    border-left: 4px solid var(--gold);
    padding: 1.5rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background-color: var(--navy);
    color: white;
    border: 2px solid var(--navy);
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.submit-button:hover {
    background-color: transparent;
    color: var(--navy);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2e44 100%);
    text-align: center;
    padding: 5rem 6%;
}

.cta h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* Footer */
footer {
    background: var(--navy);
    color: white;
    padding: 4rem 6% 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

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

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

/* Responsive */
@media (max-width: 968px) {
    .hero-container,
    .about-hero-content,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .about-header-text h1 {
        font-size: 2.5rem;
    }

    .services-grid,
    .featured-grid,
    .portfolio-grid,
    .credentials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
    
    nav {
        padding: 1rem 5%;
    }
    
    section {
        padding: 4rem 5%;
    }
}
