/* Global Styles */
:root {
    --primary-color: #321B15;
    --secondary-color: #ECE5D8;
    --accent-color: #D4A373;
    --text-color: #333;
    --light-text: #f8f9fa;
    --bg-color: #f8f9fa;
    --card-bg: #fff;
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}


/* Author Bar Styles */
.author-bar {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 0;
    text-align: center;
    font-size: 0.9rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.author-bar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-name {
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--accent-color);
}

.author-desc {
    max-width: 800px;
    opacity: 0.9;
    line-height: 1.4;
}

/* Adjust navbar position to account for author bar */
.navbar {
    top: 45px; /* Height of author bar */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .author-bar {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .navbar {
        top: 38px;
    }
}





.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

h1, h2, h3, h4 {
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--light-text);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

img {
    max-width: 100%;
    height: auto;
}







/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(236, 229, 216, 0.9);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.logo p {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    width: 200px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-menu li {
    margin: 0;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    color: var(--accent-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f8f9fa 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 400;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
    max-width: 500px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.hero-image {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(50, 27, 21, 0.1), rgba(50, 27, 21, 0.3));
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Changed from auto-fill to fixed 2 columns */
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(50, 27, 21, 0.8), transparent);
    color: var(--light-text);
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    margin-bottom: 5px;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.skill-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-10px);
}

.skill-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.skill-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tools {
    text-align: center;
}

.tools h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tools-list span {
    background-color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--primary-color);
}

/* SEO Service Sections */
.seo-service {
    background-color: var(--secondary-color);
}

.service-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.service-text {
    flex: 1;
}

.service-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.service-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.service-text li {
    margin-bottom: 10px;
}

.service-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #25D366;
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background-color: var(--accent-color);
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    background-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 0;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(236, 229, 216, 0.1);
    color: var(--light-text);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(236, 229, 216, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container,
    .about-content,
    .service-content,
    .contact-content {
        flex-direction: column;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 50px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }

    .about-image,
    .service-image {
        order: -1;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: var(--secondary-color);
        padding: 40px 0;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: transparent;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 10px 0 0 20px;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        transform: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }
}



/* Keyword Research Page Specific Styles */
.service-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f8f9fa 100%);
}

.service-hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.service-hero .hero-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.process-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.process-item:hover {
    transform: translateY(-10px);
}

.process-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.process-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.process-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.tool-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.tool-item:hover {
    transform: translateY(-10px);
}

.tool-item img {
    height: 50px;
    margin-bottom: 20px;
    object-fit: contain;
}

.tool-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #25D366;
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.cta-btn:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .service-hero .container {
        flex-direction: column;
    }
    
    .process-grid,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .service-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}




/* Service Hero Layout Adjustment */
.service-hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.service-hero .hero-content {
    order: 1;
    flex: 1;
}

.service-hero .hero-image {
    order: 2;
    flex: 1;
}

/* For mobile - stack image below text */
@media (max-width: 992px) {
    .service-hero .container {
        flex-direction: column;
    }
    
    .service-hero .hero-content,
    .service-hero .hero-image {
        order: initial;
    }
}

/* Icon-based Tool Items */
.tool-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}




/* Design Gallery Styles */
.gallery-hero {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f8f9fa 100%);
}

.gallery-hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.gallery-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.design-gallery {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.design-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(50, 27, 21, 0.8), transparent);
    color: var(--light-text);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .design-overlay {
    transform: translateY(0);
}

.design-overlay h3 {
    margin-bottom: 5px;
}

/* Lightbox Customization */
.lightbox .lb-image {
    border: 5px solid var(--light-text);
    border-radius: 5px;
}

.lb-data .lb-caption {
    font-size: 1.1rem;
    color: var(--light-text);
}




/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-hero h1 {
        font-size: 2.5rem;
    }
    
    .gallery-item img {
        height: 250px;
    }
}


/* Gallery Grid Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Always 2 columns */
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.design-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .design-overlay {
    transform: translateY(0);
}

.design-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

/* No media query needed since we want 2 columns everywhere */

