/* C:\xw\htdocs\avukat-web\css\style.css */

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* CSS Variables for Premium Theme */
:root {
    --bg-darker: #050b14;
    --bg-dark: #0a1120;
    --bg-card: #111a2e;
    --primary: #c5a880;
    --primary-light: #e2d4c0;
    --primary-dark: #a68962;
    --accent: #d4af37;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(197, 168, 128, 0.15);
    --border-light: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-light);
}

p {
    color: var(--text-muted);
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Luxury Header / Navigation */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 17, 32, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

header.site-header.scrolled {
    background: var(--bg-darker);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition);
}

header.site-header.scrolled .nav-container {
    height: 70px;
}

.logo a {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-light);
    text-transform: uppercase;
}

.logo-main span {
    color: var(--primary);
}

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

nav.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    color: var(--text-muted);
}

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

nav.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav.nav-menu a:hover::after,
nav.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary) !important;
    padding: 0.6rem 1.3rem !important;
    border-radius: 0px; /* Sharp professional edges */
    font-weight: 600 !important;
    transition: var(--transition);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary) !important;
    color: var(--bg-darker) !important;
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.4);
}

/* Hamburger Menu (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(5, 11, 20, 0.95) 0%, rgba(10, 17, 32, 0.85) 100%), 
                url('../uploads/sample_aile.jpg') no-repeat center center/cover;
    padding-top: 90px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(197, 168, 128, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: inline-block;
    border-left: 2px solid var(--primary);
    padding-left: 10px;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.hero-title span {
    color: var(--primary);
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-darker);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    box-shadow: 0 10px 25px rgba(197, 168, 128, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Sections General */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-bg-alt {
    background-color: var(--bg-darker);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* About / Intro Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-features {
    margin: 2.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 12px;
}

.feature-icon {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
}

.feature-title {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-img-container {
    position: relative;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.about-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    border-top: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
}

.about-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25px;
    height: 25px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

.about-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    filter: grayscale(20%) brightness(90%);
    transition: var(--transition);
}

.about-img-container:hover .about-image {
    filter: grayscale(0%) brightness(100%);
}

/* Services / Contents Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: var(--bg-darker);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(85%);
}

.card:hover .card-image {
    transform: scale(1.05);
    filter: brightness(100%);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-date {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-title a:hover {
    color: var(--primary);
}

.card-summary {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover {
    color: var(--primary-light);
}

/* Contact Section & Page */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-light);
}

.contact-info-content p,
.contact-info-content a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-info-content a:hover {
    color: var(--primary);
}

.contact-form {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 3rem;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background-color: rgba(5, 11, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.9rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.15);
    background-color: rgba(5, 11, 20, 0.8);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid;
    font-size: 0.95rem;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #34d399;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #f87171;
}

/* Detail Page */
.detail-header {
    padding-top: 180px;
    padding-bottom: 4rem;
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-light);
}

.detail-meta {
    display: flex;
    gap: 15px;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 1.5rem;
}

.detail-title {
    font-size: 3rem;
    line-height: 1.2;
}

.detail-body {
    padding: 5rem 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
}

.detail-main-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 3rem;
    border: 1px solid var(--border-light);
}

.detail-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.detail-text p {
    margin-bottom: 2rem;
    color: #cbd5e1;
}

/* Footer Section */
footer.site-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-light);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 1px;
    background-color: var(--primary);
}

.footer-about p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* Page Header (Subpages) */
.page-header {
    background: linear-gradient(135deg, rgba(5, 11, 20, 0.98) 0%, rgba(10, 17, 32, 0.9) 100%);
    padding: 12rem 0 6rem;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* Quick contact box in sidebar */
.sidebar-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.sidebar-box h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.8rem;
}

/* Map placeholder */
.map-container {
    width: 100%;
    height: 400px;
    border: 1px solid var(--border-light);
    margin-top: 2rem;
    overflow: hidden;
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    filter: grayscale(100%) invert(90%) contrast(90%) !important;
}

/* Responsive CSS */
@media (max-width: 1024px) {
    .about-grid, .contact-grid, .detail-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    nav.nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 999;
        border-top: 1px solid var(--border-light);
    }
    
    nav.nav-menu.open {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
