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

:root {
    --primary-color: #8B5A5C;
    --secondary-color: #E8A5A5;
    --dark-color: #2C2C2C;
    --light-bg: #F5F5F5;
    --text-dark: #1A1A1A;
    --text-light: #666;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 60px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    background-color: var(--text-dark);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 60px 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.5) 35px, rgba(255,255,255,.5) 70px);
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Text Content */
.text-content {
    position: relative;
    z-index: 2;
}

.watermark {
    position: absolute;
    top: -80px;
    left: -20px;
    font-size: 180px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.02);
    letter-spacing: -5px;
    z-index: -1;
    user-select: none;
    pointer-events: none;
}

.main-title {
    font-size: 85px;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}

.subtitle {
    margin-bottom: 25px;
}

.subtitle h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.subtitle-question {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.description {
    margin-bottom: 25px;
    max-width: 550px;
}

.description p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 400;
}

.social-link {
    margin-bottom: 30px;
}

.social-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-link a:hover {
    color: var(--primary-color);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.signature {
    margin-bottom: 35px;
}

.signature span {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-dark);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.btn {
    padding: 14px 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--text-light);
}

/* Image Content */
.image-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 650px;
}

.image-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

/* Profile Image Styling
   Current setup: Full height display with overflow hidden
   Alternative options you can try:
   - For full portrait view: object-fit: cover; object-position: center top;
   - For centered view: object-fit: contain; align-items: center; (in .image-container)
   - For artistic crop: object-fit: cover; object-position: center center;
*/
.profile-image {
    width: auto;
    height: 100%;
    max-height: 650px;
    object-fit: cover;
    object-position: center bottom;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.5s ease;
}

.dots-navigation {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--text-dark);
    transform: scale(1.2);
}

.dot.active::after {
    width: 150%;
    height: 150%;
    border-color: var(--text-dark);
    opacity: 0.3;
}

.dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

.dot:hover::after {
    width: 150%;
    height: 150%;
    border-color: var(--primary-color);
    opacity: 0.5;
}

.branding {
    position: absolute;
    bottom: 40px;
    right: 40px;
    text-align: right;
    z-index: 3;
}

.branding h3 {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 5px;
}

.branding h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 1px;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }

    .main-title {
        font-size: 70px;
    }

    .watermark {
        font-size: 150px;
    }
}

@media (max-width: 968px) {
    .navbar {
        padding: 20px 30px;
    }

    .nav-links {
        gap: 30px;
    }

    .hero {
        padding: 100px 30px 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .text-content {
        order: 2;
    }

    .image-content {
        order: 1;
        height: 550px;
    }

    .profile-image {
        max-height: 550px;
    }

    .main-title {
        font-size: 60px;
    }

    .watermark {
        font-size: 120px;
        top: -60px;
    }

    .branding {
        bottom: 20px;
        right: 20px;
    }

    .branding h3 {
        font-size: 24px;
    }

    .branding h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 12px;
        padding: 6px 15px;
    }

    .main-title {
        font-size: 50px;
    }

    .signature span {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        text-align: center;
    }

    .image-content {
        height: 450px;
    }

    .profile-image {
        max-height: 450px;
    }

    .dots-navigation {
        right: 15px;
        gap: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 15px 20px;
    }

    .hero {
        padding: 80px 20px 40px;
    }

    .main-title {
        font-size: 40px;
    }

    .watermark {
        font-size: 80px;
        top: -40px;
    }

    .description p {
        font-size: 14px;
    }

    .branding h3 {
        font-size: 18px;
    }

    .branding h2 {
        font-size: 28px;
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-number {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.highlight-item {
    text-align: center;
    padding: 25px;
    background-color: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.highlight-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.highlight-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    z-index: 2;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    z-index: 1;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

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

.project-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 90, 92, 0.3);
    z-index: 1;
    transition: background 0.3s ease;
}

.project-card:nth-child(1) .project-image::before {
    background: rgba(139, 90, 92, 0.3);
}

.project-card:nth-child(2) .project-image::before {
    background: rgba(107, 138, 140, 0.3);
}

.project-card:nth-child(3) .project-image::before {
    background: rgba(165, 124, 140, 0.3);
}

.project-card:nth-child(4) .project-image::before {
    background: rgba(122, 139, 156, 0.3);
}

.project-card:hover .project-image::before {
    background: rgba(0, 0, 0, 0.5);
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

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

.project-link {
    padding: 12px 30px;
    background-color: white;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.project-info {
    padding: 30px;
}

.project-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.project-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.project-info p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 15px;
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 500;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background-color: white;
}

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

.skills-category h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-bg);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill-item {
    width: 100%;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.skill-percent {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 1s ease;
}

.tools-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid var(--light-bg);
}

.tools-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.tool-item {
    padding: 20px;
    background-color: var(--light-bg);
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tool-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 30px;
    min-width: 40px;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-text a {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-bg);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background-color: var(--light-bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: var(--text-dark);
    color: white;
}

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

.footer-text p {
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Responsive Design for New Sections */
@media (max-width: 968px) {
    .container {
        padding: 0 30px;
    }

    .section-title {
        font-size: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        order: -1;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

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

    .skills-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

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

    .about,
    .projects,
    .skills,
    .contact {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .about-text h3 {
        font-size: 26px;
    }

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

    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

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

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .about-text h3 {
        font-size: 22px;
    }

    .contact-info h3 {
        font-size: 26px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
