/* Tenstones - Branding and Design Agency Website Styles */

/* Base Styles and Variables */
:root {
    /* Color Palette */
    --beige: #F5EFE7;
    --beige-dark: #EFE8E1;
    --salmon: #D6A28C;
    --salmon-dark: #B57560;
    --graphite: #2C2C2C;
    --graphite-light: #3B3B3B;
    --white: #FFFFFF;
    
    /* Typography */
    --serif-font: 'Editorial New', 'GT Super', 'Tiempos', 'Playfair Display', serif;
    --sans-font: 'Suisse', 'GT America', 'Inter', 'Lato', sans-serif;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans-font);
    font-weight: 400;
    line-height: 1.6;
    color: var(--graphite);
    background-color: var(--beige);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif-font);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--graphite);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--salmon-dark);
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--salmon);
    margin: 1rem auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 2px;
    font-family: var(--sans-font);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--salmon);
    color: var(--white);
    border: 1px solid var(--salmon);
}

.primary-btn:hover {
    background-color: var(--salmon-dark);
    border-color: var(--salmon-dark);
    color: var(--white);
}

.secondary-btn {
    background-color: transparent;
    color: var(--graphite);
    border: 1px solid var(--graphite);
}

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

.outline-btn {
    background-color: transparent;
    color: var(--salmon);
    border: 1px solid var(--salmon);
}

.outline-btn:hover {
    background-color: var(--salmon);
    color: var(--white);
}

.small-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

.center-btn {
    text-align: center;
    margin-top: 2rem;
}

/* Header & Navigation */
header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(245, 239, 231, 0.95);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

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

.logo a {
    font-family: var(--serif-font);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--graphite);
    display: block;
}

.logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2.5rem;
}

.nav-menu a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

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

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    color: var(--graphite);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 239, 231, 0.8);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--graphite);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--graphite);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Services Section */
.features {
    padding: 6rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--salmon);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Additional Services Section */
.additional-services {
    padding: 6rem 0;
    background-color: var(--beige-dark);
    padding-top: 3rem;
}

.additional-services .features-grid {
    row-gap: 2rem;
}

/* About Preview Section */
.about-preview {
    padding: 6rem 0;
    background-color: var(--beige);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-title:after {
    margin-left: 0;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image:before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--salmon);
    z-index: -1;
}

/* Portfolio Preview Section */
.portfolio-preview {
    padding: 6rem 0;
    background-color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 300px;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 44, 44, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    color: var(--white);
    text-align: center;
}

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

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

.portfolio-overlay h3 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.portfolio-overlay p {
    margin-bottom: 0;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--beige);
}

.testimonial-item {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background-color: var(--white);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-info {
    text-align: center;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    color: var(--salmon);
    font-weight: 600;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Call to Action Section */
.cta-section {
    padding: 5rem 0;
    background-color: var(--salmon);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-section .primary-btn {
    background-color: var(--white);
    color: var(--salmon);
    border-color: var(--white);
}

.cta-section .primary-btn:hover {
    background-color: transparent;
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--graphite);
    color: var(--white);
    padding: 4rem 0 0;
}

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

.footer-column h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--salmon);
}

.footer-column p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
    margin-right: 10px;
}

.social-icons a:hover {
    background-color: var(--salmon);
    transform: translateY(-3px);
}

.social-icons .fa-whatsapp {
    font-size: 1.2rem;
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--salmon);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.contact-info li i {
    margin-top: 5px;
    color: var(--salmon);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 80px;
    }
}

@media (max-width: 576px) {
    .section-title {
        margin-bottom: 2rem;
    }
    
    .features-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .features,
    .about-preview,
    .portfolio-preview,
    .testimonials {
        padding: 4rem 0;
    }
}
