 :root {
     --primary-color: rgb(145, 35, 145);
     --secondary-color: #f5f5f5;
     --text-color: #333;
     --accent: #a8597e;
 }

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

 body {
     font-family: 'Outfit', sans-serif;
     background-color: #fff;
     color: var(--text-color);
 }

 header {
     background-color: #fff;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     padding: 1rem 2rem;
     position: fixed;
     width: 100%;
     top: 0;
     z-index: 1000;-
 }

 nav {
     display: flex;
     justify-content: space-between;
     align-items: center;
     max-width: 1200px;
     margin: 0 auto;
 }

 p {
     padding: 10px;
     letter-spacing: 1px;
 }

 .logo {
     font-size: 1.5rem;
     font-weight: 700;
     color: var(--primary-color);
 }

 .nav-links {
     display: flex;
     gap: 1.5rem;
 }

 .nav-links a {
     text-decoration: none;
     color: var(--text-color);
     font-weight: 500;
     transition: color 0.3s ease;
 }

 .nav-links a:hover {
     color: var(--primary-color);
 }

 .menu-btn {
     display: none;
     font-size: 2rem;
     cursor: pointer;
 }

 .side-menu {
     position: fixed;
     top: 0;
     left: -260px;
     width: 250px;
     height: 100%;
     background: #fff;
     box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
     transition: left 0.3s ease;
     padding: 2rem;
     z-index: 1100;
     bottom: 0;
     top: 0;
 }

 .side-menu.open {
     left: 0;
 }

 .side-menu .menu-btn {
     font-size: 2rem;
     margin-bottom: 2rem;
 }

 

 .side-menu a {
     display: block;
     margin-bottom: 1.5rem;
     color: var(--text-color);
     text-decoration: none;
     font-weight: 600;
 }



 .hero {
     background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('./images/capture.png') center/cover no-repeat;
     height: 100vh;
     display: flex;
     justify-content: center;
     align-items: center;
     text-align: center;
     color: #fff;
     width: 100%;
 }

 .hero h1 {
     font-size: 2.5rem;
     max-width: 95%;
     color: rgb(20, 17, 17);
 }

 span {
     color: purple;
 }

 .span {
     color: red;
 }

 .span2 {
     color: orange;
 }

 .mainLogo {
     letter-spacing: 2px;
     color: #1c1c1c;
 }

 section {
     max-width: 1200px;
     margin: 0 auto;
     padding: 5rem 1rem;
 }

 .about h2,
 .contact h2 {
     text-align: center;
     font-size: 2.2rem;
     margin-bottom: 2rem;
 }

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

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

 .watch {
     background: var(--secondary-color);
     padding: 1.5rem;
     border-radius: 10px;
     text-align: center;
     transition: transform 0.3s ease;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 }

 .watch:hover {
     transform: translateY(-5px);
 }

 .watch img {
     max-width: 180px;
     margin-bottom: 1rem;
 }

 .watch h3 {
     margin: 0.5rem 0;
 }

 .price {
     font-weight: 700;
     color: var(--primary-color);
 }

 .rating {
     color: #ffcc00;
     font-size: 1.1rem;
 }

 .contact form {
     max-width: 600px;
     margin: 0 auto;
     background: #f9f9f9;
     padding: 2rem;
     border-radius: 10px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 }

 .contact input,
 .contact textarea {
     width: 100%;
     padding: 0.9rem;
     margin-bottom: 1rem;
     border: 1px solid #ccc;
     border-radius: 5px;
     font-size: 1rem;
 }

 .contact button {
     width: 100%;
     background: var(--primary-color);
     color: white;
     padding: 0.9rem;
     font-size: 1rem;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     transition: background 0.3s ease;
 }

 .contact button:hover {
     background: var(--accent);
 }

 .toast {
     position: fixed;
     top: 20px;
     right: -300px;
     color: white;
     padding: 1rem 2rem;
     border-radius: 5px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
     z-index: 9999;
     transition: right 0.5s ease;
 }

 .toast.show {
     right: 20px;
 }


 .toast.success {
     background-color: #28a745;
 }

 .toast.error {
     background-color: #dc3545;
 }

#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--primary-color, #007bff); 
    color: #fff;
    border: none;
    padding: 15px 18px;
    font-size: 1.6rem; 
    border-radius: 50%; 
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease; 
    z-index: 1000; 
}

#backToTop:hover {
    background: var(--secondary-color, #0056b3);
    transform: translateY(-3px);
    color:black;
}

 footer {
     background: #1c1c1c;
     color: #ccc;
     padding: 4rem 1rem;
     margin-top: 3rem;
 }

 .footer-grid {
     max-width: 1200px;
     margin: auto;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 2rem;
 }

 .footer-column h4 {
     margin-bottom: 1rem;
     color: #fff;
 }

 .footer-column a {
     display: block;
     color: #ccc;
     margin-bottom: 0.6rem;
     text-decoration: none;
     font-size: 0.95rem;
 }

 .footer-column a:hover {
     color: var(--primary-color);
 }

 .social-icons a {
     margin-right: 10px;
     font-size: 1.2rem;

 }

 .social-icons a:hover {
     color: #fff;
 }

 .newsletter input[type="email"] {
     width: 100%;
     padding: 0.6rem;
     margin-top: 0.5rem;
     border: none;
     border-radius: 5px;
 }

 .newsletter button {
     margin-top: 0.5rem;
     background: var(--primary-color);
     color: white;
     border: none;
     padding: 0.6rem;
     width: 100%;
     border-radius: 5px;
     cursor: pointer;
 }

 .footer-bottom {
     text-align: center;
     margin-top: 2rem;
     font-size: 0.9rem;
     color: #888;
 }

 .fade-section {
     opacity: 0;
     transform: translateY(30px);
     transition: opacity 1s ease, transform 1s ease;
     will-change: opacity, transform;
 }

 header.hide {
     transform: translateY(-100%);
     transition: transform 0.4s ease;
 }

 .fade-in {
     opacity: 1 !important;
     transform: translateY(0px) !important;
 }

 button:hover {
     background-color: var(--accent);
     color: #fff;
     transition: all 0.3s ease;
 }

 @media (max-width: 768px) {
     .nav-links {
         display: none;
     }

     .menu-btn {
         display: block;
     }
 }