/* Basic Reset and Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-4, .col-lg-5, .col-lg-6, .col-lg-12 {
    padding: 0 15px;
    flex: 1;
}

.col-lg-4 { flex: 0 0 33.333333%; }
.col-lg-5 { flex: 0 0 41.666667%; }
.col-lg-6 { flex: 0 0 50%; }
.col-lg-12 { flex: 0 0 100%; }

/* Background Colors */
.bg-dark { background-color: #000 !important; }
.bg-dark-100 { background-color: #111 !important; }
.bg-dark-200 { background-color: #222 !important; }
.bg-black { background-color: #000 !important; }

/* Text Colors */
.text-white { color: #fff !important; }
.text-gray-600 { color: #999 !important; }
.text-dark-200 { color: #333 !important; }
.text-olive { color: #aa1117 !important; }

/* Utility Classes */
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.text-center { text-align: center !important; }
.text-uppercase { text-transform: uppercase !important; }
.w-100 { width: 100% !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.p-0 { padding: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pt-4 { padding-top: 1.5rem !important; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.9);
    padding: 15px 0;
}

.header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

.mainnav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.mainnav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.mainnav a:hover {
    color: #aa1117;
}

/* Main Content */
.wrapper {
    margin-top: 80px;
}

/* Sections */
section {
    padding: 80px 0;
}

.large_font h2 {
    font-size: 8rem;
    font-weight: 900;
    opacity: 0.1;
    position: absolute;
    z-index: -1;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Icon Boxes */
.icon_box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin-bottom: 30px;
}

.icon_box h6 {
    color: #aa1117;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.icon_box img {
    width: 80px;
    height: 80px;
    margin: 20px auto;
    display: block;
}

.icon_box h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.icon_box p {
    line-height: 1.8;
}

/* About Section */
.about_image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about_text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about_text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn.olive {
    background: #aa1117;
    color: #fff;
}

.btn.olive:hover {
    background: #8a0e13;
}

.btn.gray {
    background: #666;
    color: #fff;
}

.btn.gray:hover {
    background: #555;
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-bottom: 20px;
}

.form-control::placeholder {
    color: #999;
}

.form-control:focus {
    outline: none;
    border-color: #aa1117;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: #000;
    padding: 40px 0;
}

.footer_social ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer_social a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer_social a:hover {
    color: #aa1117;
}

.copyright p {
    color: #999;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .col-lg-4, .col-lg-5, .col-lg-6 {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .large_font h2 {
        font-size: 4rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .mainnav {
        display: none;
    }
}

/* Swiper Styles */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    background: #aa1117;
}

.swiper-button-next,
.swiper-button-prev {
    color: #aa1117;
}

/* Loading Placeholder */
.loading-placeholder {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Grid Lines */
.grid_lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.grid_line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.grid_line:nth-child(1) { left: 14.28%; }
.grid_line:nth-child(2) { left: 28.57%; }
.grid_line:nth-child(3) { left: 42.86%; }
.grid_line:nth-child(4) { left: 57.14%; }
.grid_line:nth-child(5) { left: 71.43%; }
.grid_line:nth-child(6) { left: 85.71%; }
.grid_line:nth-child(7) { left: 100%; }

/* Portfolio Grid */
.portfolio-filters-content {
    margin-bottom: 40px;
}

.filters-button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.button {
    padding: 10px 25px;
    border: 2px solid #aa1117;
    background: transparent;
    color: #aa1117;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.button.is-checked,
.button:hover {
    background: #aa1117;
    color: #fff;
}

.grid {
    margin-bottom: 40px;
}

.grid-sizer,
.grid-item {
    width: calc(33.333% - 20px);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .grid-sizer,
    .grid-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .grid-sizer,
    .grid-item {
        width: 100%;
    }
}

/* Placeholder Images */
.placeholder-image {
    background: rgba(255,255,255,0.1);
    border: 2px dashed #666;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    border-radius: 10px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #aa1117;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 2rem;
    color: #fff;
    font-weight: bold;
}

.characters {
    display: inline-block;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.characters:nth-child(1) { animation-delay: 0.1s; }
.characters:nth-child(2) { animation-delay: 0.2s; }
.characters:nth-child(3) { animation-delay: 0.3s; }
.characters:nth-child(4) { animation-delay: 0.4s; }
.characters:nth-child(5) { animation-delay: 0.5s; }
.characters:nth-child(6) { animation-delay: 0.6s; }
.characters:nth-child(7) { animation-delay: 0.7s; }
.characters:nth-child(8) { animation-delay: 0.8s; }
.characters:nth-child(9) { animation-delay: 0.9s; }
.characters:nth-child(10) { animation-delay: 1.0s; }
.characters:nth-child(11) { animation-delay: 1.1s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
