﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #0C1A3E;
    --accent: #095197;
    --accent-hover: #07407a;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --gray-md: #718096;
    --bg-light: #ffffff;
    --bg-gray: #f8f9fa;
    --gray-light: #f5f5f5;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --facebook: #1877F2;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

header .container {
    padding: 0 15px;
    /* Reduced padding for header to pull logo more to the left */
}

/* Top Bar */
.top-bar {
    background: #060a1a;
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 25px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    transition: var(--transition);
}

.top-bar-item:hover {
    opacity: 1;
    color: var(--accent);
}

.top-bar-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

.social-link:hover {
    background: var(--facebook);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.75rem;
    }

    .top-bar .container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .top-bar-info {
        gap: 10px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .top-bar-item {
        white-space: nowrap;
        font-size: 0.7rem;
    }

    .top-bar-item span {
        display: inline;
    }
}

@media (max-width: 480px) {
    .top-bar-info {
        gap: 8px;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }

    .top-bar-item {
        margin-bottom: 0;
        font-size: 0.6rem;
        gap: 3px;
    }

    .top-bar-item span {
        display: none;
    }
}

/* Header & Navigation */
header {
    background: var(--bg-light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--transition);
    align-items: flex-start;
    /* Ensure everything is left-aligned */
}

.logo-name {
    display: flex;
    gap: 6px;
    font-size: 1.5rem;
    /* Slightly smaller for better proportion */
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.5px;
    white-space: nowrap;
    /* Keep name on one line */
}

.name-gf {
    color: var(--primary);
}

.name-conen {
    color: var(--accent);
}

.logo-text .tagline {
    font-size: 0.65rem;
    /* Smaller tagline for better proportion */
    font-weight: 700;
    color: var(--text-gray);
    margin-top: 4px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: block;
    line-height: 1;
}

/* Accent line under the logo */
.logo-text::after {
    content: '';
    display: block;
    width: 35px;
    height: 3px;
    background: var(--accent);
    margin-top: 6px;
    border-radius: 2px;
    transition: var(--transition);
}

.logo-text:hover::after {
    width: 55px;
}

.logo-text:hover {
    transform: translateX(1px);
}

@media (max-width: 768px) {
    .logo-name {
        font-size: 1.25rem;
        gap: 4px;
    }

    .logo-text .tagline {
        font-size: 0.55rem;
        letter-spacing: 0.8px;
    }

    .nav-links {
        gap: 20px;
        /* Tighter gap on tablet */
    }
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--text-dark);
}

/* Responsive Utilities */
.responsive-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.responsive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.hero {
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Slider Background */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 26, 62, 0.85) 0%, rgba(12, 26, 62, 0.4) 100%);
}

/* Hero Content */
.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 650px;
    padding: 50px 35px;
    background: rgba(12, 26, 62, 0.85);
    backdrop-filter: blur(15px);
    border-left: 5px solid var(--accent);
    border-radius: 4px;
}

.hero-info {
    display: inline-block;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 12px 28px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--accent);
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    margin-bottom: 20px;
    color: white;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Slider Navigation Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
}

.hero-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.hero-slider-dots .dot.active {
    background: var(--accent);
    border-color: white;
    width: 32px;
    border-radius: 6px;
}

.cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons - Modern Style */
.btn {
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-block;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--accent);
    border-color: white;
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-header h2 span {
    color: var(--accent);
}

.section-header p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Service Cards - Modern Design */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Project Cards - Photo Focus */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background: white;
    border: 2px solid var(--border-light);
    padding: 12px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
    border-radius: 50px;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-img {
    height: 260px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info .category {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.project-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    background: var(--bg-gray);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.contact-info h2 {
    margin-bottom: 32px;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.contact-form {
    padding: 20px 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    font-family: inherit;
    background: white;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(9, 81, 151, 0.1);
}

/* Contact Page Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info {
    background: var(--primary);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-info h2 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: white;
    margin-bottom: 8px;
    font-size: 1rem;
}

.info-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--accent);
}

.contact-form {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Footer - Light & Clean */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: white;
    transform: translateX(4px);
}

.vca-badge {
    background: white;
    padding: 16px 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.vca-text {
    color: var(--primary);
}

.vca-text .vca-title {
    font-weight: 900;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1;
}

.vca-text .vca-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.7;
}

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

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-4px);
}

.scroll-to-top.visible {
    display: flex;
}

/* Responsive Design */
@media (max-width: 992px) {
    .responsive-flex {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .responsive-flex>div {
        flex: none !important;
        width: 100% !important;
    }

    .responsive-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Keep existing overrides for safety */
    .contact-container[style*="display: flex"] {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .contact-container[style*="display: flex"]>div {
        flex: none !important;
        width: 100% !important;
    }

    .footer-grid[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-bg {
        width: 100%;
        height: 40%;
        top: auto;
        bottom: 0;
        border-radius: 100px 100px 0 0;
    }

    .hero-content {
        max-width: 100%;
        padding: 40px 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-slider-dots {
        bottom: 20px;
    }

    .hero-slider-dots .dot {
        width: 10px;
        height: 10px;
    }

    .hero-slider-dots .dot.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-info {
        font-size: 0.75rem;
        padding: 8px 16px;
    }

    .cta-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-light);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links a {
        display: block;
        padding: 15px 10px;
    }

    .hamburger {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .cta-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .service-card,
    .contact-info {
        padding: 30px;
    }

    .hero-content {
        padding: 40px 0;
    }
}

/* Page-specific Hero (Subpages) */
.page-hero {
    position: relative;
    padding: 80px 0;
    background-color: var(--primary);
    background-image: linear-gradient(rgba(12, 26, 62, 0.8), rgba(12, 26, 62, 0.8)), url('../img/hero-page-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
}

.page-hero h1 span {
    color: var(--accent);
}

.breadcrumb {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    transition: var(--transition);
}

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

.breadcrumb span {
    margin: 0 10px;
    opacity: 0.5;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 15px;
}

@media (max-width: 768px) {
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .section-padding .footer-grid[style*="grid-template-columns: 1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 600px) {
    .contact-form div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}