@import url('https://fonts.googleapis.com/css2?family=Molengo&family=Quantico&family=Actor&family=Cabin:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #120900;
}

body {
    font-family: 'Cabin','Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family:  'Molengo','Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 300;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    font-weight: 300;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
}

h4 {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 500;
}

p {
    font-size: 1rem;
    line-height: 1.7;
}

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

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDot {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(12px);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

.slide-up:nth-child(2) {
    animation-delay: 0.1s;
}

.slide-up:nth-child(3) {
    animation-delay: 0.2s;
}

.slide-up:nth-child(4) {
    animation-delay: 0.3s;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background-color: #fffdfa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-link {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #fffdfa;
    transition: color 0.3s;
    font-family: 'Quantico';
}

#navbar.scrolled .brand-link {
    color: #120900;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: #fffdfa;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.7;
}

#navbar.scrolled .nav-link {
    color: #4b5563;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: #fffdfa;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

#navbar.scrolled .mobile-menu-btn {
    color: #120900;
}

.mobile-menu {
    display: none;
    background: #fffdfa;
    border-top: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-link {
    display: block;
    padding: 0.75rem 0;
    color: #4b5563;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: #120900;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    color: #fffdfa;
    backdrop-filter: blur(3px);
}

.hero-title {
    margin-bottom: 1.5rem;
    font-family:  'Cabin','Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 4.5em;
    letter-spacing: -0.002em;
}

.hero-text {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 50rem;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: #fffdfa;
    color: #120900;
}

.btn-primary:hover {
    background: #f3f4f6;
}

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

.btn-secondary:hover {
    background: #fffdfa;
    color: #120900;
}

.arrow {
    font-size: 1.25rem;
}

.btnarrow{
    visibility: visible;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-border {
    width: 24px;
    height: 40px;
    border: 2px solid #fffdfa;
    border-radius: 20px;
    display: flex;
    justify-content: center;
}

.scroll-dot {
    width: 6px;
    height: 12px;
    background: #fffdfa;
    border-radius: 3px;
    margin-top: 8px;
    animation: scrollDot 1.5s infinite;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #f9fafb;
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-text {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.5rem;
    color: #120900;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.about-image {
    position: relative;
    height: 500px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #fffdfa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-text {
    color: #6b7280;
    max-width: 50rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

.service-card {
    opacity: 0;
}

.service-card.visible {
    animation: slideUp 0.6s ease-out forwards;
}

.service-icon {
    width: 48px;
    height: 48px;
    color: #120900;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    margin-bottom: 0.75rem;
}

.service-text {
    color: #6b7280;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: #f9fafb;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: #fffdfa;
    color: #4b5563;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.filter-btn:hover {
    background: #f3f4f6;
}

.filter-btn.active {
    background: #120900;
    color: #fffdfa;
    clip-path: polygon(0% 0%, 95% 0, 90% 98%, 4% 100%, 11% -29%, 5% 50%);
}

.portfolio-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: #fffdfa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
    opacity: 1;
    transform: scale(1);
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.9);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.portfolio-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    height: 360px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    margin-bottom: 0.5rem;
}

.portfolio-location {
    color: #6b7280;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Blog Section */
.blog {
    padding: 6rem 0;
    background: #fffdfa;
}

.blog-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: #fffdfa;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s;
    opacity: 0;
}

.blog-card.visible {
    animation: slideUp 0.6s ease-out forwards;
}

.blog-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.blog-link {
    display: block;
    color: inherit;
}

.blog-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-category {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    background: #120900;
    color: #fffdfa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.blog-title {
    margin-bottom: 0.75rem;
}

.blog-excerpt {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-read-more {
    color: #120900;
    font-weight: 500;
    transition: opacity 0.3s;
}

.blog-card:hover .blog-read-more {
    opacity: 0.7;
}

.blog-view-all {
    text-align: center;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #fffdfa;
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

.contact-subtitle {
    margin-bottom: 2rem;
}

.contact-items {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #120900;
}

.contact-label {
    color: #6b7280;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.contact-value {
    font-weight: 500;
}

.office-hours {
    background: #f9fafb;
    padding: 2rem;
}

.office-hours-title {
    margin-bottom: 1rem;
}

.office-hours-text {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 0.5rem;
    color: #4b5563;
    font-weight: 500;
}

.form-input,
.form-textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #120900;
}

.form-textarea {
    resize: none;
}

.btn-submit {
    width: 100%;
    background: #120900;
    color: #fffdfa;
    padding: 1rem 2rem;
}

.btn-submit:hover {
    background: #1f2937;
}

.btn-submit svg {
    margin-left: 0.5rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.footer {
    background: #120900;
    color: #fffdfa;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    grid-column: span 2;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-family: 'Quantico';
}

.footer-text {
    color: #9ca3af;
    max-width: 28rem;
}

.footer-title {
    margin-bottom: 1rem;
}

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

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #fffdfa;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-link:hover {
    background: #374151;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }

    .arrow, .btnarrow{
        display: none;
    }
    
   .scroll-indicator {
        visibility: hidden;
   }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Page Styles */
.blog-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(-5deg, #d7d2cc, #94cbc2);
    text-align: center;
}

.blog-page-title {
    margin-bottom: 1rem;
    font-family:  'Molengo','Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    letter-spacing: -2.4px;
}

.blog-page-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    max-width: 40rem;
    margin: 0 auto;
}

.blog-articles {
    padding: 4rem 0;
    background: #fffdfa;
}

.blog-articles .container {
    display: grid;
    gap: 3rem;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.article-full {
    background: #fffdfa;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.article-image {
    height: 400px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 2.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.article-category {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    background: #120900;
    color: #fffdfa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
}

.article-date,
.article-author {
    font-size: 0.875rem;
    color: #6b7280;
}

.article-title {
    margin-bottom: 1.5rem;
}

.article-body {
    color: #374151;
    line-height: 1.8;
}

.article-body h3 {
    margin: 2rem 0 1rem;
    color: #111827;
}

.article-body p {
    margin-bottom: 1.5rem;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #f9fafb;
    padding: 2rem;
}

.widget-title {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #120900;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.widget-list {
    list-style: none;
}

.widget-list li {
    margin-bottom: 0.75rem;
}

.widget-link {
    color: #4b5563;
    transition: color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-link:hover {
    color: #120900;
}

.widget-link .count {
    color: #9ca3af;
    font-size: 0.875rem;
}

.widget-text {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    display: flex;
    gap: 1rem;
    transition: opacity 0.3s;
}

.recent-post:hover {
    opacity: 0.7;
}

.recent-post-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.recent-post-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.875rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: #120900;
}

.newsletter-btn {
    padding: 0.75rem;
    background: #120900;
    color: #fffdfa;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.newsletter-btn:hover {
    background: #1f2937;
}

@media (min-width: 1024px) {
    .blog-articles .container {
        grid-template-columns: 2fr 1fr;
    }
    .footer-list{
        display: flex;
        flex-direction: row;
        gap: 1em;
    }
}